VaultInk is firmware for the Xteink X4 Pro: a book reader and a portable device for Obsidian vaults. It is a fork of CrossPoint Reader, whose scope is narrower; this file replaces it for VaultInk. Features are specified in SPECS.md and ordered in ROADMAP.md.
Read, search, write and sync an Obsidian vault on e-ink, without losing the book reader. Keep it lightweight: it must stay fast and stable on the X4 Pro (ESP32-S3, 8 MB PSRAM).
- Books: everything CrossPoint does today (EPUB, TXT, XTC, fonts, hyphenation, bookmarks, OPDS).
- Comics and manga (Phase 1c): XTC/XTCH/EPUB made with an external converter, later CBZ. No conversion on the device.
- Vault reading: the Obsidian Markdown features listed in SPECS.md 5.1, links, embeds, frontmatter, tags, backlinks, search.
- Canvas: read-only JSON Canvas with pan and zoom.
- Sync: Self-hosted LiveSync over CouchDB, pull first, then push.
- Writing: a note editor with touch keyboard, Bluetooth keyboard and the Android companion.
- Languages: English and Greek for the UI and content.
- Attachments: PNG, JPEG and GIF images now (WebP needs a decoder); PDF after a feasibility trial; audio and Excalidraw later.
- Clients (decided 2026-11-10): WebDAV, FTP and SFTP file clients, an SSH terminal, and a gamepad input scaffold (no games), in the order of the KOReader parity milestone in ROADMAP.md.
- Code quality: refactors that make the above easier to maintain or cheaper in memory.
- Devices other than the X4 Pro (for now).
- Other sync services (Git, Syncthing, Dropbox, iCloud, Obsidian Sync) and LiveSync's object storage and P2P modes.
- Running Obsidian plugins (Dataview, Bases, Templater) or showing their output.
- Graph view, games (the gamepad is input only), browsers, RSS.
- Licences, accounts, payments, telemetry. VaultInk is fully free.
- iOS companion.
- It must serve a requirement in SPECS.md, or SPECS.md is updated first.
- Vault code lives in
lib/Vaultwith host tests; screens stay thin. - Stream from SD; no unbounded allocations; every cap has a failure path.
- Real vault contents and secrets never go into the repo, tests, logs or external tools.
- Keep changes to CrossPoint code small, so upstream fixes can still be merged.