Nbgen is a small python script that takes in creole wiki markup and produces static html files from them in the form of a notebook. The script scans 1 level deep into the directory structure and created notebooks named as the directory names. It then searches for *.wik files in these directories and parses them to create a html file with the same name formatted according to the wiki markup. This script is used in conjunction with mercurial as a revision control and the changes are pushed on the notebook server. (Actually just a web server with ssh access.) On the server a cron job updates the repository and runs nbgen on the repository to create the html files. This provides an easy way of accessing my notes from anywhere and allows me to be platform independent and manage my own data instead of trusting ever note or some other company.
Here’s a screenshot of the HTML that gets produced:
Source here
