Open-source universal artifact registry. Drop-in Artifactory/Nexus alternative with 40+ package formats, security scanning, WASM plugins, and edge replication.
Open-source universal artifact registry. Drop-in Artifactory/Nexus alternative with 40+ package formats, security scanning, WASM plugins, and edge replication.
An enterprise-grade, open-source artifact registry supporting 45+ package formats. Built with Rust.
Documentation | Demo | Website
…The backend follows a layered architecture with a middleware pipeline processing every request.
…45+ formats organized by ecosystem. Each has a native protocol handler that speaks the package manager's wire protocol.
| Format | Aliases | Ecosystem |
|---|---|---|
| Maven | Gradle | Java, Kotlin, Scala |
| NPM | Yarn, Bower, pnpm | JavaScript, TypeScript |
| PyPI | Poetry, Conda, JupyterLab Extensions | Python |
| NuGet | Chocolatey, PowerShell | .NET, C# |
| Cargo | Rust | |
| Go | Go modules | |
| RubyGems | Ruby | |
| Hex | Elixir, Erlang | |
| Composer | PHP | |
| Pub | Dart, Flutter | |
| CocoaPods | iOS, macOS | |
| Swift | Swift Package Manager | |
| CRAN | R | |
| SBT | Ivy | Scala, Java |
| Format | Aliases | Ecosystem |
|---|---|---|
| Docker / OCI | Podman, Buildx, ORAS, WASM OCI, Helm OCI | Container images |
| Helm | Kubernetes charts | |
| Terraform | OpenTofu | Infrastructure modules |
| Vagrant | VM boxes |
| Format | Ecosystem |
|---|---|
| RPM | RHEL, Fedora, CentOS |
| Debian | Ubuntu, Debian |
| Alpine | Alpine Linux (APK) |
| Conda | Conda channels |
| OPKG | OpenWrt, embedded Linux |
| Format | Ecosystem |
|---|---|
| Chef | Chef Supermarket |
| Puppet | Puppet Forge |
| Ansible | Ansible Galaxy |
| Format | Ecosystem |
|---|---|
| HuggingFace | Models, datasets |
| ML Model | Generic ML artifacts |
| Format | Aliases | Ecosystem |
|---|---|---|
| VS Code | Extension marketplace (VS Code, Cursor, Windsurf, Kiro) | |
| JetBrains | Plugin repository |
| Format | Ecosystem |
|---|---|
| Protobuf / BSR | Buf Schema Registry, Connect RPC |
| Format | Ecosystem |
|---|---|
| Conan | C, C++ |
| Git LFS | Large file storage |
| Bazel | Bazel modules |
| P2 | Eclipse plugins |
| Generic | Any file type |
Custom formats can be added via the WASM plugin system.
Every artifact upload is automatically scanned for known vulnerabilities.
flowchart LR
UP["Artifact
Upload"] --> HASH{"SHA-256
Dedup"}
HASH -->|New artifact| T["Trivy
FS Scanner"]
HASH -->|New artifact| G["Grype
Dependency Scanner"]
HASH -->|Already scanned| CACHE["Cached
Results"]
T --> SCORE["Vulnerability
Score A-F"]
G --> SCORE
CACHE --> SCORE
SCORE --> POL{"Policy
Engine"}
POL -->|Pass| OK["Stored"]
POL -->|Fail| Q["Quarantined"]Container-image scanning (
TRIVY_ADAPTER_URL). The basedocker-compose.ymlwiresTRIVY_URLfor the legacy trivy server (filesystem / incus rootfs scanning) only. To get first-class Trivy container-image reports, setTRIVY_ADAPTER_URL(e.g.http://scanner-adapter:8080) so the backend registers the dedicatedImageScanneragainst the in-reposcanner-adapter(Harbor Pluggable Scanner API). Without it, images are still covered by grype (registry mode) but no Trivy image report is produced. Uncomment theTRIVY_ADAPTER_URLline and thescanner-adapterservice indocker-compose.ymlto enable it.The adapter pulls images back from the registry, so it must be told an address of the backend that is reachable from the adapter container —
localhostis not, since the adapter itself listens on:8080in its own network namespace (#3169). When nothing is configured the backend now advertises its own container address automatically; setTRIVY_ADAPTER_REGISTRY_URL(or the sharedAK_GRYPE_REGISTRY_HOST) to override, e.g.http://backend:8080. The automatic derivation is skipped when the adapter's own URL is a loopback address, because that normally means the adapter shares this network namespace (cargo runnext to a local adapter, ornetwork_mode: host). It is not skipped correctly for an adapter container published on loopback (docker run -p 127.0.0.1:8081:8080 …scanner-adapter): there the backend reaches the adapter over loopback but the adapter cannot reach the backend that way, so setTRIVY_ADAPTER_REGISTRY_URLexplicitly. The backend logs which fallback it took on every scan. Give the adapter its own trivy cache volume — reusing the trivy server's root-ownedtrivy_cachefails withpermission deniedonfanal/fanal.dbbecause the adapter runs unprivileged (UID 1001).Not-applicable scanners. A scanner that does not apply to an artifact's format (e.g. the filesystem/incus/openscap scanners on a Docker image) records a
not_applicableresult — a benign terminal state, distinct fromfailed. The scan-list API folds multiplenot_applicableresults for the same artifact into a single summary row (collapsed_not_applicable_count+collapsed_scan_types) so they read as one muted "not applicable" indication rather than N failures.
Recursive peer-to-peer replication where every node is a full Artifact Keeper instance. No thin caches — each peer runs the same stack and can serve as an origin for other peers.
graph TD
P1["Peer
US-West"]
P2["Peer
EU-Central"]
P3["Peer
AP-Southeast"]
P4["Peer
US-East"]
P1 |"Chunked Transfer"| P2
P1 |"Chunked Transfer"| P4
P2 |"Chunked Transfer"| P3
P3 |"Chunked Transfer"| P4
P1 |"P2P Mesh"| P3
P2 |"P2P Mesh"| P4Extend Artifact Keeper with custom format handlers compiled to WebAssembly.
FormatHandler contractGet running in 5 minutes with Docker Compose: Quickstart Guide
artifact-keeper/
├── backend/ # Rust backend (Axum, SQLx, 6,400+ unit tests)
│ ├── src/
│ │ ├── api/ # Handlers, middleware, routes
│ │ ├── formats/ # 45+ format handler implementations
│ │ ├── services/ # Business logic (68 services)
│ │ ├── models/ # Data models (21 types)
│ │ └── storage/ # FS and S3 backends
│ └── migrations/ # 69 PostgreSQL migrations
├── edge/ # Peer replication service (Rust)
├── scripts/ # Test runners, native client tests, stress tests
└── .github/ # CI/CD workflows| Layer | Choice | Why |
|---|---|---|
| Backend language | Rust | Memory safety, performance, strong type system |
| Web framework | Axum | Tower middleware ecosystem, async-first |
| Database | PostgreSQL 16 | JSONB for metadata, mature ecosystem |
| Search | OpenSearch | Fast full-text search, easy to operate |
| Security scanning | Trivy + Grype + OpenSCAP | Complementary coverage, industry standard |
| Plugin runtime | Wasmtime | Sandboxed, portable, WIT contract system |
| Storage | Filesystem / S3 | Simple default, cloud-ready upgrade path |
Seven GitHub Actions workflows handle testing, publishing, and deployment.
…| Workflow | Trigger | What It Does |
|---|---|---|
| ci.yml | Every push/PR | Lint, unit tests, integration tests, smoke E2E (PyPI, npm, Cargo) |
| docker-publish.yml | Push to main, tags | Multi-arch Docker images (backend + OpenSCAP) to ghcr.io |
| e2e.yml | Manual or called by release | Full E2E: 10 native client formats, stress, failure injection |
| release.yml | Tags v* |
E2E gate, cross-platform binaries, GitHub Release |
| scheduled-tests.yml | Daily 2 AM UTC | Nightly smoke E2E, dependency check, security scan |
| site.yml | Push to site/** |
Build and deploy docs to GitHub Pages |
| ami-build.yml | On release published | Bake AWS AMI with Packer |
Thank you to our sponsors for supporting ongoing development of Artifact Keeper.
Ash A.
Gabriel Rodriguez
Become a sponsor to support the project and get your name listed here.
We welcome contributions! See CONTRIBUTING.md for guidelines.
Have questions or ideas? Join the conversation in GitHub Discussions.
MIT License - see LICENSE for details.
Built with Rust. "JFrog" and "Artifactory" are trademarks of JFrog Ltd. Artifact Keeper is not affiliated with or endorsed by JFrog.
No open issues yet, or sync has not completed.