mudroljub / programming-quotes-api

Programming Quotes API for open source projects.
https://programming-quotes-api-eight.vercel.app
469 stars 65 forks source link

API going away because Heroku no longer has a free plan #54

Open quinncomendant opened 2 years ago

quinncomendant commented 2 years ago

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?

mudroljub commented 2 years ago

No known alternative for now :(

quinncomendant commented 2 years ago

Alternatives include GCP Cloud Run, Render, Fly, or Railway. :)

SwiftyProgrammer690 commented 2 years ago

Replit too!

quinncomendant commented 1 year ago

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))]"

😜

abcdxo commented 1 year ago

Thanks for the fix!

mudroljub commented 1 year ago

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.

ahujaesh commented 10 months ago

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

quinncomendant commented 10 months ago

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 🙃).

ahujaesh commented 10 months ago

Oh my bad - I'm new to GitHub pages and I use it for HTML, which is static