
Survival Guide
Survival Guide is a private offline library for Android. While online, the user saves the web pages, map areas and AI model they want. With no signal, they can read and search their guides, ask questions of them, and see where they are on the map.
- ✦Private by Design: No account, sign-in or tracking. The library stays on the device, and the app only goes online to fetch what the user asks for.
- ✦Answers Without Signal: An AI model running on the phone answers questions from the user's own saved guides, and shows the passages each answer came from.
- ✦Offline Maps: Map areas from OpenStreetMap, saved for use without signal, with GPS location, search by place name and the user's own marked places.
Pages are fetched natively, the article is picked out with Readability, and it is stored in an on-device IndexedDB database as structured text blocks, never HTML, so nothing from a web page runs in the app. Pictures are shrunk to WebP and kept alongside.
Every network request goes through one gate in a Kotlin plugin: https only, no cookies, a generic user agent, and none at all in Offline mode. The web layer's Content-Security-Policy blocks everything else, which an end-to-end test checks.
Guides are split into passages and embedded in the background with EmbeddingGemma, for search by meaning. Questions are answered by Gemma running on the phone through LiteRT-LM, GPU first with a CPU fallback, from the best passages only, with numbered citations.
Models are Apache-2.0 and downloaded by the user, so the app ships no third-party content. On a computer, the web version can use Ollama on the same machine instead.
Map regions are cut on the phone from Protomaps' planet-wide PMTiles archive, reading only the chosen area's tiles with HTTP range requests, and drawn with MapLibre.
Place names are read from the saved tiles into a local index for offline search. Location uses the GPS provider only, never network location.
The Vite and React web app is wrapped with Capacitor, with a local Kotlin plugin for downloads, byte-range reads and the on-device models, and released on Google Play.
A single one-off Play purchase, managed through RevenueCat, unlocks Premium, with no subscription.





