The gitstats project, hacked apart and customized for one of my projects.