joeyespo/grip

GitHub API Rate Limit

jstnbr opened this issue · 2 comments

jstnbr commented

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

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