ruspk is a simple and fast synology reposetory server. It uses the existing database structure from spkrepo
Only the GET API for the synology devices is supported. You have to update the database your self.
sh
cargo install diesel_cli
cargo install --feature postgres
diesel migration --migration-dir migrations/postgres/ run
echo 'export DATABASE_URL=postgresql://user:pass@localhost/dbname' > .env
ruspk
Avaliable Features: mysql
, postgres
and sqlite
```sh curl -sv 'http://127.0.0.1:8080/?build=24922&language=enu&major=6µ=2&arch=x86&minor=2' | jq
```
.env
file)```env RUSTLOG="actixweb=warn,diesel=warn" DATABASE_URL=file:db/database.sqlite
LISTEN=127.0.0.1 PORT=80 ```
https://diesel.rs/
https://actix.rs/