Preparedness is mostly about having the right information when you cannot look it up. This guide combines Fyr's pieces into a single box: offline maps, a reference library, a local AI assistant, and offline utilities, served over a Wi-Fi hotspot so that any phone or laptop in range can use it from a browser. Prepare it while you still have internet; afterwards it needs only power.
Hardware checklist#
- Raspberry Pi with built-in Wi-Fi (3B+ or newer) running a 64-bit, Debian-based OS with NetworkManager — the default on Raspberry Pi OS Bookworm. A Pi 5 with 8 GB RAM gives you room for a larger AI model.
- Storage: a USB SSD or large microSD card. Budget space for each item on the preload list below.
- Power: an official power supply for home use, plus a battery pack or a small solar setup sized for your Pi model for off-grid use.
- Optional: a spare SD card with a cloned image, stored separately, as a backup.
Step 1: Install Fyr#
With the Pi online, run the hosted installer:
curl -fsSL https://fyr.guide/install.sh | sh
The installer runs Fyr as a Docker container that restarts automatically on boot and listens on all interfaces. Pass --admin-password to protect management features and --data-dir to keep content on a USB drive; both are remembered for upgrades. See the installation guide for the manual docker run command and bind-mounting a USB drive. On older boards, use --legacy if the container fails with an illegal instruction error.
Step 2: Preload the content#
Use Content Manager to queue downloads or import files. A practical starting list:
| Content | Where to get it | Fyr folder |
|---|---|---|
| Maps of your region (plus a low-zoom world map) | BBBike PMTiles extracts or the pmtiles CLI — see the offline maps guide | maps/ |
| Wikipedia in your language | Kiwix ZIM archives — see the offline Wikipedia guide | books/ |
| Medical, travel, and dictionary references | Topic ZIMs from library.kiwix.org, such as medicine-focused Wikipedia selections, Wikivoyage, and Wiktionary | books/ |
| Repair, gardening, and how-to books | Public-domain EPUBs from Standard Ebooks and Project Gutenberg | books/ |
| Your own documents | Equipment manuals as PDF, family plans and checklists as Markdown | books/ |
| Local points of interest | GeoJSON or FlatGeobuf exports (shelters, water sources, meeting points) | poi/ |
| A local AI model | Qwen2.5-3B-Instruct (Q6_K) for a Pi 5 — see the local AI guide | models/ |
| Offline installers, drivers, checksum lists | Whatever your devices need to be rebuilt | misc/ |
Downloads are routed to the right folder by file extension. Fyr itself also ships offline Tools: unit converters (length, mass, temperature, volume, pressure, energy, and more) and text encryption, encoding, and checksum utilities.
Step 3: Turn the Pi into a Wi-Fi hotspot#
Create the hotspot with NetworkManager (replace Fyr and offline-fyr with your preferred SSID and password):
sudo nmcli device wifi hotspot \
ifname wlan0 \
con-name fyr-hotspot \
ssid "Fyr" \
password "offline-fyr"
Enable the hotspot to start automatically on every boot:
sudo nmcli connection modify fyr-hotspot connection.autoconnect yes
sudo nmcli connection modify fyr-hotspot connection.autoconnect-priority 10
Bring it up immediately without rebooting:
sudo nmcli connection up fyr-hotspot
Devices that join the Fyr network reach the server at http://10.42.0.1:8080, the default hotspot gateway address assigned by NetworkManager. If the Pi is also plugged into Ethernet, NetworkManager shares that connection through the hotspot when it is available. The same steps are on the Platform Setup tab of the installation guide.
Step 4: Lock it down for shared use#
If other people will use the box, set an admin password (installer --admin-password, or FYR_ADMIN_PASSWORD): guests can read, browse maps, and chat with the assistant, while downloads, imports, deletions, and settings need an admin login. For a public kiosk where nothing should ever change, reinstall with --readonly (FYR_READONLY=true), which blocks every change on the server and hides storage details.
Step 5: Test it offline — before you need it#
Unplug Ethernet and disable any upstream Wi-Fi, reboot, then connect a phone to the hotspot and walk through the checklist:
- The hotspot appears after boot and
http://10.42.0.1:8080opens. - Maps render at street level for your area, and Wikipedia articles open and search.
- The AI assistant loads its model and answers within an acceptable time.
- On the phone, add Fyr to the home screen so it opens like an app.
Repeat the test after each upgrade. To update Fyr while you have internet, re-run the installer with update; your settings and content are preserved.
curl -fsSL https://fyr.guide/install.sh | sh -s -- update
Keeping it useful#
- Refresh maps and ZIM archives every few months; Kiwix and the map sources publish new dated builds regularly.
- Keep a copy of your data directory on a second drive so a failed card does not take the library with it.
- Print a card with the network name, password, and address and keep it with the device.
Related guides#
- Offline Wikipedia on a Raspberry Pi — How to run a full offline copy of Wikipedia on a Raspberry Pi: pick the right Kiwix ZIM file, install Fyr, load the archive, and read and search it from any browser on your network.
- Build a self-hosted offline maps server — Run your own offline OpenStreetMap server: where to download PMTiles maps, how to extract a region with the pmtiles CLI, and how to serve PMTiles and MBTiles to any browser with Fyr — no tile server or API key.
- Run a local AI assistant offline — no GPU required — Run a private, offline AI chat assistant on a Raspberry Pi or any PC without a GPU: which GGUF models to pick for 4, 8 and 16 GB of RAM, where to download them, and how to load them in Fyr.
- Fyr compared with the alternatives — An honest comparison of Fyr with Kiwix-serve, Internet-in-a-Box, Organic Maps / OsmAnd and Ollama / Open WebUI for offline Wikipedia, offline maps and local AI — including where each alternative is the better choice.