← Grimoire

Development & tests

Upstream lives at github.com/3ravens/Grimoire.

This page summarizes the README sections that matter for local hacking.

Prerequisites

npm install and npm run tauri dev assume Node.js, Rust, and Tauri OS prerequisites — plus native libraries (libzim, WebKitGTK, vcpkg on Windows, and so on). Follow:

Quick start

npm install
npm run tauri dev

Release bundles (after prerequisites):

npm run tauri:build   # under src-tauri/target/release/bundle/

Tests

AreaCommandNotes
RustFrom src-tauri/: cargo testLibrary + src-tauri/tests/ integration tests
Rust (ignored)From src-tauri/: cargo test -- --ignoredOptional heavier tests (e.g. LanceDB smoke)
JavaScriptFrom repo root: npm testVitest (src/**/*.test.js)
WatchFrom repo root: npm run test:watchWhile editing JS

Optional: some offline / perf-oriented flows use env flags such as PERF_OFFLINE=1 in the app test suite — see upstream tests when debugging those paths.

Wikipedia indexing benchmark (dev)

The README describes a developer workflow:

python scripts/compare_wiki_benchmark.py --current path/to/current_benchmark.json
python scripts/compare_wiki_benchmark.py --current path/to/current_benchmark.json --verbose

The script exits with code 1 when regression thresholds fail.

Stack (from README)

LayerTechnology
UISvelte + Vite
Desktop shellTauri
BackendRust
DatabaseSQLite (sqlx)
Vector searchLanceDB
LLM runtimeOllama

License

GPL v3.

Commercial licensing language is quoted in the app README License section. Read there for the canonical text.