So you surf to
localhost:3400, browse through the directory listing (which defaults to
~/Sites on OS X), click on a
.jade file and it renders HTML, transparently converting any
.coffee files as well, if you have any. Of course, whether this would be useful for you depends on how much prototyping you actually do, and whether it supports the kind of formats you use in real projects. That’s why the whole system is plugin-based, and you can add your own formats with little snippets of code like this:
I’m taking requests for handlers (and might even do a PHP handler sometime) and if you need some help building your own, or just getting the app up and running, holler.
I’ve included autostart scripts for Ubuntu and OS X, though I don’t know if they’ll work for everybody.
You can use it together with Apache too, by having draughtsman forward any requests for formats it doesn’t need to or can’t compile — say, PHP — to an address of your choosing. For me, though, draughtsman has pretty much obviated the need for a LAMP install.
Full docs and details at https://github.com/stdbrouw/draughtsman. Check it out!