Flask-based, filesystem-backed miniature read-only Wiki rendering engine using reSturcturedText markup
Any modifications are done on filesystem, there is no editing capability (and none planned). However system should pick up changes on filesystem immediately.
- flask
- Jinja2
- docutils
- whoosh
create folder stucture:
my_wiki/ content/ compiled/
and execute wiki.py from within my_wiki folder:
$ cd my_wiki $ python /path/to/wiki.py
point your browser to "localhost:8000" and explore your Wiki
- /search - invokes site-wide search (using index)
- /any/path/search - search only under "/any/path" (using index)
- /reindex - force reindex of the search DB
- /some/path/file[.ext] - if file with this extension doesn't exist, extension will be dropped and other extensions with the same filename tried.
Currently if you add folder "templates":
my_wiki/ content/ compiled/ templates/
under which you can create "dirlist.html" to override default template. More templating is planned in the future.
As per Flask documentation one needs to employ Standalone WSGI Containers to scale Flask applications to something that can handle real-world loads.
Freezer is a "compiler" for the content - converting whatever can be converted to static HTML. Freezer script is built using Frozen Flask so follow it's documentation for usage and tuning.