{"id":1440,"date":"2025-11-30T13:56:09","date_gmt":"2025-11-30T20:56:09","guid":{"rendered":"https:\/\/www.netjeff.com\/wp\/?p=1440"},"modified":"2025-12-07T08:15:04","modified_gmt":"2025-12-07T15:15:04","slug":"wikipedia-offline","status":"publish","type":"post","link":"https:\/\/www.netjeff.com\/wp\/?p=1440","title":{"rendered":"Wikipedia offline"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Every few years I look into having an offline copy of wikipedia.  Don&#8217;t know why, just something that feels like I should have.  Here&#8217;s what worked well for me in late 2025.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">I started with Kiwix.org, an open-source project designed to make it &#8220;easy&#8221; to have offline access to websites, including wikipedia, but also many others. They provide apps for Android, iPhone, Windows, etc. I installed the Windows version, via the Microsoft Store.   Why the MS Store?  Because automatic updates are more transparent.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To view a site offline, the Kiwix app needs an &#8220;archive&#8221; file with .zim suffix. On first launch, Kiwix asks which .zim archive file I want to open. Since I didn&#8217;t have any archive files yet, I needed to find a way to download a .zim archive for wikipedia.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The initial Kiwix launch screen has a button for &#8220;Open library&#8221;, which goes online to find potential .zim archive files for download. Using the &#8220;Open library&#8221; gives a clunky\/old-school list of folders, kind of like an old ftp site.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I scrolled down and clicked on &#8220;wikipedia&#8221;. Now I have a huge list of archive files, which one? There is a filter above the list for &#8220;language&#8221;, so I chose &#8220;English&#8221; which filtered down to &#8220;only&#8221; a few dozen entries. There is also a &#8220;Subject&#8221; filter with entries like: top; top1m (top 1 million?); astronomy; baseball; etc.  I want &#8220;everything&#8221;, but no option in the &#8220;Subject&#8221; filter for that. So I sorted on size.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The largest was 111 GB, named wikipedia_en_all_maxi_2025-08.zim. Based on the file name it seems like this is english (&#8220;en&#8221;) with everything (&#8220;all_maxi&#8221;) from Aug 2025 (&#8220;2025-08&#8221;). The other entries sorted by size had things in name like &#8220;all_nopic&#8221;, so I guess this means no pictures. Or &#8220;top1m_maxi&#8221;, so I guess top 1 million articles with pics.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The largest wikipedia_en_all_maxi_2025-08.zim seemed like what I want, everything with pics. Clicking it offered different download options. It recommended using bittorrent, to be a good citizen. I&#8217;m familiar with bittorrent so took that option. I&#8217;m sure that the other download options work fine, too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After the 111 GB download of the .zim archive file finished, I went back into Kiwix app and used &#8220;Select storage&#8221; to open the .zim archive. And there it was, the full wikipedia, with images, as of Aug 2025.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">A few final thoughts&#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are archives for lots more than wikipedia:  gutenberg, wikibooks, wikivoyage, and others<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Strictly speaking I don&#8217;t have the full full wikipedia, because the .zim archive I downloaded is only current article body with pics, but does not include things like: full history of each article; discussion (talk) about each article, etc. But that&#8217;s ok for my needs. I&#8217;m sure that getting the full history and discussion would at least double the size, probably more like 10x.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because I used torrent for download, and keep the torrent running on my side, I&#8217;m contributing back to the community for people who want to download.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I will need to periodically get a newer .zim archive of wikipedia. But each time I&#8217;ll still have the older one around, for reference.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m guessing this would also work well with mobile devices, using Kiwix for Android\/iPhone.  Of course this uses up 100+ GB of storage on the device.  But some Android devices, especially &#8220;tablets&#8221;, support microSD cards, which are down to $25 for a 256 GB card.  So that&#8217;s not too bad.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every few years I look into having an offline copy of wikipedia. Don&#8217;t know why, just something that feels like I should have. Here&#8217;s what worked well for me in late 2025.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1440","post","type-post","status-publish","format-standard","hentry","category-tech","content-layout-full"],"_links":{"self":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1440"}],"version-history":[{"count":8,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1440\/revisions"}],"predecessor-version":[{"id":1455,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1440\/revisions\/1455"}],"wp:attachment":[{"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netjeff.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}