# Keeping an Offline Copy of StackOverflow with Kiwix

Source: https://rickcarlino.com/2020/keeping-an-offline-copy-of-stackoverflow-with-kiwix.html
Published: 2020-08-09

For developers working in an offline environment such as public transit or rural
dead zones, looking up information on sites like Wikipedia or StackOverflow
might seem impossible.

Lately, I've been using [Kiwix](https://kiwix.org/en/applications/) to keep offline copies
of popular sites like Wikipedia and StackOverflow, aided by the availability of
cheap USB mass storage devices. Kiwix is an offline web browser that uses a
[specialized archive file format](https://en.wikipedia.org/wiki/ZIM_(file_format))
to store copies of reference material. It was built to view Wikipedia articles
but later expanded for other data sources like StackOverflow and Open Street
Map.

Keeping an offline copy is simple:

1. [Download Kiwix Reader](https://kiwix.org/en/applications/)
2. Find
   [relevant ZIM packages](https://wiki.kiwix.org/wiki/Content_in_all_languages),
   downloading them via BitTorrent. The files are large, often several hundred
   GB in size. A new USB drive may be helpful.
3. Open the files using Kiwix.

The experience is like the web version but with a blazing fast load time and the
ability to look things up when the internet cuts out.

![Viewing Wiki articles on Kiwix](/images/2020/kiwix_wikipedia.png)

![Viewing StackOverflow articles on Kiwix](/images/2020/kiwix_stackoverflow.png)
