| Crates.io | cadi-server |
| lib.rs | cadi-server |
| version | 1.1.1 |
| created_at | 2026-01-12 03:20:32.050993+00 |
| updated_at | 2026-01-12 05:54:30.732446+00 |
| description | CADI registry server for content-addressed chunk storage and retrieval |
| homepage | https://github.com/ConflictingTheories/cadi |
| repository | https://github.com/ConflictingTheories/cadi |
| max_upload_size | |
| id | 2036940 |
| size | 80,168 |
Registry server for CADI (Content-Addressed Development Interface).
The CADI server provides HTTP APIs for storing, retrieving, and managing content-addressed code chunks. It serves as the backend for CADI registries.
cargo install cadi-server
cadi-server
With custom bind address:
CADI_BIND_ADDRESS=0.0.0.0:8080 cadi-server
GET /chunks/:id - Retrieve a chunk by content hashPOST /chunks - Store a new chunkGET /chunks/:id/metadata - Get chunk metadataGET /health - Health check endpointGET /search?q=<query> - Search for chunksEnvironment variables:
| Variable | Default | Description |
|---|---|---|
CADI_BIND_ADDRESS |
0.0.0.0:8080 |
Server bind address |
CADI_STORAGE |
/data |
Storage path for chunks |
RUST_LOG |
cadi_server=info |
Log level |
docker run -p 8080:8080 -v ./data:/data cadi/registry:latest
MIT