forked from Kieran/route96
NIP-96 / Blossom file host service
migrations | ||
src | ||
ui | ||
.dockerignore | ||
.drone.yml | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
config.prod.toml | ||
config.toml | ||
docker-compose.prod.yml | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
void-cat-rs
Image hosting service
Features
- NIP-96 Support
- Blossom Support
- Image compression to WebP (FFMPEG, NIP-96 only)
- Blurhash calculation (NIP-96 only)
- AI image labeling (ViT224)
Planned
- Torrent seed V2
Running
Docker Compose
The easiest way to run void-cat-rs
is to use docker compose
docker compose -f docker-compose.prod.yml up
Manual
Assuming you already created your config.toml
and configured the database
run:
docker run --rm -it \
-p 8000:8000 \
-v ./config.toml:/app/config.toml \
-e "RUST_LOG=info" \
voidic/void-cat-rs
Building
Feature Flags
Default = nip96
& blossom
nip96
: Enable NIP-96 supportblossom
: Enable blossom supportlabels
: Enable AI image labeling (Depends onnip96
)
Default build:
cargo build --release
Build only Blossom support
cargo build --release --no-default-features --features blossom
Build dependencies
If you want to support NIP-96 you will need the following dependencies:
libavcodec-dev libavformat-dev libswscale-dev libavutil-dev libavdevice-dev libavfilter-dev