百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

kellnr

> 编程语言
开源

Rust 容器的注册表

1.0K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Rust 容器的注册表

Kellnr - The private crate registry

Kellnr is an open-source Rust registry for crates. Think of crates.io but on your own hardware.

[!NOTE]
Find out more on: kellnr.io

Quickstart

The easiest way to get started is to use the Docker image. You can start kellnr with the following command:

docker run \
    -p 8000:8000 \
    -e "KELLNR_ORIGIN__HOSTNAME=localhost" ghcr.io/kellnr/kellnr:5

For more information about how to configure and run kellnr, check out the documentation.

CLI Usage

When running kellnr as a standalone binary, use the following commands:

# Show help and available commands
kellnr

# Start the server
kellnr start

# Start with custom data directory and port
kellnr start --registry-data-dir /var/lib/kellnr --local-port 8080

# Show all available run options
kellnr start --help

# Show current configuration as TOML
kellnr config show

# Create a default configuration file
kellnr config init

# Create config file at custom path
kellnr config init -o /etc/kellnr/kellnr.toml

# Use a specific configuration file
kellnr -c /path/to/kellnr.toml run

Configuration can be provided through (in order of priority):

  1. CLI arguments (highest priority)
  2. Environment variables (e.g., KELLNR_REGISTRY__DATA_DIR)
  3. Configuration file (TOML format)
  4. Default values (lowest priority)

You can find the latest binary releases here: Kellnr Binary Releases.

For the latest Docker images, check here:

  • Kellnr Docker Images
  • Kellnr Minimal Docker Images

The latest Kubernetes Helm chart can be found here: Kellnr Helm Chart

Features

  • Host crates: Kellnr can host crates. This means that you can upload your own crates to Kellnr and use them in your projects. No extra tooling required, cargo works out of the box.
  • Web UI: Kellnr comes with a web UI to manage the crates. This makes it easy to upload new crates, manage the versions and see the documentation of the crates.
  • Docs-rs support: Kellnr supports the docs.rs documentation service. This means that you can host your own documentation for your crates with Kellnr.
  • Crates.io proxy: Kellnr can act as a proxy for crates.io. This means that you can use Kellnr as a cache for crates.io to speed up the download of crates.
  • Build in Rust: Kellnr is written in Rust. This means that you can easily extend Kellnr with your own features or fix bugs. No other dependencies are needed.
  • Multi-Db support: Kellnr supports multiple databases. You can use Sqlite or PostgreSQL as the storage backend for Kellnr.
  • Local File System, S3 or GCS: Kellnr supports the local file system, S3 or Google Cloud Storage as the storage backend for the crates.
  • User and group management: Kellnr supports user and group management. This means that you can create users and groups and assign them to crates. This is useful in a corporate environment, where you want to control the access to the crates. You can create read-only users or require authentication for crate-pulls.

Differences to crates.io

  • Private: Kellnr is designed to be used in a corporate environment or home-labs. It is possible to host Kellnr on your own hardware, such that you can control the access to the crates.
  • Easy to host: Kellnr is designed to be easy to host. It is possible to run Kellnr on a single machine, without the need for a complex setup. Stand-alone, Docker and Kubernetes deployments are supported.
  • User management: Kellnr supports user management. This means that you can create users and assign them to own crates. This is useful in a corporate environment, where you want to control the access to the crates.

Why I created Kellnr

As a security engineer and researcher I fight vulnerabilities in software for a living. With Rust becoming more and more popular, I see a lot of potential in the language to write secure software. However, to adapt Rust in a corporate environment, I need to be able to control the dependencies of the software I write. This is where kellnr comes into play. I hope that kellnr can accelerate the adoption of Rust in corporate environments, by providing a secure and private registry for Rust crates. In the end, I want to make the world a little bit more secure by promoting the use of Rust.

Contribute

You are welcome to contribute to kellnr. Create an issue or a pull-request here on Github.

If you want to contribute with code, please read the contributing guide first.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcratecratesregistryrust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言