The most popular open-source alternative to Heroku is Coolify, with 66.7k GitHub stars.
Other open-source alternatives to Heroku are Dokploy, Dokku, OpenShip and ZaneOps (6 more below).
Most Heroku alternatives here are Build & Deployment tools.
The first 5 say in their own README or website that they can replace Heroku (the quote is shown under each one); the other 6 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.
Questions about Heroku alternatives
Is there an open-source alternative to Heroku?
Yes. 11 open-source projects can replace Heroku, for example Coolify, Dokploy and Dokku. 5 of them say so in their own documentation; the other 6 do the same job.
What is the best open-source alternative to Heroku?
Coolify (66.7k GitHub stars) is the most popular open-source alternative to Heroku on GitHub. bex has the most recent code changes. To run it on your own server, look at Coolify, Dokploy and Dokku, which are self-hostable. The best choice depends on your needs: compare them side by side, for example Coolify vs Dokploy.
Are the open-source alternatives to Heroku free?
All of the 11 projects listed here are free to use under an open-source license, with no license fee: 9 permissive (such as Apache-2.0), 2 copyleft (such as GPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.