kosyncrs/README.md

14 lines
762 B
Markdown
Raw Permalink Normal View History

2023-09-26 21:27:35 +02:00
# KOreader Sync Server
2023-09-27 08:34:51 +02:00
This is a KOreader sync server, implemented in Rust. It uses the crates *axum*, *redis*, *serde* and *serde_json*.
## Requirements
- Rust toolchain (≥ 1.63) for compilation
- A running Redis server
- Nginx (or Apache) webserver as a reverse proxy, since kosyncrs only listens locally and uses HTTP.
2023-09-26 22:03:52 +02:00
## Installation
2023-09-29 10:35:13 +02:00
Just compile it with `cargo build --release`. You can then copy the executable for example to `/usr/local/bin/`. If you want to start the service automatically, you can adapt the example systemd file for your needs. You can also use nginx as a reverse proxy, so that the sync server listens on port 443.
2023-09-26 22:24:00 +02:00
## Todo
- Test, if it really works, and if it works reliably. Feedback is very welcome!
- Make it more configurable