case file
Jul. 2026
SM-2
review scheduler
FTS5
searches inside code
100%
offline & local-first
Built a local-first desktop knowledge vault (Tauri 2 + React 19) that attacks the 'notes graveyard' problem — everything captured comes back on a spaced-repetition schedule. A Notion-style block editor (BlockNote) with slash-command DSA templates, Mermaid diagrams, and first-class code blocks feeds an SM-2-style review scheduler with streaks, a 17-week activity heatmap, and per-topic mastery rings that surface weak spots for focused practice. Problems quick-log in 60 seconds from a pasted URL, get an eight-prompt reflective debrief, and store brute-force vs optimized solutions in embedded CodeMirror editors. Instant full-text search (SQLite FTS5) reaches note text, debrief answers, and code itself, connected by @-mention wiki-links with backlinks. Ships as a native Windows app with a thin Rust shell — system tray, global quick-capture hotkey, signed auto-updates, and one local SQLite file the user owns: no account, no cloud, no telemetry.
// nodes
// flow
- 01React UI (BlockNote + CodeMirror) → TanStack Query hooks → SQLite (FTS5)
- 02React UI (BlockNote + CodeMirror) → SM-2 scheduler (pure TS) → SQLite (FTS5)
- 03Rust shell (Tauri 2) → SQLite (FTS5)
- 04Rust shell (Tauri 2) → GitHub Releases (updater)