HUB
Sign inSign up
pagetto logo

letreset/pagetto

By letreset

•Updated about 22 hours ago

Lightweight package server for NuGet, npm, Maven, PyPI, Cargo, Go and 9 more, with registry mirrors.

Image
Integration & delivery
Developer tools
0

1.2K

letreset/pagetto repository overview

⁠PaGetto

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.

⁠Package formats

LanguagesPackage formatClientsMirror of
C#, F#, Visual Basic (.NET)NuGet⁠, with symbols (.snupkg)dotnet CLI, NuGet CLI, Visual Studio, Rider, Paketnuget.org, any NuGet v3 or v2 feed
JavaScript, TypeScriptnpm⁠npm, Yarn, pnpmregistry.npmjs.org
Java, Kotlin, Scala, GroovyMaven⁠Maven, Gradle, sbtMaven Central
PythonPyPI⁠ (simple API)pip, uv, Poetry, twinePyPI
RustCargo⁠ (sparse registry)Cargocrates.io
GoGo modules⁠ (GOPROXY)go commandproxy.golang.org
RubyRubyGems⁠ (compact index)Bundler, gemrubygems.org
PHPComposer⁠ComposerPackagist
Dart, Flutterpub⁠dart pub, flutter pubpub.dev
Elixir, ErlangHex⁠Mix, Rebar3hex.pm
Swift, Objective-CCocoaPods⁠ (CDN spec repository)CocoaPodscdn.cocoapods.org
SwiftSwift package registry⁠Swift Package Manager, Xcodeother Swift package registries
RCRAN⁠ (source packages)install.packages, renvCRAN
Scala (sbt)Ivy⁠ (sbt's Ivy layout)sbtthe sbt plugin repository
Visual Studio extensionsVSIX⁠ (private extension gallery)Visual Studioother extension galleries

⁠Features

  • Multiple feeds: each feed serves one package format under /feeds/{slug}/, with its own packages, settings, retention, permissions, webhook and read-through mirrors (several upstreams per feed, in order).
  • Users and permissions: local accounts, Microsoft Entra ID sign-in, groups, per-feed pull/push/delete permissions, and personal access tokens (also limited to reading or to one feed) with expiry email reminders.
  • A 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 for the database; the file system, Azure Blob, AWS S3, Google Cloud Storage, Aliyun OSS or Tencent COS for storage.

⁠Quick start

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.

⁠Configuration

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⁠.

⁠Tags

TagMeaning
latestLatest stable release
1, 1.0Latest release in that major/minor line
1.0.0Exact version (immutable)
1.1.0-rc.1Prerelease (never tagged latest)

Images are published for linux/amd64 and linux/arm64.

⁠Kubernetes

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

Tag summary

Content type

Image

Digest

sha256:dfad2e38d…

Size

104 MB

Last updated

about 22 hours ago

docker pull letreset/pagetto