Repository navigation
cade v0.0.0
First version of cade: a local, offline history of your git commits, browser history, files and Teams messages, queried by date or in natural language.
Português: primeira versão do cade: histórico local e offline dos seus commits, histórico do navegador, arquivos e mensagens do Teams, consultado por data ou em linguagem natural. As notas abaixo estão também no CHANGELOG.pt-BR.md.
Install
- Binary (Linux x86-64, CPU, any CPU with AVX2): download
cade-v0.0.0-linux-amd64-cpu.tar.gzbelow, check it with the.sha256file, and follow "Or from a release binary" in the README. The models are downloaded separately. - From source (and for NVIDIA GPUs,
make cuda): the README's steps from a clean clone to the firstcade ask. - Then
cade init,cade doctor,cade ingest all,cade ask.
Before upgrading a database from a development build
- Migrations run by themselves the first time a command opens the database. Before the first one that rewrites data, cade writes a copy next to it,
cade.db.before-vN-<date>(mode600): it takes about a minute and as much free disk as the database (516 MB for a real history of 108 thousand events).cade doctortells, without changing anything, whether a migration is pending and whether it will copy. - Run
cade reindexonce after migration 5 (vectors per chunk). Until it finishes, long texts have no vectors andaskwarns about it; on a real history it took ~80 s on an RTX 3060. - Do not re-import instead: the Teams cache expires and Chrome keeps ~90 days of history, so
forget+ingestloses data.
Models and licenses
- The default generation model, Qwen2.5-3B-Instruct, is under the Qwen Research License: non-commercial ("research or evaluation purposes only"). For commercial use, get a license from Alibaba Cloud or switch to Qwen2.5-1.5B-Instruct (Apache-2.0), which reads questions worse (see the README's Models section).
- The binary's own dependencies (llama.cpp, SQLite, go-sqlite3, sqlite-vec, klauspost/compress, Go) are listed with their licenses in
THIRD_PARTY_NOTICES.md, included in the archive.
What is in it
See the CHANGELOG for every change, measurement and migration.