The registry for Rust crates
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
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:5For more information about how to configure and run kellnr, check out the documentation.
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 runConfiguration can be provided through (in order of priority):
KELLNR_REGISTRY__DATA_DIR)You can find the latest binary releases here: Kellnr Binary Releases.
For the latest Docker images, check here:
The latest Kubernetes Helm chart can be found here: Kellnr Helm Chart
cargo works out of the box.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.
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.
No open issues yet, or sync has not completed.