-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Sponsorship (or Why Only a Heroku Free Plan?) #8
Comments
Hi @soatok, I also find this a bit annoying... I would be really awesome if more people stepped up with such a solution 😅 😅 From popular repositories I only know https://github.com/vlang/v that's also using my endpoint - probably there are more that I'm not aware of because the Heroku usage used to expire a bit later than this. If you can I'd appreciate a donation, my Patreon page is mostly related to Colyseus's projects, although I built this for Colyseus as well 😅 I think I can deploy & maintain a simple DigitalOcean machine for this soon! |
I was searching and found that Patreon already provides an official API for retrieving campaign data: badges/shields#3585 (comment) URL for my campaign: https://www.patreon.com/api/campaigns/365642 Unfortunately, without a custom endpoint, it is not possible to display the amount in $$$, only the number of patrons, which may be enough for most cases! (API Docs: https://docs.patreon.com/#introduction) |
@soatok you could look at using vercel cloud functions, that's what i did to get a badge up and running for our repo again Here's the little api i made: patreon.leah.vercel.app/api/dollars?campaign=2489866, it's just 11 lines of code so its super easy to create your own if you dont want to rely on mine. |
I forgot to mention: vercel is completely unlimited and free, they rely on enterprise customers to pay the bills. |
I joined your $30/month tier. Let me know if DO bills higher and I'll manually increase my contribution. |
Thank you so much for supporting me @soatok 🙏 As @leahlundqvist suggested, I've set it up on Vercel and created a very simple generator page to configure your badge, you can check it out here: https://shieldsio-patreon.vercel.app/ I'll make sure to keep the tool up-to-date in case Patreon updates its website. Thanks! |
Is there any way we can... I dunno, sponsor your work to ensure these badges stay available towards the end of the month?
My idea goes like this:
Maybe we could use some sort of monthly patronage platform to facilitate such a thing? Crazy idea, right?
No but in all seriousness Heroku isn't super expensive and I could probably personally float this bill but since you built a simple thing that's useful for a lot of open source developers, I think it'd only be fair for you to benefit from it as much as we do. (And the upside: We won't have end-of-the-month banner outages anymore.)
The text was updated successfully, but these errors were encountered: