Ensures anyone running a modified version of C3 as a network service has to share their changes back, not just users who redistribute the binary. - LICENSE: full AGPLv3 text with copyright notice filled in - Cargo.toml: license = "AGPL-3.0-only" - README: brief license section
915 B
915 B
C3 - Cached Content Conduit
My super simple CDN built for distributing my own (text) content.
Running in Docker
docker compose up -d
The runtime image is distroless (no shell, no package manager, ~24MB),
so managing packages happens via docker exec running the ccc binary
directly rather than an interactive shell:
docker compose exec ccc /usr/local/bin/ccc create demo
To add a file, it needs to exist inside the container first. Drop it in
the ./staging dir, which is bind-mounted to /staging:
cp app.js staging/
docker compose exec ccc /usr/local/bin/ccc add demo /staging/app.js 1.0.0
(Alternatively docker cp a file straight into the container if you'd
rather not use the staging mount.)
License
AGPL-3.0-only - see LICENSE. If you run a modified version of this as a network service, you must make the modified source available to its users.