A lightweight implementation of the Koreader Sync Server in Rust. KOSync Light stores data as files in a configurable directory and exposes the sync server API. It is meant to be run on the ebook reader itself paired with Syncthing or similar software which would synchronize the data directory across devices.
TODO
TODO
You will need the rust language toolchain (instructions).
To build the project run:
cargo build --releaseIf you are cross-compiling e.g. for a Kindle Paperwhite Gen 4 (ARMv7) it's recommended to use LLVM's lld and link against musl. Add the target in rustup:
rustup target add armv7-unknown-linux-musleabihfand then run:
cargo build --release --target=armv7-unknown-linux-musleabihfThe project already includes configuration under .cargo/config.toml to default to lld for armv7-unknown-linux-musleabihf.