caarlos0 / starcharts

Plot your repository stars over time.
https://starchart.cc
1.23k stars 124 forks source link

api key donations #125

Closed caarlos0 closed 2 years ago

caarlos0 commented 3 years ago

Ok, since rate limit is always hitting, even after the recent efforts using etag and more redis memory for caching... @ahmetb come with an idea of having a pool of api keys.

So, this is issue is where we're going to do so.

The API key needs no permissions, and if you want to help, you can share yours via email at carlos <at> becker.software

I'll implement the code to round-robin and mark keys as "bad" in the following days.

We can also come up with some way of saying "thanks" to the key donors either here in the repo or in the website, so if you want your name to show up, please let me know in the email as well.

If you are good with frontends, I really need some help doing a "makeover" of our current frontend as well :) #124

ahmetb commented 3 years ago

I've sent the first key! Let's keep this running.

If we get enough keys, please consider implementing per-key rate limit (lower than GitHub's) on the client side (maybe using redis that you already have) so that the other 3rd party GitHub apps and personal access tokens people installed are not disrupted due to donating a key to Starchart.cc.

ertyurk commented 3 years ago

sent a new one 👍🏼

IsmailAki commented 3 years ago

i sent a key

berabulut commented 3 years ago

just send one

emresudo commented 3 years ago

One from me too :)

ali-gol commented 3 years ago

one from me

ebati commented 3 years ago

:+1:

anilmisirlioglu commented 3 years ago

one from me 👍🏻

ycd commented 3 years ago

Just sent a new 🔑

vahdet commented 3 years ago

Have shot an email. Guess I'm num.10 :)

caarlos0 commented 3 years ago

Thanks everyone!

Should be enough to start... I have metrics so I'll keep an eye and see how it goes.

FWIW, here's the round robin impl: https://github.com/caarlos0/starcharts/pull/126

eminks commented 3 years ago

👍

caarlos0 commented 3 years ago

Hey, as a feedback, we are much more stable now!

image

and token usage is pretty low after I started failing-fast repos with more than 40k stars (which github does not let scan all pages anyway):

image

So I think we should be good for now!

If someone wants to help writing a new frontend, let me know and let's work together 🙏

caarlos0 commented 3 years ago

Ah, and thanks again for everyone that jumped in to help on this 🤘

nano2dev commented 2 years ago

@caarlos0 I love the project. Gonna put it on our README.

I run nano.to. If you accept NANO I'd be happy to support, and cover my bandwidth use at the same time.

caarlos0 commented 2 years ago

hey @santiesque, sure thing, nano_1itwnh7yena7houij3urpe5besw5za6r37z8hpqjezepsre1k9jk8dhkorn5

thanks for the help 🙏

nano2dev commented 2 years ago

@caarlos0

Done! $100 coming your way. That should cover my bandwidth for a few months.

Consider reserving a handle on nano.to (w/ NANO). We're launching an 'Open Source Maintainers Donation Fund' soon.

caarlos0 commented 2 years ago

Thanks @santiesque 🙏

caarlos0 commented 2 years ago

I think this can be closed now.

Thanks again everyone!