Fyr helps you preload maps, encyclopedias, books, and practical utilities for off-grid use. Run it on a Raspberry Pi, homelab, or Linux host, and add optional on-device AI inference so your system stays useful when the internet goes down.
Access and manage a vast library of knowledge from a single local interface.
Render vector and raster maps locally using PMTiles and MBTiles, with absolutely no external tile server required.
Read EPUB, PDF, Markdown, and ZIM files (Wikipedia & Kiwix-format) entirely on-device. Download maps, books, and AI models directly from the UI.
Chat with local GGUF language models — Qwen, Llama, Phi, and more — without sending a single byte to the cloud. No GPU required; runs on CPU on any hardware including Raspberry Pi.
No accounts, no subscriptions, no telemetry. What you read, search, and ask stays inside your own network — always.
Native linux/arm64 support. Deploy Fyr on a Raspberry Pi and optionally turn it into a standalone Wi-Fi hotspot for fully off-grid access. See the guide →
Bind to your LAN or turn a Raspberry Pi into a Wi-Fi hotspot. Every device on the network gets access to maps, books, and AI — no app installs needed.
Fyr is one self-contained executable. No database server, no cache layer, no extra services to install or keep running.
Pick the setup that matches yours — each guide walks through it step by step.
Preparedness & off-grid
Preload maps, Wikipedia, and manuals on a Pi with its own Wi-Fi hotspot — useful when the grid or the internet is down.
Homelab & self-hosters
Serve Kiwix ZIM archives — Wikipedia, Wiktionary, Stack Exchange — to every browser on your LAN.
Cabins, boats & field work
OpenStreetMap from PMTiles or MBTiles, rendered in the browser with no tile server or map API key.
Privacy-first AI
Chat with Qwen2.5, Llama 3.2, or Phi-3.5 GGUF models on CPU — prompts never leave your network.
Schools, libraries, and kiosks can run Fyr in strict read-only mode. Weighing alternatives? See the comparison with Kiwix, Internet-in-a-Box, and Ollama.
Explore the clean local dashboard and workspace interfaces.
Choose the setup path that fits your environment.
Latest release v0.9.0 · release notes · Docker Hub
The recommended way to install Fyr. A guided setup with persistent settings and easy upgrades.
curl -fsSL https://fyr.guide/install.sh | sh
irm https://fyr.guide/install.ps1 | iex
Open http://localhost:8080 in your browser to begin.
🚀 Upgrade to a new version
The installer persists your settings (port, data directory, admin password) in ~/.config/fyr/install.conf (Linux/macOS) or %APPDATA%\fyr\install.conf (Windows). To upgrade, just add update:
curl -fsSL https://fyr.guide/install.sh | sh -s -- update
irm https://fyr.guide/install.ps1 | iex; Install-Fyr -Update
⚙️ All installer arguments
| Argument | Linux / macOS | Windows | Default | Description |
|---|---|---|---|---|
| Tag | latest / dev / v1.2.3 / legacy / pc-legacy / rpi-legacy |
-Tag |
latest |
Docker image tag. Default tags are optimized. |
| Update | update |
-Update |
— |
Recreate container, preserve data |
| Data dir | --data-dir |
-DataDir |
— |
Bind-mount host path |
| Data volume | --data-volume |
-DataVolume |
fyr-data |
Named Docker volume |
| Port | --port |
-Port |
8080 |
Host port |
| Admin password | --admin-password |
-AdminPassword |
— |
Enable admin mode |
| Read-only | --readonly |
-ReadOnly |
— |
Strict read-only mode |
| HTTPS | --https |
-Https |
off |
Serve HTTPS with a self-signed certificate (GPS / My Location on phones) |
| Own certificate | --tls-cert + --tls-key |
-TlsCert + -TlsKey |
— |
Serve HTTPS with your PEM certificate and key (mounted read-only) |
| Certificate names | --tls-sans |
-TlsSans |
auto |
Extra names/IPs for the self-signed certificate (host name and LAN IPs are added automatically) |
| HTTP redirect | --http-redirect-port |
-HttpRedirectPort |
— |
Also redirect plain HTTP on this port (e.g. 80) to HTTPS |
| HTTPS off | --no-https |
-NoHttps |
— |
Turn HTTPS off and forget saved HTTPS settings |
| Legacy shortcut | --legacy / --pc-legacy / --rpi-legacy |
-Legacy / -PcLegacy / -RpiLegacy |
— |
Switch to compatibility-first legacy tags |
Run with --help (Linux) or -Help (Windows) to see this in the terminal.
🧯 Legacy hardware shortcuts
curl -fsSL https://fyr.guide/install.sh | sh -s -- --legacy
irm https://fyr.guide/install.ps1 | iex; Install-Fyr -Legacy
Use --pc-legacy / -PcLegacy or --rpi-legacy / -RpiLegacy when you want to force a specific legacy image family.
Prefer to control the container directly? Use the raw docker run command.
docker run -d --restart unless-stopped --name fyr \
-p 8080:8080 \
-e FYR_HOST=0.0.0.0 \
-e DATA_DIR=/data \
-v fyr-data:/data \
hexagon/fyr:latest
🔧 What each flag does
-d --restart unless-stopped --name fyr — Run in detached mode as a persistent service that restarts automatically on boot.-p 8080:8080 — Map host port 8080 to the container's port 8080.-e FYR_HOST=0.0.0.0 — Bind to all network interfaces so other devices on the LAN can connect.-e DATA_DIR=/data — Set the data directory inside the container.-v fyr-data:/data — Persist all content (maps, books, models, downloads) in a named Docker volume.🔒 HTTPS (needed for GPS / My Location on phones)
Browsers only share location with https:// pages (or localhost). Fyr can serve HTTPS itself with a self-signed certificate stored in the data volume. List the addresses clients use in FYR_TLS_SANS, because the container cannot see the host's IPs:
docker run -d --restart unless-stopped --name fyr \ -p 8080:8080 \ -e FYR_HOST=0.0.0.0 -e DATA_DIR=/data \ -e FYR_TLS=self-signed \ -e FYR_TLS_SANS=192.168.1.10,fyr.local \ -v fyr-data:/data \ hexagon/fyr:latest
Then open https://<host-ip>:8080 and accept the one-time certificate warning after comparing the SHA-256 fingerprint from docker logs fyr (see the User Manual, "HTTPS and Trusting This Server"). With your own certificate, mount it read-only and set FYR_TLS_CERT / FYR_TLS_KEY to the paths inside the container (readable by UID 1000). The healthcheck works in both modes. The port serves only HTTPS once enabled; add -p 80:80 -e FYR_HTTP_REDIRECT_PORT=80 to redirect plain HTTP (use the same host and container port numbers when redirecting).
📦 Environment Variables
| Variable | Default | Description |
|---|---|---|
| FYR_HOST | 127.0.0.1 |
Bind address (use 0.0.0.0 for LAN access) |
| FYR_PORT | 8080 |
Listening port |
| DATA_DIR | ./public/data |
Content storage path |
| FYR_ADMIN_PASSWORD | — |
Enable password-protected admin mode |
| FYR_READONLY | — |
Set to true for strict read-only mode |
| FYR_GUEST_MESSAGING | false |
With an admin password set, let guests post in Messages |
| FYR_TRUSTED_PROXIES | — |
Reverse proxy IPs/CIDRs (e.g. 127.0.0.1) whose X-Forwarded-For is trusted for per-client rate limits |
| FYR_TLS | off |
Set to self-signed to serve HTTPS with a generated certificate (kept in DATA_DIR/tls/) |
| FYR_TLS_CERT / FYR_TLS_KEY | — |
PEM certificate chain and private key paths; set both to serve HTTPS with your own certificate |
| FYR_TLS_SANS | — |
Extra comma-separated names/IPs for the self-signed certificate |
| FYR_HTTP_REDIRECT_PORT | — |
Optional plain-HTTP port that redirects to HTTPS |
💾 Data Persistence Options
Fyr stores all user data in DATA_DIR (/data in the container). Choose one of these strategies to keep data across container restarts:
Named volume (simplest):
-v fyr-data:/data
Host bind-mount (direct filesystem access):
-v /path/to/fyr-data:/data
Windows bind-mount:
-v C:\fyr-data:/data
🏷️ Image Tags
hexagon/fyr:latest — Stable production image, optimized by default.hexagon/fyr:dev — Development/testing image, also optimized by default.hexagon/fyr:legacy — Stable multi-arch legacy build for maximum compatibility.hexagon/fyr:pc-legacy — Generic x86_64 build for older PCs without AVX2/FMA.hexagon/fyr:rpi-legacy — Generic arm64 build for older Raspberry Pi-class hardware without dotprod.
Default tags are optimized for newer CPUs and can fail on older hardware with illegal instruction errors. Use legacy, pc-legacy, or rpi-legacy when you need broader compatibility.
🐧 Linux bind-mount permissions
On Linux-based systems, if you use a host directory bind-mount instead of a named volume, ensure the directory is writable by the container's user (UID 1000):
sudo chown -R 1000:1000 /path/to/fyr-data
Yes. Fyr is designed for offline-first operation. Once your content is downloaded, maps, books, local AI models, and utilities can be used without internet connectivity.
Yes. Fyr supports linux/arm64 and is suitable for Raspberry Pi 64-bit deployments, including standalone hotspot-style setups for off-grid access.
Yes. Fyr includes native ZIM parsing for Kiwix/Wikipedia-style offline archives, alongside EPUB, PDF, and Markdown reading support.
No. Fyr’s local AI workflow is built around on-device GGUF models, so prompts and data can stay inside your own network.
OpenStreetMap vector and raster tiles (PMTiles and MBTiles), Wikipedia and Kiwix ZIM archives, Project Gutenberg and other EPUB books, PDF and Markdown documents, and GGUF language models (Qwen2.5, Llama 3.2, Phi-3.5, and others). Fyr includes a curated catalog to help you get started.
Yes. Bind Fyr to your LAN interface (FYR_HOST=0.0.0.0) and any phone, tablet, or laptop on the same network can access it through a browser — no app installs required. On a Raspberry Pi you can also set up a standalone Wi-Fi hotspot so devices connect directly.
Fyr’s curated catalog recommends Qwen2.5-3B-Instruct (Q6_K, about 2.6 GB) as the default on a Raspberry Pi 5, Qwen2.5-1.5B-Instruct (Q8_0) on 4 GB boards, and Qwen2.5-7B-Instruct (Q4_K_M) on 8 GB boards. Inference runs on the CPU — no GPU needed. See the local AI guide.
Yes. Set FYR_ADMIN_PASSWORD so guests can browse and read while only the admin can download, import, or change settings, or set FYR_READONLY=true for a strict read-only kiosk where every change is refused by the server.
Kiwix focuses on ZIM archives and Internet-in-a-Box bundles many separate apps. Fyr combines ZIM, EPUB, PDF, and Markdown reading with offline maps and a local AI assistant in a single binary with one web interface. Read the full comparison, including where the alternatives are the better choice.
Use the docs below for role-specific guidance. Fyr 0.9 is a pre-release of 1.0, so check docs with each upgrade.
Project overview, quick start, and a navigation hub for all canonical docs.
Branching strategy, validation checklist, and documentation update requirements.
Detailed usage reference for access control, AI setup, data directories, and troubleshooting.
Architecture diagrams, API endpoints, project structure, and contribution guidelines.
Manuals as Markdown on GitHub: User Manual · Developer Manual
Step-by-step guides: offline Wikipedia on a Raspberry Pi · offline maps server · local AI assistant · off-grid emergency knowledge server
Free and open source (MIT). One container or one binary, on a Raspberry Pi, homelab, or any Linux, macOS, or Windows machine with Docker.
Latest release: v0.9.0