humphreybc/humphreybc.com — pull request #1 by gamerlv (2012-11-10 20:10:15+00:00)
Title: Static generator

Hey,
Some time ago I read about you wanting be able to write your blog posts in markdown.
Had some time today and have always wanted to hack a bit with nodejs. And the result is a static generator.

It's nothing fancy, just reads all files in public/articles, converts any markdown to html, then puts that in the files assets/blog.html and assets/blog/.html

It does nothing more, nothing less.

The compile.js is directly runnable from the terminal and has two modes, compile and watch.
The thinking was, when the repository gets pulled on the server you run the compile version on the server and all files get updated.