Site_templatizer is a project mainly written in Ruby, it's free.
takes html, css, and images from a site and make a nice template to re-use