Skip to content
lenoir-bytePublic

About

A light, fast EPUB reader for e-ink tablets, written in Rust: reMarkable Paper Pro Move, Paper Pro and Kindle Oasis 3

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Inkpage

A light, fast EPUB reader for e-ink tablets, written in Rust.
reMarkable Paper Pro Move · Paper Pro · Paper Pure (untested) · Kindle Oasis 3

Inkpage on the reMarkable Paper Pro Move: the library, a page with a highlight, and the reading menu

Why Inkpage

Inkpage aims to be the lightest and fastest reader on these devices: one small static binary (about 3 MB), quick to start and quick to turn pages. It began as a way to get a better reading experience than KOReader on the reMarkable Paper Pro Move, and to be the reader that reMarkable could have built into the tablet.

It only reads books: there is no pen ink and no drawing.

  • reMarkable Paper Pro Move and Paper Pro, as an AppLoad app. The Paper Pure should work but is untested. The reMarkable 1 and 2 (32-bit ARM) are untested too, and not in the release files: build for armv7-unknown-linux-gnueabihf.
  • Kindle Oasis 3, jailbroken, firmware 5.16.3 or later, as a KUAL extension. Other Kindles are not supported.

Features

Reading

  • Justified text with hyphenation (French and English TeX patterns).
  • Italic, bold and the simple parts of the book's stylesheets.
  • Images and covers, in colour on colour screens.
  • Note numbers you can tap to read the note.
  • Table of contents and a slider of the whole book.
  • Highlights, with a list per book and an export to Markdown.
  • Night mode.

Library

  • Folders, covers, progress and a Recent list.
  • Reading position sync with a KOReader kosync server.

Your way

  • 9 free font families, plus your own .ttf or .otf files.
  • Settings for text size, line spacing, margins, alignment and text contrast.

You turn the pages by tapping the sides or swiping, and on the Kindle with the page buttons too. Tap the top centre of the page to open the menu.

The table of contents and the two pages of settings

Screens rendered at the Paper Pro Move's resolution (954 × 1696) with examples/preview.rs. Books from Standard Ebooks, in the public domain.

Install on the reMarkable

You need XOVI and AppLoad on the tablet, and SSH access as root. On the Paper Pro and the Paper Pro Move, turn on developer mode first.

Download inkpage-…-remarkable-aarch64.tar.gz from the latest release, and copy it to the tablet. 10.11.99.1 is the tablet's address over USB:

ssh root@10.11.99.1 'tar -C /home/root/xovi/exthome/appload -xzf -' < inkpage-*-remarkable-aarch64.tar.gz

Or build it (see below), and copy output/:

tar -C output -cf - . | ssh root@10.11.99.1 \
  'mkdir -p /home/root/xovi/exthome/appload/inkpage && tar -C /home/root/xovi/exthome/appload/inkpage -xf -'

Open the AppLoad menu, tap the refresh icon, then tap Inkpage.

Copy your books to /home/root/inkpage/:

scp mybook.epub root@10.11.99.1:/home/root/inkpage/

The library is read when the app starts, so restart the app to see new books.

Install on a Kindle Oasis 3

Only the Kindle Oasis 3 is supported, with firmware 5.16.3 or later. Other Kindles may have another screen driver, and the reader does not check the model. If the screen stays frozen, hold the power button until the Kindle restarts.

You need a jailbreak and KUAL. Download inkpage-…-kindle-oasis3.zip from the latest release, connect the Kindle by USB and unzip the file into its extensions/ folder:

unzip inkpage-*-kindle-oasis3.zip -d /run/media/$USER/Kindle/extensions/

Or build it (see below), and copy output-kindle/inkpage there.

Copy your books to inkpage/ at the root of the Kindle. Eject the Kindle, open KUAL and tap Inkpage.

Sync the reading position

Inkpage can share the reading position with KOReader through a kosync server, over plain http://. Put a file .inkpage.kosync in the books folder:

server   http://192.168.1.50:8081
user     alice
password your-password
device   my-tablet
match    filename
  • device is optional.
  • match is filename (the default) or binary, as in KOReader. With filename, the book must have the same file name on both readers.

Nothing syncs by itself. Tap Sync in the menu: if another reader is further on, the page goes there; otherwise your position is sent.

Export the highlights

Open the menu, tap Highlights, then Export. The highlights of the book go to Highlights/<title of the book>.md in the books folder: /home/root/inkpage/Highlights/ on the reMarkable, inkpage/Highlights/ on the Kindle.

# Title of the book

## Chapter 1

> The highlighted passage.

*2026-11-27*

Each passage is under the headings of its chapter, as in the table of contents, with the day it was made (UTC). Each export writes the whole file again, so edit a copy, not the file itself. Copy it off the device like a book:

scp -r root@10.11.99.1:/home/root/inkpage/Highlights .

Build

You need Rust with two targets:

rustup target add aarch64-unknown-linux-musl armv7-unknown-linux-musleabihf
./build.sh

build.sh runs the tests, then builds static binaries. It writes the reMarkable app to output/ and the Kindle extension to output-kindle/inkpage/. No cross compiler is needed: .cargo/config.toml links with rust-lld.

To see the screens on a PC, render them to images:

cargo run --release --example preview -- ~/Books preview

Remove

On the reMarkable:

ssh root@10.11.99.1 'rm -r /home/root/xovi/exthome/appload/inkpage'

On the Kindle, delete extensions/inkpage. Your books and reading positions stay in the books folder.

License

MIT, see LICENSE.

  • The built-in font, Liberation Serif, is under the SIL Open Font License 1.1 (fonts/OFL.txt).
  • The font families in fonts/families/ are under the SIL Open Font License; each folder has its licence.
  • The hyphenation patterns in patterns/ come from the tex-hyphen project. Each file header has its licence.

About

A light, fast EPUB reader for e-ink tablets, written in Rust: reMarkable Paper Pro Move, Paper Pro and Kindle Oasis 3

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages