route96/README.md
kieran 5453205a58
All checks were successful
continuous-integration/drone/push Build is passing
refactor: make media compression optional for blossom
2024-10-15 11:14:07 +01:00

1.7 KiB

route96

Image hosting service

Features

Planned

  • Torrent seed V2
  • Payment system

Running

Docker Compose

The easiest way to run route96 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/route96

Building

Feature Flags

Default = nip96 & blossom & analytics

  • nip96: Enable NIP-96 support
  • blossom: Enable blossom support
  • labels: Enable AI image labeling (Depends on nip96)
  • analytics: Enable pageview analytics reporting (Plausible)

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