OfflineVault

Source

The code is on GitHub.

OfflineVault is free software under the GNU General Public License, version 3. The repository is github.com/nc/offlinevault. This is what it contains.

The Mac app

The OfflineVault app for Apple Silicon: the library, the assistant, maps, videos, scenario cards, the readiness drill, Wi-Fi sharing and the Sparkle updater. Swift and SwiftUI, with Kiwix, llama.cpp, MapLibre, FFmpeg and yt-dlp as helpers.

The engine

The Core package the app is built on: catalogue verification (the signed manifest and the sha256 on every file), licence checks, retrieval across books, PDF pages, saved pages and transcripts, the Field Guide lead rule, the citation verifier and the quote tool that pastes a passage word for word. Usable with your own content, with no plan.

ovsync

The command-line tool for Linux, Windows and macOS that downloads the signed catalogue into a folder Kiwix can serve. Python, with a test suite that runs every command against a fixture server signed with the committed development key.

The accuracy eval

Everything behind the accuracy page: questions.yaml with the 150 questions, their gold facts, harmful statements and sources; scoring.py, the deterministic scorer; run_eval.py, which validates the question set, runs a provider and writes the result files; the retrieval harness; the release gate that refuses to build on a harmful answer or a wrong lead; and the published result files this site is generated from.

The content publisher

The catalogue specification with every title's licence, the publisher that builds, hashes, signs and uploads editions, and the Field Guide articles as source files, each step with the manual and page it cites.

Licence

GPL-3.0-or-later for all of the above. The website and the licence service that issues keys are not part of the repository. The content the app downloads carries its own licences, listed per title on the Sources page.