A desktop RAG (Retrieval-Augmented Generation) application for EPUB books.
Select an EPUB file, Nabu chunks and indexes it using Ollama embeddings, then lets you ask natural-language questions — answered with context from the book.
Stack: Tauri v2 (Rust) + React/TypeScript + Python (subprocess) + SQLite-vec
Full docs, setup guide, and usage instructions →
rag-reader/README.md
Windows:
install.batLinux:
chmod +x install.sh && ./install.shThe install script checks prerequisites, installs deps, sets up the Python venv, npm installs, and pulls Ollama models — all in one go.
Windows (PowerShell):
cd rag-reader
npm install
cd python
python -m venv .venv
.venv\Scripts\Activate
pip install -r requirements.txt
cd ..
npx tauri devLinux:
cd rag-reader
npm install
cd python && python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
cd .. && npx tauri dev| Tool | Required | Windows | Linux |
|---|---|---|---|
| Ollama | Yes | ollama.com/download/windows | curl -fsSL https://ollama.com/install.sh | sh |
| Node.js 18+ | Yes | nodejs.org | nodejs.org |
| Rust 1.75+ | Yes | rustup.rs | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
| Python 3.11+ | Yes | python.org | python.org |
| WebView2 | Yes | Built into Windows 10/11 | sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev pkg-config |
├── install.sh ← One-click install script
├── .gitignore
├── README.md ← This file
├── architecture.md ← Original build planning doc
└── rag-reader/ ← The actual project
├── README.md ← Full install/run/use guide
├── src/ ← React/TypeScript frontend
├── src-tauri/ ← Rust Tauri backend
└── python/ ← Python RAG pipeline (CLI + modules)
MIT