Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
quinncomendant opened this issue Sep 21, 2022 · 9 comments
Open

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

quinncomendant opened this issue Sep 21, 2022 · 9 comments

Comments

@quinncomendant
Copy link

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
Copy link
Owner

No known alternative for now :(

@quinncomendant
Copy link
Author

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

@SwiftyProgrammer690
Copy link

Replit too!

@quinncomendant quinncomendant changed the title API going away because Heroku no longer has free plans? API going away because Heroku no longer has a free plan Feb 22, 2023
@quinncomendant
Copy link
Author

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
Copy link

abcdxo commented Mar 15, 2023

Thanks for the fix!

@mudroljub
Copy link
Owner

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
Copy link

ahujaesh commented Jan 9, 2024

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
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants