Forum:Download the NetHackWiki

From NetHackWiki
Jump to: navigation, search


It's now possible to download an XML dump of the articles on this wiki and the images, without resorting to scraping the site. The packages are updated once a week. --paxed (talk) 14:45, 5 August 2013 (UTC)

Offline wiki


I sometimes play Nethack without Internet access on my old netbook and I'd like to have the wiki available offline. Is there a light-weight way of using this XML dump on Linux? Installing a local web server with Mediawiki and everything is not an option for a machine this old. Or would you rather recommend recursively wgetting the whole for offline browsing or something else? -- 16:09, 13 January 2014 (UTC)

I don't know the answer to your question per se, but honestly, people run nginx + MySQL + mediawiki on 128MB VPSes (I have). Of course, you can't support much concurrency that way and the MySQL is tuned way down but it doesn't take a lot to run MW for a single user. You could ask on or for advice on running small instances. Hope that helps. Raindog308 (talk) 03:45, 16 January 2014 (UTC)
I'm a different user, but I agree that installing a web server plus MySQL seems a bit overkill for offline reading of the NetHack wiki, given that I wouldn't use these applications for anything else. Are there any better solutions? - 06:34, 9 March 2014 (UTC)
You can try feeding the dump to a Perl script using modules [1] and [2], thus transforming a giant XML into a giant HTML or a series of small HTMLs. 15:38, 27 May 2015 (UTC) ZzZombo (talk) 14:44, 4 June 2015 (UTC)

Hi paxed, Is it possible to provide an openZIM formatted copy of NetHackWiki in addition to the XML dump? It would eliminate the headache of installing LAMP and mediawiki. Thanks. --Deadagain (talk) 13:49, 12 June 2015 (UTC)

OpenZIM sounds like a good idea. What about providing a torrent too? With a RSS torrent feed, we could even update it automatically. --Quantum Immortal (talk) 06:18, 14 June 2015 (UTC)

Oooh, thank you very much! Now I can throw away that ugly wiki scraper I had lying around. :D ——KeyboardFire (talk) 07:37, 19 June 2015 (UTC)