Lightweight package server for NuGet, npm, Maven, PyPI, Cargo, Go and 9 more, with registry mirrors.
1.2K
A lightweight, self-hosted package server for 15 ecosystems. Each feed hosts one package format and speaks its protocol, so the standard clients work with nothing more than the feed's URL and a token, and every feed can mirror the public registry of its ecosystem.
| Languages | Package format | Clients | Mirror of |
|---|---|---|---|
| C#, F#, Visual Basic (.NET) | NuGet, with symbols (.snupkg) | dotnet CLI, NuGet CLI, Visual Studio, Rider, Paket | nuget.org, any NuGet v3 or v2 feed |
| JavaScript, TypeScript | npm | npm, Yarn, pnpm | registry.npmjs.org |
| Java, Kotlin, Scala, Groovy | Maven | Maven, Gradle, sbt | Maven Central |
| Python | PyPI (simple API) | pip, uv, Poetry, twine | PyPI |
| Rust | Cargo (sparse registry) | Cargo | crates.io |
| Go | Go modules (GOPROXY) | go command | proxy.golang.org |
| Ruby | RubyGems (compact index) | Bundler, gem | rubygems.org |
| PHP | Composer | Composer | Packagist |
| Dart, Flutter | pub | dart pub, flutter pub | pub.dev |
| Elixir, Erlang | Hex | Mix, Rebar3 | hex.pm |
| Swift, Objective-C | CocoaPods (CDN spec repository) | CocoaPods | cdn.cocoapods.org |
| Swift | Swift package registry | Swift Package Manager, Xcode | other Swift package registries |
| R | CRAN (source packages) | install.packages, renv | CRAN |
| Scala (sbt) | Ivy (sbt's Ivy layout) | sbt | the sbt plugin repository |
| Visual Studio extensions | VSIX (private extension gallery) | Visual Studio | other extension galleries |
/feeds/{slug}/, with its own packages, settings, retention, permissions, webhook and read-through mirrors (several upstreams per feed, in order).docker run -d --name pagetto -p 5000:8080 -v pagetto-data:/data \
letreset/pagetto:latest
Open http://localhost:5000 and sign in as admin with the password admin. PaGetto asks for a new password first. Then create a token under My Tokens and push a package with it. The default feed is a NuGet feed:
dotnet nuget push -s http://localhost:5000/v3/index.json -k <token> MyPackage.1.0.0.nupkg
For the other formats, create a feed of their type under Admin > Feeds and point the client at it, for example an npm feed with the slug js:
npm publish --registry http://localhost:5000/feeds/js/npm/
The feed's Connect page shows the configuration and authentication for its clients.
Change the default password right after the first start. By default the image stores packages, symbols, the SQLite database and Data Protection keys in /data. Mount a volume there to keep them.
Configure PaGetto with environment variables, using __ as the section separator. For example, to use PostgreSQL:
docker run -d -p 5000:8080 -v pagetto-data:/data \
-e Database__Type=PostgreSql \
-e Database__ConnectionString="Host=db;Database=pagetto;Username=pagetto;Password=..." \
letreset/pagetto:latest
Secrets can also be mounted as files under /run/secrets (key-per-file). User accounts, groups and Entra ID sign-in are enabled with Authentication__Mode (required: Local, Entra, Hybrid or Legacy). In Local mode PaGetto creates the administrator admin with the password admin on the first start and asks for a new password on the first sign-in; see the authentication docs and the full configuration docs.
| Tag | Meaning |
|---|---|
latest | Latest stable release |
1, 1.0 | Latest release in that major/minor line |
1.0.0 | Exact version (immutable) |
1.1.0-rc.1 | Prerelease (never tagged latest) |
Images are published for linux/amd64 and linux/arm64.
helm install pagetto oci://ghcr.io/letreset/charts/pagetto --version <version>
Content type
Image
Digest
sha256:dfad2e38d…
Size
104 MB
Last updated
about 22 hours ago
docker pull letreset/pagetto