2024-09-22 14:26:23 +01:00
|
|
|
# route96
|
2024-05-14 10:04:42 +01:00
|
|
|
|
|
|
|
Image hosting service
|
|
|
|
|
|
|
|
## Features
|
2024-10-04 18:00:37 +01:00
|
|
|
|
2024-05-14 10:11:10 +01:00
|
|
|
- [NIP-96 Support](https://github.com/nostr-protocol/nips/blob/master/96.md)
|
2024-08-30 19:58:36 +01:00
|
|
|
- [Blossom Support](https://github.com/hzrd149/blossom/blob/master/buds/01.md)
|
2024-09-22 14:26:23 +01:00
|
|
|
- [BUD-01](https://github.com/hzrd149/blossom/blob/master/buds/01.md)
|
|
|
|
- [BUD-02](https://github.com/hzrd149/blossom/blob/master/buds/02.md)
|
2024-12-16 17:20:26 +00:00
|
|
|
- [BUD-04](https://github.com/hzrd149/blossom/blob/master/buds/04.md)
|
2024-10-15 10:47:36 +01:00
|
|
|
- [BUD-05](https://github.com/hzrd149/blossom/blob/master/buds/05.md)
|
2024-09-22 14:26:23 +01:00
|
|
|
- [BUD-06](https://github.com/hzrd149/blossom/blob/master/buds/06.md)
|
2024-10-15 10:47:36 +01:00
|
|
|
- [BUD-08](https://github.com/hzrd149/blossom/blob/master/buds/08.md)
|
2024-10-15 11:14:07 +01:00
|
|
|
- Image compression to WebP
|
|
|
|
- Blurhash calculation
|
2024-05-29 12:14:00 +01:00
|
|
|
- AI image labeling ([ViT224](https://huggingface.co/google/vit-base-patch16-224))
|
2024-10-15 11:14:07 +01:00
|
|
|
- Plausible analytics
|
2024-05-14 10:04:42 +01:00
|
|
|
|
|
|
|
## Planned
|
2024-10-04 18:00:37 +01:00
|
|
|
|
2024-05-14 11:27:54 +01:00
|
|
|
- Torrent seed V2
|
2024-10-15 11:14:07 +01:00
|
|
|
- Payment system
|
2024-05-14 11:27:54 +01:00
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
### Docker Compose
|
2024-10-04 18:00:37 +01:00
|
|
|
|
2024-09-22 14:26:23 +01:00
|
|
|
The easiest way to run `route96` is to use `docker compose`
|
2024-05-14 11:27:54 +01:00
|
|
|
|
|
|
|
```bash
|
|
|
|
docker compose -f docker-compose.prod.yml up
|
|
|
|
```
|
2024-10-04 18:00:37 +01:00
|
|
|
|
2024-12-11 11:10:47 +00:00
|
|
|
### Docker
|
2024-10-04 18:00:37 +01:00
|
|
|
|
2024-12-11 09:46:00 +00:00
|
|
|
Assuming you already created your `config.yaml` and configured the `database` run:
|
2024-10-04 18:00:37 +01:00
|
|
|
|
2024-05-14 11:27:54 +01:00
|
|
|
```bash
|
|
|
|
docker run --rm -it \
|
|
|
|
-p 8000:8000 \
|
2024-12-11 09:46:00 +00:00
|
|
|
-v ./config.yaml:/app/config.yaml \
|
2024-05-14 11:27:54 +01:00
|
|
|
-e "RUST_LOG=info" \
|
2024-09-22 14:26:23 +01:00
|
|
|
voidic/route96
|
2024-08-30 19:58:36 +01:00
|
|
|
```
|
|
|
|
|
2024-12-11 11:10:47 +00:00
|
|
|
### Manual
|
|
|
|
See [install.md](docs/debian.md)
|