Incremental Reading + Spaced Repetition = Knowledge Retention
Features β’ Demo β’ Installation β’ Quick Start β’ Documentation β’ Contributing
Incrementum is a sophisticated desktop application that combines incremental reading with spaced repetition to help you efficiently process and retain information from large volumes of content.
Built with modern technologiesβTauri, React, and Rustβit offers a beautiful, fast, and cross-platform learning environment that adapts to your needs.
| Principle | Description |
|---|---|
| Incremental Reading | Process large documents in small, manageable chunks over time |
| Spaced Repetition | Review content at scientifically-optimized intervals using FSRS-6, SM-18, SM-20, or SM-2 |
| Import Flexibility | Bring content from anywhereβPDFs, EPUBs, audiobooks, videos, websites, podcasts, Anki decks |
| Smart Scheduling | Know exactly when you'll review each card again with preview intervals |
| Rich Analytics | Track your progress, streaks, and performance metrics |
- Import and read PDF, EPUB, Markdown, HTML, and TXT content
- Import audiobooks and audio files (MP3, M4A, M4B, AAC, FLAC, OGG, OPUS, WAV, WMA)
- Import video files (MP4, WebM, MOV, MKV, AVI, M4V) with local playback
- Import from URLs, Arxiv papers, YouTube videos/playlists, RSS feeds, and Substack
- Capture screenshots and run OCR extraction
- Auto-transcribe audio/video content with local Whisper or cloud providers (OpenAI, Groq)
- Create highlights/extracts, organize by tags/categories, and resume reading positions
- Migrate study data from Anki (
.apkg) and SuperMemo (ZIP exports)
- Multiple scheduling algorithms: FSRS-6, SM-18, SM-20, SM-2
- Card types: Basic, Cloze, Q&A, Multiple Choice, and Image Occlusion (via Flashcard Studio)
- Review queue with filtering/sorting, keyboard-first rating flow, and session stats
- Preview intervals (including long-form duration-aware safety caps)
- Focus timer (Pomodoro-style) integrated into study workflows
- Dashboard stats (due cards, retention, progress)
- 30-day activity views, streak tracking, and goal progress
- FSRS metrics (stability/difficulty) and category-level breakdowns
- Knowledge Graph with interactive 2D/3D exploration
- 146 built-in themes, 65 bundled fonts, plus custom theme creation/import/export
- Command palette (
Ctrl+K/Cmd+K) and full keyboard navigation - Vim-style navigation support in reading/review contexts
- Mobile-responsive UI with PWA support
- Virtualized lists and optimized document/review rendering for large libraries
- AI-assisted workflows: flashcard generation, summaries, Q&A helpers
- AI assistant with multimodal image support (paste, drag & drop, or attach images)
- Flashcard Studio with AI-powered card creation (Basic, Cloze, Q&A, Multiple Choice, Image Occlusion)
- OCR pipeline with local and cloud providers (including math OCR options)
- Text-to-Speech (TTS) for reading documents and review cards aloud
- Audio/video transcription with local Whisper.cpp or cloud providers (OpenAI, Groq)
- NotebookLM workspace for research/chat/artifact generation and sync-to-learning flows
- Browser extension bridge for web capture (Install Firefox Extension)
- Obsidian integration (export and sync workflows)
- Backup/restore tools (local and cloud-backed), plus import/export utilities
- Node.js 18+ and npm
- Rust toolchain (1.70+)
- System dependencies for your platform
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-devxcode-select --installWhen you first run Incrementum on macOS, you may encounter a security warning since the application is self-signed. This is normal for unsigned apps. Here's how to proceed:
Method 1: Open via Finder (Recommended)
- In Finder, locate the
Incrementum.app - Right-click (or Control-click) the app β Open
- A security warning dialog will appear
- Click "Open" again to confirm
The right-click β Open path adds a security exception for that application.
Method 2: Allow via System Settings
- Try to open the app normally (double-click). It will fail with a security warning
- Open System Settings β Privacy & Security
- Scroll down to the security section
- Look for a message saying "Incrementum was blocked from use because it is not from an identified developer"
- Click "Open Anyway" and confirm with "Open" in the dialog
After following either method, macOS will remember your choice, and you can open the app normally in the future.
No additional dependencies required.
# Clone the repository (includes whisper.cpp submodule)
git clone --recurse-submodules https://github.com/melpomenex/incrementum-tauri.git
cd incrementum-tauri
# If you already cloned without submodules
git submodule update --init --recursive
# Install dependencies
npm install
# Run development server
npm run tauri:dev
# Build for production
npm run tauri:buildThe production bundle will be in src-tauri/target/release/bundle/.
Visit the Releases page to download pre-built binaries for your platform.
Documents β Import Document β Choose source
| Source | Description |
|---|---|
| π Local Files | Select PDF, EPUB, or text files from your computer |
| π Local Folder | Import every supported file in a folder recursively, including subdirectories (entire Books libraries). Uses the native folder picker on desktop, Android Storage Access Framework, and iOS document picker |
| π§ Audiobook / Audio | Import audiobooks or audio files (MP3, M4A, M4B, FLAC, etc.) with auto-transcription |
| π¬ Video | Import video files (MP4, WebM, MOV, MKV, etc.) with local playback and transcription |
| π URL | Enter any web URL to fetch and process content |
| πΊ YouTube | Import YouTube videos or playlists |
| π Arxiv | Paste Arxiv ID or URL for research papers |
| πΈ Screenshot | Capture your screen directly |
| π Anki | Import .apkg files from Anki |
| π¦ SuperMemo | Import ZIP exports from SuperMemo |
Once a document is loaded, select text to create extracts β the building blocks for learning items.
- Create extracts: Select text while reading, or use Segmentation (smart, paragraph, semantic, or fixed) to batch-split a document into extracts
- Review & organize: Edit, categorize, and tag extracts in the Extracts tab
- Convert to flashcards:
- Click Create Card on an individual extract β opens Flashcard Studio with the extract as seed content
- Select multiple extracts β Bulk Generate AI-powered flashcards from them
- Optionally enable Auto-Extract on Load in OCR settings to automatically run extraction when opening documents
Review β See due cards β Rate your recall (1-4)
Rating Scale
| Rating | Label | Description | Next Review |
|---|---|---|---|
| 1 | π΄ Again | Forgot completely | ~10 minutes |
| 2 | π‘ Hard | Remembered with difficulty | ~1-2 days |
| 3 | π’ Good | Remembered easily | ~5-7 days |
| 4 | π΅ Easy | Too easy | ~10-14 days |
Preview Intervals: See exactly when each card will appear next before you rate!
Analytics β View stats, charts, and streaks
| Document | Description |
|---|---|
| Feature Overview | Complete feature list and implementation status |
| Installation Guide | Detailed setup instructions |
| OCR Features | Text extraction from images |
| Document | Description |
|---|---|
| Project Summary | Architecture and technical details |
| Implementation Status | Current progress and roadmap |
| OpenSpec Workflow | Contribution guide and proposal process |
incrementum-tauri/
βββ src/ # Frontend (React + TypeScript)
β βββ components/ # UI components
β βββ pages/ # Page components
β βββ stores/ # Zustand state management
β βββ api/ # Tauri command wrappers
β βββ themes/ # Theme definitions
β βββ utils/ # Utility functions
βββ src-tauri/ # Backend (Rust)
β βββ src/
β β βββ commands/ # Tauri command handlers
β β βββ models/ # Data models
β β βββ database/ # SQLite database layer
β β βββ algorithms/ # FSRS, SM-2, SM-18, SM-20 implementations
β β βββ processor/ # Document processors
β β βββ integrations/ # External integrations
β βββ Cargo.toml # Rust dependencies
βββ package.json # Node.js dependencies
| Command | Description |
|---|---|
npm run tauri:dev |
Start development server |
npm run dev |
Web-only development server |
npm run tauri:build |
Build production application |
npm run build |
Build web frontend only |
npm run test |
Run test suite |
npm run test:ui |
Launch test UI |
npm run test:coverage |
Generate coverage report |
npm run tauri:build:linux |
Build for Linux |
npm run tauri:build:macos |
Build for macOS |
npm run tauri:build:windows |
Build for Windows |
npm run tauri:android:init |
Initialize Android project scaffolding |
npm run tauri:android:build |
Build Android ARM64 APK |
npm run tauri:android:dev |
Run Android dev build on ARM64 |
npm run tauri:ios:init |
Initialize iOS project scaffolding (macOS) |
npm run tauri:ios:build:sim |
Build iOS simulator app (Apple Silicon) |
npm run tauri:ios:dev:sim |
Run iOS simulator dev build (Apple Silicon) |
Mobile note: desktop sidecar binaries (like whisper) are disabled on Android/iOS builds via src-tauri/tauri.android.conf.json and src-tauri/tauri.ios.conf.json.
Frontend
- Framework: React 19 with TypeScript
- State Management: Zustand
- Styling: Tailwind CSS
- Build Tool: Vite
- Icons: Lucide React
Backend
- Framework: Tauri 2.0
- Language: Rust
- Database: SQLite with SQLx
- Algorithm: FSRS-6, SM-18, SM-20, SM-2 (spaced repetition)
- Runtime: Tokio (async)
Key Libraries
- React Query: Data fetching and caching
- React Router: Client-side routing
- Recharts: Analytics visualizations
- EPUB.js: EPUB parsing
- PDF.js: PDF rendering
- Three.js: 3D visualizations
- Whisper.cpp: Local audio/video transcription
We welcome contributions! Please see our Contributing Guide for details.
graph LR
A[Check OpenSpec Proposals] --> B[Create Issue/Proposal]
B --> C[Fork Repository]
C --> D[Create Feature Branch]
D --> E[Make Changes]
E --> F[Write Tests]
F --> G[Submit Pull Request]
- Check OpenSpec proposals for planned features
- Create an issue or proposal for new features
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Write tests if applicable
- Submit a pull request
| Language | Tool | Guidelines |
|---|---|---|
| Rust | cargo fmt |
Follow Rust naming conventions |
| TypeScript | Prettier | Functional components, proper typing |
| General | - | Self-documenting code, comment complex logic |
| Operation | Time | Notes |
|---|---|---|
| Startup | <500ms | Cold start |
| Queue Loading | <100ms | 10,000+ cards |
| Review Submission | <50ms | Database write |
| Preview Intervals | <20ms | FSRS calculation |
| Analytics Dashboard | <200ms | All charts loaded |
| Document Import | <2s* | Varies by file size |
*Average PDF/EPUB, processing time included
Apache 2.0 License - see LICENSE for details.
| Project | Contribution |
|---|---|
| FSRS | Excellent spaced repetition algorithm |
| Tauri | Amazing desktop framework |
| Open Spaced Repetition | Research and insights |