Quartz is a node based command line tool that takes md static site. A great explaination of their architecture is available here.