Small Rust CLI for uploading, downloading, and deleting files from your own self-hosted API.
curl -sL https://raw.githubusercontent.com/caml-cc/cc-store/refs/heads/main/scripts/install.sh -o install.sh
bash install.shcurl -sL https://raw.githubusercontent.com/caml-cc/cc-store/refs/heads/main/scripts/install.sh -o install.sh
sudo bash install.shcargo build --releaseCreate $HOME/.config/caml/cc-store/config.toml:
url = "domain.com"
key = "abc123"If the file is missing, cc-store creates a starter config with empty url and key values and tells you where it wrote it.
cc-store upload file.txt # uploads the file and returns a url
cc-store upload -k 100h file.txt # uploads the file and keeps it for 100 hours
cc-store upload --keep=100h file.txt # same as above
cc-store list # lists files using the LIST request method
cc-store get {id} # downloads a file using the id
cc-store delete {id} # deletes a file using the idcc-store get writes to stdout when redirected. If run in a terminal, it saves the file locally without overwriting existing files.
The install script automatically installs completion files for zsh, bash, and fish.
fs a self-hosted file upload API.