Rather than creating new code this code simply assembles the required
parts from the TiddlyWiki
core code repository along
with the necessary bits of additional JavaScript. This means that as
the TiddlyWiki core changes this code automatically keeps up to date.

By using jsdom and htmlparser with node, it is possible to simulate the
browser environment that the wikifier would normally run in, and create
some HTML output.

(The below is for OS X but should transliterate to other environments.
It has also been tested on Ubuntu 12.04)

Install node.js and its package manager npm. If you are using brew that
goes like this:

brew install node npm

Once you have npm, install grunt with:

npm install -g grunt-cli

Then install the project dependencies:

npm install

In the repo directory run:

grunt

This will get all the necessary TiddlyWiki code and concatenate it into
dist/twikifier.js. The grunt test task is run after this and runs all
the files in the test/files directory against twikifier via
test/twikify/js.

The task also creates a distributable node application in bin/server.js.

TiddlyWeb and friends use WikklyText to do sever-
side rendering of TiddlyWiki text to HTML. It works, but not great. It
has long been thought that a transcoding of the TiddlyWiki wikifier
would a) work better, b) be easier to extend and modify.