Skip to content

draeg82/Nabu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nabu — Book RAG Reader

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


🚀 One-Click Install

Windows:

install.bat

Linux:

chmod +x install.sh && ./install.sh

The install script checks prerequisites, installs deps, sets up the Python venv, npm installs, and pulls Ollama models — all in one go.

🧪 Quick Start (Manual)

Windows (PowerShell):

cd rag-reader
npm install
cd python
python -m venv .venv
.venv\Scripts\Activate
pip install -r requirements.txt
cd ..
npx tauri dev

Linux:

cd rag-reader
npm install
cd python && python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
cd .. && npx tauri dev

Prerequisites

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

Repo Structure

├── 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)

License

MIT

About

Desktop RAG reader for EPUB books — chunk, embed, and query with Ollama. Built with Tauri v2 + React/TypeScript + Python.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors