There is a great little app for Mac and Windows called LICEcap (http://www.cockos.com/licecap/) that does exactly this. It's free and works really well. I use it all the time.
That said, this project looks awesome for when you need more fidelity than a gif and instant sharing.