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

GitHub API Rate Limit #381

Open
jstnbr opened this issue Feb 24, 2024 · 2 comments
Open

GitHub API Rate Limit #381

jstnbr opened this issue Feb 24, 2024 · 2 comments

Comments

@jstnbr
Copy link

jstnbr commented Feb 24, 2024

With basic auth still hit an hourly rate limit. Does grip hit their API on every refresh just to make sure styles are up-to-date? What if I refresh 20 seconds later, I don't think the API changed much.

Is there a way to just use the last version of the styles it fetched? Maybe an --offline flag? Could run grip offline and use whatever styles it grabbed last - no more rate limit.

Is that possible?

Note, I did read this and that's why I wonder if it hits their API on every refresh.

Grip strives to be as close to GitHub as possible. To accomplish this, grip uses GitHub's Markdown API so that changes to their rendering engine are reflected immediately without requiring you to upgrade grip. However, because of this you may hit the API's hourly rate limit. If this happens, grip offers a way to access the API using your credentials to unlock a much higher rate limit.

Screen Shot 2024-02-24 at 9 40 37 AM
@seandotcom
Copy link

Having this issue as well, even when using credentials / tokens. Seems to have been this way for a day+ now.

@chrishrb
Copy link

Hi, I think that grip is no longer maintained, so I created my own version of it in go - without the need of the github api. Check it out: https://github.com/chrishrb/go-grip. Feel free to raise issues or feature requests!

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

3 participants