← Grimoire

Development & tests

Upstream lives at github.com/wimpal/Grimoire.

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

Quick start

npm install
npm run tauri dev

Tests

AreaCommandNotes
Rustcargo test from src-tauri/Includes library + src-tauri/tests/ integration tests
Rust (ignored)cargo test -- --ignoredOptional heavier tests (e.g. LanceDB smoke)
JavaScriptnpm test from repo rootVitest (src/**/*.test.js)
Watchnpm run test:watchWhile editing JS

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.