Jump-free inline block reading
Click any paragraph to edit in place with zero layout shift. Organize books, papers, extracts, and cards in an infinite-nesting library tree with priority queues and smart chapter splitting.
An open-source, local-first incremental reading and RWKV-7 spaced repetition workbench built on SQLite.
MIT open source · also available for macOS Apple Silicon or self-hosting
Stop copying highlights across readers, note apps, and flashcard decks. Lectio keeps your entire learning loop in a single low-friction workspace.
Click any paragraph to edit in place with zero layout shift. Organize books, papers, extracts, and cards in an infinite-nesting library tree with priority queues and smart chapter splitting.
Highlight text to spin off an extract, an i+1 contextual cloze card, or a side note without leaving the page. Non-invasive CSS.highlights layers track unfamiliar words and parts of speech smoothly.
Before you reveal an answer, every stability number, difficulty score, and latency readout stays hidden. Press Space to reveal, H for progressive hints, and 1 to 4 for instant optimistic grading.
Your entire library lives in one SQLite WAL database with FTS5 search and projects asynchronously to an AI-readable Markdown vault. Export Vault ZIP, Anki TSV, or Revlog CSV at any time.
Lectio pairs a five-layer RWKV-7 neural sequence model with a pure TypeScript FSRS-6 fallback, surfacing cards only as their real-time recall probability approaches your target threshold.
Instead of treating each flashcard in isolation, RWKV-7 updates coupled user, preset, deck, note, and card hidden states after every review while factoring in response-time fluency.
On lightweight servers or machines without local weights, Lectio automatically runs pure TypeScript FSRS-6 with zero resident Python memory, keeping reviews fast and uninterrupted.
Start immediately on the hosted web app, download the offline macOS Apple Silicon bundle, or self-host on any Node 22 machine.
Open registration gives every account a physically isolated SQLite database and Markdown vault, backed by FSRS-6 out of the box with full one-click data export.
Open app.lectio.wikiPackaged with MyGo, bundling Node 22, Python 3.12, rwkv_srs, and three SHA-256 verified RWKV-7 checkpoints so the neural memory engine runs completely offline.
Download v0.2.0 for macOSRequires only Node 22 with built-in node:sqlite. Optionally download RWKV-7 weights, enable multi-user auth, and front it with Cloudflare Tunnel or Caddy.
Read Deployment Docsgit clone https://github.com/veritaswiki/lectio.git
cd lectio && npm ci && npm run build
LECTIO_DATA_DIR=./data npm run server