This project provides a method for running Python scripts continuously on Heroku using free-tier resources. It was created to assist students and developers who do not have access to paid hosting or credit-card verification.
Heroku’s free plan traditionally offers 550 dyno hours per month, extendable to 1000 hours with credit-card verification. For users unable to add payment details, this project outlines a mechanism that distributes runtime across two separate Heroku accounts and automates weekly switching using the Heroku API and WayScript. This enables near-24/7 uptime for small Python applications such as a telegram bot.
The approach is based entirely on Heroku’s documented API and does not violate Heroku’s Terms and Conditions.
Important: