How It Works

How my static site generator works.

  1. Uses a pre-push git hook to run a script
  2. That script looks at the files being pushed and rebuilds any that live in my sources directory.
  3. Magic is done. I offload most of the work to things like pyyaml, Python-Markdown, and tornado.template.
  4. Upload to S3 using boto (of course). Cloudfront takes care of the rest.

There's a lot left to do at #3.