ruspk is a simple and fast synology repository 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 yourself or run it in conjunction with spkrepo and a reverse proxy like nginx.
sh
cargo install diesel_cli
cargo install ruspk --features postgres
echo 'DATABASE_URL=postgresql://user:pass@localhost/dbname' > .env
diesel migration --migration-dir migrations/postgres/ run
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
RUST_LOG="info"
LISTEN=0.0.0.0
PORT=80
URL=https://packages.synocommunity.com
PUBLICKEYFILE=pubkey.pem
```
https://diesel.rs/
https://actix.rs/
https://github.com/SynoCommunity/spksrc/wiki/Package-Center-specifications
http://spkrepo.readthedocs.org/