Statically render PHPBB2 pages
Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
output/css
phpbb2_to_html
templates
.gitignore
bootstrap.zip
convert.py
license.md
phpbb2_tables.sql
readme.md
requirements.pip

readme.md

PHPBB2 to HTML

This is mostly a personal project; I have an old PHPBB2 forum whose contents I want to keep, but I don't want to keep a PHP/MySQL stack around just to be able to look at it.

To this end this project connects to a MySQL database and extracts the topics/posts, then writes out static HTML (styled with bootstrap) in a directory structure reflecting the various categories/subforums/topics. It does not care about rights and is only tested with one forum (for which it was written), so it may not work for all inputs.

Most configuration is defined in a static config file; I probably wouldn't release this as a package like that, but it works for me, and this isn't really meant to be for anyone but me. (But if you find it useful, great!)

As far as I can tell the MySQL-python package is only available for Python 2, as such this probably does not work with Python 3.