HacktoSearch icon indicating copy to clipboard operation
HacktoSearch copied to clipboard

fix: Rate Limiting

Open imsaptarshi opened this issue 4 years ago • 4 comments

Having the github api in use, it rate limits its requests to 60 per minute which makes it difficult for more than 3 users to browse at a time.

Current solution : image

💡 Waiting for better solutions ...

imsaptarshi avatar Sep 14 '21 02:09 imsaptarshi

I came here to mention this.

It could allow users to add their own token to allow for more requests similar to https://useful-forks.github.io/.

DenverCoder1 avatar Sep 15 '21 09:09 DenverCoder1

Alternatively, we can get people to login as that doesn't count in to the unauthorised rate limit. Adding own token sound quite cumbersome https://stackoverflow.com/questions/13394077/is-there-a-way-to-increase-the-api-rate-limit-or-to-bypass-it-altogether-for-git

AnishDe12020 avatar Sep 15 '21 11:09 AnishDe12020

Using Github's OAuth could fix rate limiting error as users will be using their own token.

rajshrestha86 avatar Sep 28 '21 16:09 rajshrestha86

To signin with github, i would recommand to use Supabase. It's really easy to setup (https://supabase.io/docs/guides/auth/auth-github)

Olyno avatar Sep 29 '21 08:09 Olyno