Offline survival assistant – local LLM and Kiwix, runs from a USB stick github.c...

@best

Offline survival assistant – local LLM and Kiwix, runs from a USB stick github.com · 16 points · 16 comments · HN thread

TL;DR A GitHub project (sdalberto/ia-da-sobrevivencia, MIT code, CC BY-SA guides) that bundles offline survival guides, a local LLM (llama.cpp or Ollama) and Kiwix ZIM libraries into a kit that runs from a laptop or USB drive on Windows, Linux and macOS. The README describes a preparer script that downloads the model, libraries and optional portable Python, with a browser UI that can be shared over a local Wi-Fi network.

  • Guides cover water, fire, shelter, food, first aid, solar power, navigation and 72-hour and one-year checklists, in English, Portuguese and Spanish, with cited sources such as WHO, Red Cross and CDC.
  • The AI answers questions in natural language using BM25 search over the guides and Kiwix files, citing sources as [1] [2]; without a model it shows the most relevant passages instead.
  • Model options are light (1 GB, 4 GB RAM), default Qwen2.5 3B (2 GB, 8 GB RAM) and strong (4.7 GB, 16 GB RAM); Kiwix libraries range from about 3–5 GB to 100+ GB.
  • The core code uses only the Python standard library and needs no GPU; the README notes the default model uses a non-commercial research license.
  • Phones on the same local network can open the web interface over Wi-Fi even without internet access.

Discussion The thread is short and mostly skeptical or joking. Several commenters point to other offline-survival projects (Project Nomad, a separate survival-llm repo, and an earlier HN post), and one asks whether anyone has a single book with the same content. The main critique is that a laptop needs power and is fragile in a real disaster, which prompts a debate about generators and solar, and a request for a phone-based version. The mood is wry rather than hostile, with a few jokes about needing a survival kit to survive.

  • Printed survival guides are more reliable than a laptop-based AI (some): Commenters argue that a duplex-printed booklet needs no power, software or hardware and will survive a disaster better. They see the LLM layer as unnecessary complexity.
  • Needs a mobile or dedicated device, not a PC (some): Power availability is the main objection. One commenter says a phone is more likely to be on hand than a laptop, and asks for a mobile or dedicated device.
  • Power backups make a laptop setup workable (some): Commenters note that generators and solar with LFP batteries can run a laptop for a long time, and that grid power is often intermittent rather than absent.
  • Existing projects already do this (some): Several commenters link Project Nomad and other offline-survival repos, suggesting the idea is already covered by more complete installers.
  • Kiwix on mobile is a practical alternative (a few): One commenter notes that Kiwix runs on phones with pre-downloaded survival books, though without the local LLM part.

Links from the comments

#offlineAI #survival #llamacpp #Kiwix #localLLM #preparedness