Lastbook
Lastbook is an offline survival library for Mac, Windows, and Linux that combines manuals, videos, encyclopedias, an offline map, and optional local AI chat with source citations.
Visit Immortal-Protocols/lastbookOverview
Lastbook is a desktop offline survival library for macOS, Windows, and Linux. It stores manuals, PDFs, videos, offline encyclopedias, an offline map, and short practical guides on one computer; after setup it works without internet. Its sidebar opens Videos, Map, and Chat, and Chat can answer questions using the library and link to sources.
Key Features
- Short curated guides for urgent needs, each pointing to real library pages with page numbers and noting gaps curators found.
- A full offline library of manuals and PDFs with whole-PDF view, videos, offline encyclopedias, keyword search everywhere, and meaning-based search on Windows.
- An offline map with world and US base maps plus a detailed state map selected during setup, including local streets, buildings, terrain, crops, water, help and resource points, and offline address search in that state.
- Optional local AI chat that answers questions in plain words and cites library pages; without it, Chat still finds relevant pages.
- One-download setup with Small, Medium, or All packs, state map selection, checked downloads, and support for using an existing library folder or pack zip.
- Cross-platform desktop app for macOS, Windows, and Linux, with no account and no telemetry.
Use Cases
- Preparing a household or personal computer with offline references for emergencies when internet and mobile service are unavailable.
- Looking up first aid, water purification, food preservation, repair, and power generation guides from stored manuals and videos.
- Finding local streets, water sources, medical points, fire stations, and shelters offline using a chosen state map.
- Asking plain-language questions and getting answers linked to pages in the offline library, with optional local AI.
Getting Started
- Download the Ubuntu 24.04 or 26.04 Linux package, then install it with apt so Ubuntu resolves dependencies.
- Open Lastbook from the application menu; first-run setup downloads the chosen library, state map, and optional local AI.
- To run from source, use Python 3.11 or later with a data folder and the platform-specific requirements file, then run app/main.py with a data path.
Deployment & Requirements
- macOS requires Apple Silicon and macOS 14 or later; Windows requires 64-bit Windows 10 or later; Linux packages target Ubuntu 24.04 or 26.04 LTS on Intel/AMD x86_64.
- Running from source needs Python 3.11 or later and a data folder containing library-data/catalog.json.
- Windows source runs additionally need three WebView2 files from Microsoft.Web.WebView2 1.0.3856.49 placed in app/webview2/.
- Linux source runs must use packaging/linux/run_source_linux.sh and a virtual environment with system site packages; video playback requires GStreamer and an AV1 decoder for many library videos.
Before You Adopt
- License: MIT. Review its terms before using, modifying, or distributing the project.
- The iPad version is a development preview available only as source for contributors to build and sign themselves.
- The Linux release has limited validation: testing covered Ubuntu 24.04.5 in WSL2, and native GPU performance and other distributions were not validated.
- The local AI is optional and setup offers it only when the measured fit indicates sufficient memory for the model and context.