Git Log Visualisation With PEW PEW!

Gource is an OpenGL capable visualisation tool for difference SCM’s, it’s easy to install and looks pretty damn cool. If you have Homebrew installed it’s simply:

1
brew install gource

Which happily goes off and grabs all the dependencies like pkg-config, libpng and others. Once it’s done, change into your projects directory (I’m assuming you use git) and then run gource.

1
2
cd /projects/myproject
gource

Then watch the asteroids takes on space invaders style 3D visualisation of your developers doing their thaaang. If you want to make it cooler, then how about a little perl script to grab gravatars for each of your developers and make it more personal? On the gource google code project wiki there’s a script for just that, grab it off this page and save it as grab_avatars.pl and run it on your commandline.

1
perl grab_avatars.pl

It’ll grab all of the gravatars for each developer and then save them in a .git/avatars folder, now we just need to tell gource to use that and we’re laffin’.

1
gource --user-image-dir .git/avatar/

For an example of what it looks like, here’s a snippet of our project with some developers PEW PEWing at the code:

Comments
    

Comments