Thanks!
Sorry, the source code isn't anywhere public at the moment. I'll put it on GitHub if I think about it.