✨ Just In Case
Resilience when the internet goes dark. An offline, LLM-powered survival and preparedness engine providing checklists, plans, and conversational guidance when you need it most.
Overview
Just In Case is a locally-hosted emergency preparedness and survival knowledge engine. It bundles curated preparedness content — checklists, guides, first aid procedures, emergency plans, and scenario playbooks — and makes them accessible through a local AI interface that works even when the internet is completely unavailable.
The entire knowledge base is embedded locally. When you need it most — power grid failure, natural disaster, communications blackout — Just In Case continues operating from your Hub’s local storage and compute.
Key Features
- Offline-first — full functionality with no internet connection
- Conversational interface — ask questions in plain language (“What do I do if someone is having a seizure?”)
- Scenario playbooks — pre-built step-by-step guides for dozens of emergency scenarios
- Customizable checklists — build and maintain your household’s personal go-bag and supply lists
- Location-aware planning — configure your region for locally relevant guidance (hurricane, earthquake, tornado, etc.)
- Local LLM integration — connects to your Hub’s Ollama instance for intelligent, contextual responses
- Offline maps — bundled offline map tiles for your configured region (via Kiwix or Organic Maps data)
- Family sharing — accessible on any device on your local network
Use Cases
- “What’s in a 72-hour bug-out bag?” — full packing list with rationale
- “Our power has been out for 6 hours. What should we prioritize?” — contextual triage guide
- “How do I purify water without filters?” — step-by-step local knowledge
- “Earthquake just happened. What do we do?” — immediate action sequence
- Annual preparedness drill: trigger a Spellbook spell that reviews your supply inventory
Knowledge Base
Just In Case ships with content sourced from:
| Source | Topics |
|---|---|
| FEMA preparedness guides | Disaster response, supply lists |
| Red Cross first aid | Medical emergencies, CPR |
| WHO emergency health | Sanitation, water safety |
| US Army Field Manuals (public domain) | Fieldcraft, navigation |
| Community-contributed playbooks | Local and regional scenarios |
The knowledge base is updated with each release and can be extended with custom documents.
Architecture
Just In Case Web UI
│
▼
Query Engine
├── RAG pipeline
│ ├── Embedded knowledge base (vector store)
│ └── Retrieval from custom documents
│
└── LLM completion
(local Ollama instance)
│
▼
Conversational response + cited sourcesAll data stays on your Hub. The vector store is built at install time from the bundled knowledge base.
Setup
Install from Hub
Search for Just In Case in the Hub app store and install. The initial install downloads and indexes the knowledge base — this may take a few minutes.
Configure your region
Open http://just-in-case.ci.localhost → Settings → Region. Select your country and region for locally relevant disaster guidance and offline map tiles.
Connect your LLM
In Settings → LLM, set the model endpoint to your local Ollama instance (http://ollama.ci.localhost) and choose the model to use for conversational responses.
Build your household profile
Navigate to My Household and enter:
- Number of people and pets
- Any medical conditions or special needs
- Current supply inventory
- Go-bag contents
This context enriches all responses with personalized, relevant guidance.
Usage
Asking a Question
Type or speak your question in the main interface. Just In Case retrieves the most relevant knowledge chunks and generates a response, citing its sources.
Browsing Scenarios
Navigate to Scenarios to browse the full scenario library. Each scenario includes:
- Immediate actions (first 5 minutes)
- Short-term response (hours to days)
- Long-term considerations
- Supply checklist
Managing Checklists
Under Checklists, view and edit your go-bag, 72-hour kit, and shelter-in-place supply lists. Mark items as stocked and set reminder dates for items that expire.
Offline Mode Verification
Periodically test offline operation: disconnect your Hub from the internet and verify Just In Case is still accessible at http://just-in-case.ci.localhost from your local network.
Troubleshooting
Responses seem generic or miss my context Complete your Household Profile in Settings. The more context provided, the more personalized the responses.
Knowledge base seems outdated Update from Settings → Knowledge Base → Check for Updates (requires internet connection during update). Updates are infrequent and non-breaking.
LLM responses are slow
Switch to a smaller, faster model in Settings. For emergency use, speed is more valuable than quality. llama3.2:3b provides acceptable quality at high speed.
App inaccessible after network change Verify your Hub is still running and accessible on the local network. Just In Case does not require internet — only local network connectivity to your Hub.
Links
- GitHub Repository
- Spellbook — automate preparedness drills
- Kiwix — offline reference library (Wikipedia, etc.)