I don't have experience with Heroku, but I've explained how to run Flatris here: #83
Not easy to find free hosting for Flatris, because it needs a running server for the websockets connection, but you can find cheap VMs for as low as $5/month, maybe lower.