docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
# CrossPoint Reader (Mod)
2025-12-03 22:00:29 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
A modified fork of [CrossPoint Reader ](https://github.com/crosspoint-reader/crosspoint-reader ) for the **Xteink X4 **
e-paper display reader. Built using **PlatformIO ** and targeting the **ESP32-C3 ** microcontroller.
2025-12-03 22:00:29 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
This mod is maintained on the `mod/master` branch and tracks upstream `master` . It ports upstream PRs ahead of merge
and adds features not yet available in the official project, including bookmarks, dictionary lookup, a clock, book
management with archiving, an overhauled reader menu, and various rendering and performance improvements.
> **Upstream:** [crosspoint-reader/crosspoint-reader](https://github.com/crosspoint-reader/crosspoint-reader)
2025-12-03 22:00:29 +11:00
2025-12-14 13:46:15 +11:00

2025-12-03 22:00:29 +11:00
## Motivation
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
E-paper devices are fantastic for reading, but most commercially available readers are closed systems with limited
2025-12-03 22:00:29 +11:00
customisation. The **Xteink X4 ** is an affordable, e-paper device, however the official firmware remains closed.
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
CrossPoint exists partly as a fun side-project and partly to open up the ecosystem and truly unlock the device's
2025-12-03 22:00:29 +11:00
potential.
CrossPoint Reader aims to:
* Provide a **fully open-source alternative ** to the official firmware.
* Offer a **document reader ** capable of handling EPUB content on constrained hardware.
* Support **customisable font, layout, and display ** options.
* Run purely on the **Xteink X4 hardware ** .
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
This mod exists to iterate faster on features and fixes while upstream reviews and merges PRs at its own pace. It is
**not affiliated with Xteink** or the upstream CrossPoint project; it's a personal fork built on top of their work.
## History
This mod was forked at [#46c2109 ](https://github.com/crosspoint-reader/crosspoint-reader/commit/46c2109f1fe5cb41ef1a84a15eeb3db64cdca082 ). A major sync took place at v1.1.0-rc.
2025-12-03 22:00:29 +11:00
2025-12-20 01:44:39 +11:00
## Features & Usage
2025-12-03 22:00:29 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
This is not all-inclusive, but in general:
2026-01-03 16:10:35 +08:00
- [x] EPUB parsing and rendering (EPUB 2 and EPUB 3)
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
- [x] Image support within EPUB (JPEG and PNG)
- [x] Table rendering within EPUB
2025-12-03 22:00:29 +11:00
- [x] Saved reading position
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
- [x] Bookmarks (add, remove, navigate with snippet preview)
- [x] Dictionary lookup (offline, StarDict format)
2025-12-20 01:44:39 +11:00
- [x] File explorer with file picker
2025-12-04 00:14:47 +11:00
- [x] Basic EPUB picker from root directory
2025-12-06 04:53:58 +11:00
- [x] Support nested folders
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
- [x] File extensions displayed
- [x] Expandable selected row for long filenames
2025-12-04 00:14:47 +11:00
- [ ] EPUB picker with cover art
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
- [x] Book management (archive, unarchive, delete, reindex)
- [x] Clock display (12h/24h, NTP sync, timezone support)
2025-12-20 01:44:39 +11:00
- [x] Custom sleep screen
2025-12-31 09:18:05 +11:00
- [x] Cover sleep screen
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
- [x] Letterbox fill modes (Solid, Dithered, None) with per-book override
- [x] Placeholder covers for books without embedded cover images
2025-12-20 01:44:39 +11:00
- [x] Wifi book upload
2025-12-31 09:18:05 +11:00
- [x] Wifi OTA updates
- [x] Configurable font, layout, and display options
- [ ] User provided fonts
- [ ] Full UTF support
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
- [x] Screen rotation (Portrait, Landscape CW, Inverted, Landscape CCW)
- [x] End-of-book interactive menu
- [x] Silent background chapter pre-indexing
2025-12-20 01:44:39 +11:00
2026-01-27 14:14:32 +03:00
Multi-language support: Read EPUBs in various languages, including English, Spanish, French, German, Italian, Portuguese, Russian, Ukrainian, Polish, Swedish, Norwegian, [and more ](./USER_GUIDE.md#supported-languages ).
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
See [the user guide ](./USER_GUIDE.md ) for instructions on operating CrossPoint.
2025-12-03 22:00:29 +11:00
2026-02-05 22:38:42 +11:00
For more details about the scope of the project, see the [SCOPE.md ](SCOPE.md ) document.
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
## What This Mod Adds
This section describes features and improvements in the mod that are not present in upstream CrossPoint Reader.
### Reading Enhancements
* **Bookmarks** — Save and remove bookmarks per book. Each bookmark stores a snippet (first sentence) for quick
identification. A ribbon indicator marks bookmarked pages. Navigate bookmarks via the reader menu.
* **Dictionary lookup** — Offline word lookup using StarDict-format dictionaries stored in `/.dictionary/` on the SD
card. Supports stemming, fuzzy matching, edit-distance suggestions, and lookup history. The dictionary index is cached
to a binary file for fast subsequent access.
* **Table rendering** — EPUB tables render with column alignment, colspan support, HTML/CSS width hints, cell padding,
borders, and `<br>` line breaks within cells. Full-width spanning cells are center-aligned.
* **End-of-book menu** — An interactive menu at the end of a book (Archive, Delete, Back to Beginning, Close) replaces
the static end-of-book text.
* **Long-press Confirm** — While reading, long-pressing Confirm opens the Table of Contents directly, bypassing the
reader menu.
### Home Screen & Navigation
* **Clock** — Displays in all screen headers. Configurable format (off, 12h AM/PM, 24h) and size (small, medium,
large). Supports NTP time sync over WiFi, timezone presets (UTC, US time zones), and custom UTC offset.
* **Adaptive home screen** — Book card sizing adjusts based on cover aspect ratio. The home screen integrates with
recent books and book management.
* **File browser improvements** — File extensions are shown alongside filenames. When a selected filename overflows the
row width, the row expands to two lines with smart text wrapping (breaks at dashes/separators, then word boundaries,
then character-level).
* **Long-press shortcuts** — Long-press on a book in the home screen or recents opens the book management menu.
Long-press on "Browse Files" opens the archive browser (`/.archive/` ).
### Book Management
* **Archive** — Move books to `/.archive/` on the SD card, preserving directory structure. Unarchive restores them to
their original location.
* **Manage Book menu** — A popup menu accessible from the home screen, file browser, recents, reader menu, and
end-of-book menu. Actions include archive/unarchive, delete book, delete cache, reindex, and full reindex.
* **Recent books** — A dedicated recent books list with book management integration.
### Reader Menu
* **Long-press actions** — Long-press "Lookup Word" to open the Looked Up Words history. Long-press "Toggle
Orientation" to open a sub-menu for selecting any of the four orientations (Portrait, Landscape CW, Inverted,
Landscape CCW).
* **Letterbox fill** — Short-press cycles through letterbox fill modes (Default, Dithered, Solid, None). Per-book
overrides are stored in `BookSettings` .
* **Landscape CCW** — A fourth orientation option. All text rendering, button hints, and dictionary layout support
counter-clockwise landscape.
### Display & Rendering
* **Silent pre-indexing** — The next chapter is pre-indexed in the background when approaching a chapter boundary.
Configurable display mode: popup, status bar text, or status bar icon.
* **Placeholder covers** — Books without an embedded cover image get a generated placeholder (title, author, icon
layout) for the home screen and sleep screen.
* **Sleep screen letterbox fill** — Multiple fill modes for the letterbox area around cover images on the sleep screen,
with per-book override support.
### Performance
Several upstream PRs have been ported ahead of their merge into upstream `master` :
* **Byte-level framebuffer writes** — 232-470x speedup for `fillRect` , `fillRectDither` , and axis-aligned `drawLine`
operations. Upstream [PR #1055 ](https://github.com/crosspoint-reader/crosspoint-reader/pull/1055 ).
* **Word-width cache and hyphenation early exit** — 5-9% layout time reduction via a 128-entry direct-mapped cache and
monotonic early exit in the hyphenation loop. Upstream
[PR #1027 ](https://github.com/crosspoint-reader/crosspoint-reader/pull/1027 ).
* **`std::list` to `std::vector` in text layout** — 11% faster chapter parse time and ~50KB heap savings. Upstream
[PR #1038 ](https://github.com/crosspoint-reader/crosspoint-reader/pull/1038 ).
* **Combining mark rendering** — Proper rendering of decomposed Unicode characters with NFC-like precomposition for
hyphenation pattern matching. Upstream
[PR #1037 ](https://github.com/crosspoint-reader/crosspoint-reader/pull/1037 ).
* **URL hyphenation** — Long URLs can now be line-wrapped at path separators without crashing. Upstream
[PR #1068 ](https://github.com/crosspoint-reader/crosspoint-reader/pull/1068 ).
For detailed porting notes and differences from upstream, see [mod/prs/MERGED.md ](mod/prs/MERGED.md ). Note that this document was created well after many features were added manually so it is not all-inclusive. Sorry!
## Upstream Compatibility
This mod tracks upstream `master` and manually ports relevant PRs. Some upstream features are not present in the mod,
and the mod's build configuration differs slightly.
**Features on upstream `master` not yet in the mod:**
* Catalan language support
* Improved Spanish translations
**Build differences:**
* The `[env:mod]` build environment omits the OpenDyslexic font and some hyphenation patterns (German, Spanish, French,
Italian, Russian) to save flash space. These can be re-enabled by using `[env:default]` or removing the corresponding
`-DOMIT_*` flags.
* The mod version string is `<version>-mod+<git-hash>` (e.g., `1.1.2-mod+abc1234` ).
See [mod/prs/MERGED.md ](mod/prs/MERGED.md ) for the full list of upstream PRs ported into this mod, including what was
changed or enhanced during the port.
2025-12-09 00:07:38 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
## Installing
2025-12-09 00:07:38 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
This mod is built from source. There is no web flasher for the mod firmware.
2025-12-09 00:07:38 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
Connect your Xteink X4 to your computer via USB-C, wake/unlock the device, and run:
2025-12-09 00:07:38 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
```sh
pio run -e mod --target upload
```
2025-12-09 00:07:38 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
You can also use `pio run -e default --target upload` for a build without the mod's flash-saving omissions (see
[Upstream Compatibility ](#upstream-compatibility )).
2025-12-09 00:07:38 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
To revert to upstream CrossPoint or the official Xteink firmware, flash via https://xteink.dve.al/ or swap back to the
other partition using the "Swap boot partition" button at https://xteink.dve.al/debug.
2025-12-09 00:07:38 +11:00
## Development
2025-12-03 22:00:29 +11:00
### Prerequisites
* **PlatformIO Core** (`pio` ) or **VS Code + PlatformIO IDE **
* Python 3.8+
* USB-C cable for flashing the ESP32-C3
* Xteink X4
2025-12-06 04:53:58 +11:00
### Checking out the code
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
CrossPoint uses PlatformIO for building and flashing the firmware. To get started, clone this repository and check out
the mod branch:
2025-12-06 04:53:58 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
```sh
git clone --recursive -b mod/master https://github.com/crosspoint-reader/crosspoint-reader
2025-12-06 04:53:58 +11:00
# Or, if you've already cloned without --recursive:
git submodule update --init --recursive
```
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
### Build environments
| Environment | Description |
| ----------- | ----------- |
| `mod` | **Recommended. ** Includes serial logging, version tagging (`-mod+<hash>` ), and omits some fonts/hyphenation patterns to save flash. |
| `default` | Standard upstream-equivalent build with all fonts and hyphenation patterns included. |
2025-12-03 22:00:29 +11:00
### Flashing your device
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
Connect your Xteink X4 to your computer via USB-C and run:
2025-12-09 00:04:55 +11:00
```sh
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
pio run -e mod --target upload
2025-12-09 00:04:55 +11:00
```
2026-02-01 13:53:20 +02:00
### Debugging
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:
```python
2026-02-03 16:33:20 -05:00
python3 -m pip install pyserial colorama matplotlib
2026-02-01 13:53:20 +02:00
```
after that run the script:
```sh
2026-02-03 16:33:20 -05:00
# For Linux
# This was tested on Debian and should work on most Linux systems.
2026-02-01 13:53:20 +02:00
python3 scripts/debugging_monitor.py
2026-02-03 16:33:20 -05:00
# For macOS
python3 scripts/debugging_monitor.py /dev/cu.usbmodem2101
2026-02-01 13:53:20 +02:00
```
2026-02-03 16:33:20 -05:00
Minor adjustments may be required for Windows.
2025-12-03 22:21:11 +11:00
2025-12-03 22:00:29 +11:00
## Internals
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.
2025-12-29 12:19:54 +10:00
### Data caching
2025-12-03 22:00:29 +11:00
2025-12-29 12:19:54 +10:00
The first time chapters of a book are loaded, they are cached to the SD card. Subsequent loads are served from the
2025-12-03 22:00:29 +11:00
cache. This cache directory exists at `.crosspoint` on the SD card. The structure is as follows:
```
.crosspoint/
├── epub_12471232/ # Each EPUB is cached to a subdirectory named `epub_<hash>`
│ ├── progress.bin # Stores reading progress (chapter, page, etc.)
2025-12-29 12:19:54 +10:00
│ ├── cover.bmp # Book cover image (once generated)
│ ├── book.bin # Book metadata (title, author, spine, table of contents, etc.)
│ └── sections/ # All chapter data is stored in the sections subdirectory
│ ├── 0.bin # Chapter data (screen count, all text layout info, etc.)
│ ├── 1.bin # files are named by their index in the spine
│ └── ...
2025-12-03 22:00:29 +11:00
│
└── epub_189013891/
```
2025-12-29 12:19:54 +10:00
Deleting the `.crosspoint` directory will clear the entire cache.
2025-12-03 22:00:29 +11:00
2025-12-29 12:19:54 +10:00
Due the way it's currently implemented, the cache is not automatically cleared when a book is deleted and moving a book
file will use a new cache directory, resetting the reading progress.
For more details on the internal file structures, see the [file formats document ](./docs/file-formats.md ).
2025-12-03 22:00:29 +11:00
## Contributing
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
This is a personal mod fork. If you'd like to contribute to the upstream CrossPoint Reader project, head to the
[upstream repository ](https://github.com/crosspoint-reader/crosspoint-reader ) and check out the
[ideas discussion board ](https://github.com/crosspoint-reader/crosspoint-reader/discussions/categories/ideas ).
2025-12-03 22:00:29 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
For more details on upstream governance and community principles, see [GOVERNANCE.md ](GOVERNANCE.md ).
2025-12-03 22:00:29 +11:00
---
CrossPoint Reader is **not affiliated with Xteink or any manufacturer of the X4 hardware ** .
2025-12-06 13:32:09 +11:00
docs: rewrite README for mod branch, bump version to 1.1.2
Rewrite README.md to distinguish the mod fork from upstream CrossPoint
Reader. Add mod feature documentation (bookmarks, dictionary, clock, book
management, table rendering, reader menu overhaul, etc.), updated feature
checklist, upstream compatibility notes, and mod-specific build instructions.
Bump version from 1.1.1-rc to 1.1.2 to align with upstream approaching
release.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 18:04:18 -05:00
This mod is not **not affilitated with CrossPoint Reader ** .
Huge shoutout to [**diy-esp32-epub-reader** by atomic14 ](https://github.com/atomic14/diy-esp32-epub-reader ), which was
a project the original CrossPoint author took a lot of inspiration from.