No description
  • Scala 96.7%
  • Shell 2%
  • CSS 0.9%
  • Nix 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Salar Rahmanian 8c2b7a8615
List every new project on /new (#2)
The home page shows only the 10 newest projects, and about two weeks of
first releases fill them, so a project released three weeks ago was
listed nowhere a visitor could find it.

/new lists every project first released in the last 90 days (at most
500), newest first, 20 a page with the pager search results use, and
the home page's New projects heading links to it like the other lists.
2026-10-14 13:33:39 -07:00
.github/workflows Run CI on branches only, not on release tags 2026-10-11 15:20:37 -07:00
backend List every new project on /new (#2) 2026-10-14 13:33:39 -07:00
frontend/src/ui Record searches and what is done with their results 2026-10-11 09:31:43 -07:00
scripts Record searches and what is done with their results 2026-10-11 09:31:43 -07:00
seed Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
shared Let MCP's install_snippet match the build's Scala version 2026-10-11 15:20:47 -07:00
tailwind Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
.gitignore Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
.mill-version Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
.scalafix.conf Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
.scalafmt.conf Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
build.mill Set the jar's version from the release tag 2026-10-10 22:45:19 -07:00
CLAUDE.md Add a status page and let visitors report missing packages (#1) 2026-10-14 09:43:11 -07:00
CODE_OF_CONDUCT.md Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
devshell.toml Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
flake.lock Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
flake.nix Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
LICENSE Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
mill Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
NOTICE Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
package-lock.json Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
package.json Scala Packages: a search index of Scala libraries on Maven Central 2026-10-10 21:02:57 -07:00
README.md Add a status page and let visitors report missing packages (#1) 2026-10-14 09:43:11 -07:00

Scala Packages

CI Release

A search index of every Scala library on Maven Central, at https://pkg.scalanews.net, part of ScalaNews.

Search finds libraries by what they do, not just by name: "parse markdown" finds markdown parsers even when they never use those words. Results are projects with their modules, filtered by platform (JVM, Scala.js, Scala Native, sbt and Mill plugins) and Scala version, and ranked by relevance, popularity, real usage and current Scala support. Clicking a result opens install snippets for sbt, Mill and scala-cli, with versions, dependencies and security advisories from deps.dev.

There is also a JSON API (/api/v1), an Atom feed of new releases (/feed.xml) and an MCP server (/mcp) for AI assistants.

See also Scaladex, the Scala Center's official index of Scala libraries.

How it works

The package list comes from the Maven Central index, and deps.dev is polled daily for new versions in between its updates. Details come from deps.dev, project topics from GitHub, and a one-line summary of each project from an AI model. Search combines Postgres full-text search with semantic search over sentence embeddings computed locally (pgvector).

Built with Scala 3: an http4s server rendering pages with scalatags, Calico (Scala.js) islands for search-as-you-type and the package panel, skunk and PostgreSQL, Tailwind and Mill.

Development

Everything runs inside the Nix devshell (nix develop; type menu for its commands). The repository includes a small dev seed, so you can run the site without fetching anything:

nix develop
SCALAPKG_INGEST_ENABLED=false runDev   # PostgreSQL + server on http://localhost:8080
loadSeed                               # in another shell, then restart runDev
./mill __.test       # all tests
./mill __.reformat   # scalafmt
checkCI              # exactly what CI runs; make it pass before opening a PR

The database-backed tests and the search quality evaluation, which CI also runs, are enabled with environment variables. CLAUDE.md holds the detailed developer notes: architecture, configuration, conventions and how to test changes to search ranking. AI coding agents read it automatically.

Contributing

GitHub Issues are disabled to encourage direct community contribution. When you encounter bugs or documentation issues, please contribute fixes through Pull Requests instead.

How to contribute: Open a PR with your solution, draft changes, or a test reproducing the issue. We'll collaborate from there to refine and merge improvements.

This approach creates faster fixes while building a stronger, community-driven project where everyone benefits from shared contributions.

Everyone taking part is expected to follow the Code of Conduct.

License

Apache-2.0. See LICENSE and NOTICE. Package metadata from deps.dev is available under CC-BY 4.0.