Skip to content
letresetPublic

About

Lightweight, self-hosted package server for NuGet, npm, Maven, PyPI, Cargo, Go, RubyGems and 8 more formats, with read-through mirrors, per-feed permissions and Entra ID sign-in

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

125 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaGetto: a lightweight, self-hosted package server

A lightweight package server written in C#: self-hosted, cross-platform and cloud ready. One server hosts the packages of 16 ecosystems, from NuGet (with a symbol server) and npm to Maven, Python, Rust and Go, each in its own feeds and with a read-through mirror of its public registry.

PaGetto started as a fork of BaGetter, a NuGet server. It has a redesigned web UI, a reworked code base and new features such as more package formats, multiple feeds, user and permission management, and Microsoft Entra ID sign-in. Coming from BaGetter? The migration guide shows how to move an existing installation over.

CI Release Docker Docs

🧩 Package formats

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.

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
VS Code extensions VS Code (extension gallery API) VSCodium, code-server, Code - OSS Open VSX

📦 Features

  • Multiple feeds: each feed serves one package format under /feeds/{slug}/, with its own packages, settings, retention, permissions, webhook and read-through mirrors.
  • Read-through mirrors: mirror the public registries, several upstreams per feed in order, so builds keep working when an upstream is down.
  • Users & permissions: Local, Entra or Hybrid authentication, groups, per-feed pull/push/delete permissions, and personal access tokens (also limited to reading or to one feed) with expiry email reminders.
  • Web UI to browse every feed, with readmes and install commands per client, and admin pages for feeds, accounts and groups.
  • Operations: retention per feed, webhooks, an audit log, health checks and OpenTelemetry metrics.
  • Pluggable backends: SQLite, SQL Server, PostgreSQL or MySQL; the file system, Azure Blob, AWS S3, Google Cloud Storage, Aliyun OSS or Tencent COS.
  • Runs anywhere: Windows, Linux and macOS, x64 and ARM64, Docker, Kubernetes (Helm) or IIS.

🚀 Getting started

Docker

docker run -d -p 5000:8080 -v pagetto-data:/data letreset/pagetto:latest

Then browse to http://localhost:5000/ and sign in as admin with the password admin; PaGetto asks for a new password first. Create a feed for each package format you use under Admin > Feeds, and a token under My Tokens for your clients.

Kubernetes

helm install pagetto oci://ghcr.io/letreset/charts/pagetto --version <version>

.NET / IIS

  1. Install the ASP.NET Core 10 runtime (for IIS, the hosting bundle).
  2. Download and extract pagetto-<version>.zip from the latest release.
  3. Run dotnet PaGetto.dll, or point an IIS site at the extracted folder.

See the documentation for connecting each client, configuration, authentication and cloud deployments.

🛠️ Development

dotnet build
dotnet test
dotnet run --project src/PaGetto

Releases are cut by pushing a vX.Y.Z tag on main. Each release publishes the zip, the Docker image and the Helm chart, with a generated changelog. The roadmap is tracked in GitHub issues.

📄 License

MIT.

About

Lightweight, self-hosted package server for NuGet, npm, Maven, PyPI, Cargo, Go, RubyGems and 8 more formats, with read-through mirrors, per-feed permissions and Entra ID sign-in

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages