I wish this dude had just released an open source Ruby script for this, but very, very, cool nonetheless.