Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.07 KB

KOSync Light

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.

Installation

TODO

Screenshots

TODO

Building

Dependencies

You will need the rust language toolchain (instructions).

To build the project run:

cargo build --release

If 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-musleabihf

and then run:

cargo build --release --target=armv7-unknown-linux-musleabihf

The project already includes configuration under .cargo/config.toml to default to lld for armv7-unknown-linux-musleabihf.