A simple Web server to help for client-side prototyping. It serves static files as well as dynamic templates, supporting both Go's native templates and Amber. Based on the ghost package.
go get github.com/PuerkitoBio/qs
As long as $GOPATH/bin is in your $PATH, you can simply type qs
in any given directory and it will start a web server at this location.
More specifically, it will automatically serve static files located in a ./public
directory, and it will serve and watch files in a ./templates
directory (recursively), so that every time a template is modified, it will recompile and serve the changes.
Since it uses ghost, it suffers from the same limitations at the moment, meaning that nested templates are not yet supported.
The BSD 3-clause license.