1
0
forked from Kieran/route96
NIP-96 / Blossom file host service
Go to file
2024-09-08 16:33:22 +01:00
migrations Alt support (nip98) 2024-09-08 16:33:22 +01:00
src Alt support (nip98) 2024-09-08 16:33:22 +01:00
ui Blossom fixes 2024-08-30 22:00:33 +01:00
.dockerignore Include default config 2024-05-02 10:43:02 +01:00
.drone.yml Fix build 2024-05-10 12:58:20 +01:00
.gitignore Compress images 2024-05-10 11:54:40 +01:00
build.rs Automatic image labeling 2024-05-14 17:06:35 +01:00
Cargo.lock Feature flag nip96/blossom 2024-08-30 19:49:29 +01:00
Cargo.toml Feature flag nip96/blossom 2024-08-30 19:49:29 +01:00
config.prod.toml Add running examples 2024-05-14 11:27:54 +01:00
config.toml fix: long uploads 2024-06-18 16:01:23 +01:00
docker-compose.prod.yml Add running examples 2024-05-14 11:27:54 +01:00
docker-compose.yml Init 2024-04-29 22:00:47 +01:00
Dockerfile fix: docker build 2024-05-29 15:03:47 +01:00
README.md Update readme 2024-08-30 19:58:36 +01:00

void-cat-rs

Image hosting service

Features

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 support
  • blossom: Enable blossom support
  • labels: Enable AI image labeling (Depends on nip96)

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