Instamator, which I released just a few days ago is now open source. You can find the source code on Github. Instamator is powered by Flask and makes use of Redis.