DoomReady · Guide

Kiwix on a Raspberry Pi: your own offline internet in a box

Put Kiwix's server (kiwix-serve) on a Raspberry Pi, load ZIM files such as Wikipedia, and make the Pi broadcast its own Wi-Fi hotspot. Any phone that joins the hotspot opens the library in a normal browser, with no internet. A Raspberry Pi 5 with an NVMe drive is fast enough for several people at once.

What you need

  • A Raspberry Pi (the Offline Brain uses a Pi 5 with 8GB of memory).
  • Storage big enough for your library: an NVMe drive on a Pi 5 is much faster than a microSD card.
  • Power: the official USB-C supply at home, and a power bank for outages.

The setup, in order

  1. Install Raspberry Pi OS with Raspberry Pi Imager.
  2. Install kiwix-tools (it includes kiwix-serve) and copy your .zim files to the drive.
  3. Run kiwix-serve pointed at your library folder and set it to start on boot.
  4. Turn the Pi's Wi-Fi into a hotspot so phones can join it directly.
  5. From a phone on that hotspot, open the Pi's address in the browser. That's your library.

Want it ready-made?

Internet-in-a-Box is a free project that bundles Kiwix, maps and other content into a Raspberry Pi image, and it's a good choice if you'd rather not configure anything. The Offline Brain guide goes one step further: the same library plus a local AI that explains what it finds, a power plan and a parts list.

Questions people ask

Can a Raspberry Pi serve offline Wikipedia to several phones?

Yes. Kiwix's server is light; a Pi 5 serves a household comfortably. The drive speed matters more than the processor.

Do I need a microSD card or an SSD?

Either works. An NVMe SSD on a Pi 5 is far faster for search and large libraries.

How much power does it use?

DoomReady measured about 3W idle on a Pi 5 running the library, so a 74Wh power bank runs it roughly 10.5 hours.

Read next

Sources