The official Dwarf Fortress Wiki is an invaluable source of information for playing Dwarf Fortress. Even though DF is an offline game, playing without the wiki is difficult.
This projects provides a local webserver capable of browsing the DF wiki XML dump. It contains a crude Wikitext renderer, hacked with some DF Wiki specific features. When I say “crude”, I mean it. It does not support the whole Wikitext syntax, and only a small subset of DF Wiki templates.
This is a horrible, quick, ugly hack. It works, but it’s far from complete and will never be. It only supports a small subset of MediaWiki markup and a small subset of DF Wiki specific templates. Thus some pages will not render correctly. Nevertheless, most things will be readable and will provide useful information to the offline player.
- Put the file dump.xml in the same directory as the python script (df_pwiki.py).
- Run the Python script
- Point your browser at http://localhost:8025
See the Issues repo for planned features.
DFPortableWiki is a pure Python 2.7 program. It does not depend on any lib other than the Python standard lib.
DFPortableWiki is licensed under the zlib/libpng OSI license
Copyright (C) 2012 sebsauvage@sebsauvage.net