Koreader
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
Open-source e-reader firmware
CrossPoint is open-source e-reader firmware - community-built, fully hackable, free forever. It's maintained by a growing community of developers and readers who believe your device should do what you want - not what a manufacturer decided for you.
Check our Devices page for the full list.
If you're planning to buy an Xteink device, consider purchasing an X3/X4 Developer Edition through https://crosspointreader.com. CrossPoint receives a small share of each sale, helping fund development costs.
Reader engine: EPUB 2/3 rendering with embedded-style option, image handling, hyphenation, kerning, adaptive table layouts, native CJK ruby annotations, chapter navigation, footnotes, bookmarks, dictionary lookups (StarDict), go-to-percent, auto page turn, orientation control, focus reading, KOReader progress sync and more.
Various formats: native handling for .epub, .xtc/.xtch, .txt, and .bmp.
Touch reading: follow EPUB links and look up words in the dictionary on touch-enabled devices.
Highlights and clippings: highlight text in EPUBs and save excerpts as clippings. Use the reader menu on button devices, or hold a word and drag the selection handles on touch devices. Look up selected words or phrases in the dictionary. Enable Sync Clippings to sync saved excerpts through a compatible CrossPoint Sync server. See Clippings and Highlights.
Screenshots.
Custom fonts: install your favorite fonts on the SD card.
Tilt page turn (X3 and Sticky).
Bluetooth page turners: pair a remote under Settings → Connectivity → Bluetooth Page Turner. Map short and long presses to page turns, chapter navigation, the reader menu, or clipping selection.
USB Drive mode (X4Pro): access the SD card as USB mass storage.
Library workflow: indexed title/author search, recently-added and alphabetical views, multilingual grouping, folder browser, recent books, and SD-cache management.
Wireless workflows:
Customization: night mode, multiple themes (Classic, Lyra, Lyra Extended, RoundedRaff), sleep screen modes including transparent overlays, front/side button remapping, status bar controls, power-button behavior, refresh cadence, and more.
Localization: 34 UI languages and counting, including CJK font fallback and RTL support.
SD card plugins: install plugins for book catalogs, downloads, and tools in the device's web interface. Enable Plugins under Settings → Connectivity to show them on Home. On-device plugins use existing firmware screens and operations. JavaScript runs in a browser on your phone or computer, and its page must stay open while it works. Plugins follow CrossPoint's reading-focused scope. See the plugin guide.
More themes.
Much more! stay tuned.
Some Xteink units purchased from third-party stores (e.g. AliExpress) ship with USB flashing locked from the factory. If your device is locked, you will need to use the Xteink Unlocker tool available at https://crosspointreader.com/#unlock-tool before you can flash CrossPoint.
You do not need this tool if you bought your device directly from xteink.com. Those units are not locked.
Not sure if your device is locked? Power it on, connect the USB-C cable, and try flashing via the web flasher first (see Install firmware below). If the browser's serial device picker does not show your device, try a different USB port or browser before assuming the device is locked. Only reach for the unlocker if the device still doesn't appear.
#⚠️ WARNING: READ THIS BEFORE USING THE UNLOCKER ⚠️
The only officially supported firmwares in the unlock tool are CrossPoint and CrossInk.
Flashing any other firmware on a USB-locked device may permanently brick the device or leave it permanently stuck on that firmware with no recovery path. Once USB flashing is re-locked, your only way back is via OTA, and if the firmware you flashed doesn't support OTA, there is no way out.
To revert to the official firmware, you can also flash the latest official firmware using https://crosspointreader.com/#flash-tools.
esptool:pip install esptool
dmesg after connecting. On macOS:log stream --predicate 'subsystem == "com.apple.iokit"' --info
esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 921600 write_flash 0x10000 /path/to/firmware.bin
Flash an Xteink X4Pro, Seeed reTerminal Sticky, or M5PaperMono:
esptool.py --chip esp32s3 --port /dev/ttyACM0 --baud 921600 write_flash 0x10000 /path/to/firmware.bin
See Development quick start below.
On devices with external RAM enabled in CrossPoint, copy .ttf, .otf, or .ttc files to the SD card and select them as reader fonts. Put one file in /fonts/ or /.fonts/, or put one family's files in a subfolder. See the SD card font guide for the folder layout and styles.
On other devices, convert the font to .cpfont first. .cpfont files also work on devices with external RAM enabled and have better performance. No firmware reflash is needed to add fonts.
To make .cpfont files:
.cpfont files./fonts/YourFont/ (or /.fonts/YourFont/ to hide the folder).Conversion runs the firmware repo's lib/EpdFont/scripts/fontconvert_sdcard.py script unmodified, so output matches a local host build.
clang-format 21git clone --recursive https://github.com/crosspoint-reader/crosspoint-reader cd crosspoint-reader # if cloned without --recursive: git submodule update --init --recursive
Nix/NixOS users can enter the development shell with either nix develop (flakes) or nix-shell:
nix develop -f nix # or nix-shell nix
To flash a connected ESP32-C3 device, enable PlatformIO's udev rules in your NixOS configuration:
services.udev.packages = with pkgs; [ platformio-core.udev ];
After rebuilding the system configuration, reconnect the device or reload udev rules.
pio run --target upload
./bin/clang-format-fix pio check -e default pio run -e default
After flashing the new features, it’s recommended to capture detailed logs from the serial port.
First, make sure all required Python packages are installed:
python3 -m pip install pyserial colorama matplotlib
After that run the script:
# For Linux # This was tested on Debian and should work on most Linux systems. python3 scripts/debugging_monitor.py # For macOS python3 scripts/debugging_monitor.py /dev/cu.usbmodem2101
Minor adjustments may be required for Windows.
CrossPoint Reader is pretty aggressive about caching data down to the SD card to minimise RAM usage. The ESP32-C3 only has ~380KB of usable RAM, so we have to be careful. A lot of the decisions made in the design of the firmware were based on this constraint.
The first time chapters of a book are loaded, they are cached to the SD card. Subsequent loads are served from the
cache. This cache directory exists at .crosspoint on the SD card. The structure is as follows:
.crosspoint/ ├── epub_<hash>/ # one directory per book, named by content hash │ ├── progress.bin # reading position (chapter, page, etc.) │ ├── cover.bmp # generated cover image │ ├── book.bin # metadata: title, author, spine, TOC │ ├── css_rules.cache # parsed CSS rule cache │ ├── img_* # rendered image cache files │ └── sections/ # per-chapter layout cache │ ├── 0.bin │ ├── 1.bin │ └── ... ├── settings.json # device settings ├── state.json # resume/runtime state └── recent.json # recent books list
Removing /.crosspoint clears all cached metadata and forces a full regeneration on next open. Book deletes, overwrites, and moves done through the firmware or web UI clear or re-key matching caches; manual SD-card edits may leave stale cache directories behind.
For more details on the internal file structures, see the file formats document.
Contributions are welcome. If you're new to the codebase, start with the contributing docs. For things to work on, check the ideas discussion board — leave a comment before starting so we don't duplicate effort.
Everyone here is a volunteer, so please be respectful and patient. For governance and community expectations, see GOVERNANCE.md.
One of the best things about open source is that anyone can take the code in a different direction. If you need something outside CrossPoint's scope, check out the community forks:
CrossInk — UX focused with minimal reading stats and broader customizations for the reading experience.
papyrix-reader — Adds FB2 and MD format support. Actively maintained with Arabic script support. Custom themes.
inx — Completely reimagines the user interface with tabbed navigation.
Witch(hunt) Reader — More faithful CSS styling and background work for slightly snappier interaction. Weather information panel. Markdown support.
Note: Many of these features will make their way into CrossPoint over time. Each project chooses its own priorities and tradeoffs.
Want to build your own device? Be sure to check out the Silkscreen project or OnePage Reader.
CrossPoint Reader is not affiliated with Xteink or any device manufacturer.
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
Arduino Wiring-based Framework for the Espressif ESP32, ESP32-P4, ESP32-S and ESP32-C series of SoCs
Nouvelle version disponible.