This pull request adds bin/htmlize.py. The script is a rudimentary tool for converting JSON files in a similar format as web/db/handlerpresets.json to a HTML page with embedded links for all the presets.
@ikisusi asked for this (or at least something like it) to bootstrap some new experiment.
The tool accepts 0-n JSON files and outputs the generated HTML to STDOUT, the usage pattern being:
$ python bin/htmlize.py [JSONFILE ...]
For example to htmlizeify the web/db/handlerpresets.json you would run:
This pull request adds
bin/htmlize.py
. The script is a rudimentary tool for converting JSON files in a similar format asweb/db/handlerpresets.json
to a HTML page with embedded links for all the presets.@ikisusi asked for this (or at least something like it) to bootstrap some new experiment.
The tool accepts 0-n JSON files and outputs the generated HTML to STDOUT, the usage pattern being:
For example to htmlizeify the
web/db/handlerpresets.json
you would run: