programming-quotes-api
programming-quotes-api copied to clipboard
API going away because Heroku no longer has a free plan
Heroku will no longer have free hosting. Does this mean the programming-quotes-api.herokuapp.com API will be going away? Or will you find an alternate home for it?
No known alternative for now :(
Alternatives include GCP Cloud Run, Render, Fly, or Railway. :)
Replit too!
Y’all – if you just want to get all quotes or one random quote (and don't mind a 34KB response), you can still use the “alternative API”:
Get all quotes:
curl -s --compressed https://raw.githubusercontent.com/skolakoda/programming-quotes-api/master/Data/quotes.json
Get a random quote:
curl -s --compressed https://raw.githubusercontent.com/skolakoda/programming-quotes-api/master/Data/quotes.json | jq ".[$((RANDOM%501))]"
😜
Thanks for the fix!
I've had a look at some of the proposed alternatives, but I don't have that much time to try and compare each one. It would be very useful if someone wants to help deploy the project to one of the free platforms.
you can also use github pages - I use it for my DI team's website and it works well for me - https://ahujaesh.github.io
Hi @ahujaesh,
you can also use github pages
We love GitHub pages, but it only hosts static content. This API requires hosting code that runs on the server (unless you're referring to just loading the JSON file as per my hack above, in which case the content is already hosted by github 🙃).
Oh my bad - I'm new to GitHub pages and I use it for HTML, which is static