Tumblr-boilerplate is a project mainly written in ..., it's free.
A boilerplate template for tumblr templates
A boilerplate template for tumblr themes. Started from this one: https://github.com/danrubin/Tumblr-Sandbox-Template
Added some stuff.