A library for interacting with Kobo devices https://crates.io/crates/kobo
  • Rust 95%
  • Dockerfile 2.8%
  • Shell 2.2%
Find a file
Evan Pratten 36e671813d
All checks were successful
Build / Rust project (push) Successful in 1m35s
Migrate repo to Forgejo
2026-06-24 16:21:38 -04:00
.forgejo/workflows Migrate repo to Forgejo 2026-06-24 16:21:38 -04:00
.vscode Added a new GUI system 2022-04-12 16:51:47 -04:00
examples An imporoved GUI demo 2022-04-12 21:13:13 -04:00
src fix: touch events not sent due to missing pressure 2024-12-13 14:23:18 +01:00
toolchain Device touch detection 2022-04-12 12:43:10 -04:00
.gitignore Initial commit 2022-04-12 10:50:37 -04:00
build_toolchain.sh Device touch detection 2022-04-12 12:43:10 -04:00
Cargo.toml Migrate repo to Forgejo 2026-06-24 16:21:38 -04:00
Cross.toml Device touch detection 2022-04-12 12:43:10 -04:00
kobo_deploy.sh Device touch detection 2022-04-12 12:43:10 -04:00
LICENSE Initial commit 2022-04-12 10:50:37 -04:00
README.md Migrate repo to Forgejo 2026-06-24 16:21:38 -04:00
rust-toolchain.toml Device touch detection 2022-04-12 12:43:10 -04:00

kobo-rs

Crates.io Docs.rs

kobo-rs is a minimal Rust library for interacting with modified Kobo e-readers. This is designed for use in applications running on the Kobo, not over the network.

Building

Since we are cross-compiling (please don't try compiling software on a Kobo), we need a few tools.

docker pull ewpratten/kobo-cross-armhf:latest
cargo install cross

With that out of the way, the library can be built with:

cross build --target arm-unknown-linux-musleabihf

You'll need to do these same steps with your own applications.

Running an example

To build and run the display example, you'll need to do the following:

cross build --target arm-unknown-linux-musleabihf --release --example display

Then, copy the binary to the Kobo's internal storage and execute the following command on the device:

/mnt/onboard/display