You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enable multi page star fetching for private vercel instances (anuraghazra#2159)
* feat: enable multi-page stars' fetching for private vercel instances
This commit enables multi-page stars' support from fetching on private Vercel
instances. This feature can be disabled on the public Vercel instance by adding
the `FETCH_SINGLE_PAGE_STARS=true` as an env variable in the public Vercel
instance. This variable will not be present when people deploy their own Vercel
instance, causing the code to fetch multiple star pages.
* fix: improve stats multi-page fetching behavoir
This commit makes sure that the GraphQL api is only called one time per
100 repositories. The old method added one unnecesairy GraphQL call.
* docs: update documentation
* style: improve code syntax
Co-authored-by: Matteo Pierro <[email protected]>
* lol happy new year
* docs: remove rate limit documentation for now
Remove the `FETCH_SINGLE_PAGE_STARS` from documentation for now since it
might confuse people.
* fix: fix error in automatic merge
* feat: make sure env variable is read
Co-authored-by: Matteo Pierro <[email protected]>
Co-authored-by: Anurag <[email protected]>
-[Keep your fork up to date](#keep-your-fork-up-to-date)
96
+
-[Keep your fork up to date](#keep-your-fork-up-to-date)
97
97
98
98
# GitHub Stats Card
99
99
@@ -264,7 +264,7 @@ You can customize the appearance of your `Stats Card` or `Repo Card` however you
264
264
-`border_radius` - Corner rounding on the card. Default: `4.5`.
265
265
266
266
> **Warning**
267
-
> We use caching to decrease the load on our servers (see https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1271551425). Our cards have a default cache of 4 hours (14400 seconds). Also, note that the cache is clamped to a minimum of 4 hours and a maximum of 24 hours.
267
+
> We use caching to decrease the load on our servers (see <https://github.com/anuraghazra/github-readme-stats/issues/1471#issuecomment-1271551425>). Our cards have a default cache of 4 hours (14400 seconds). Also, note that the cache is clamped to a minimum of 4 hours and a maximum of 24 hours.
268
268
269
269
##### Gradient in bg_color
270
270
@@ -354,7 +354,7 @@ Use [show_owner](#customization) variable to include the repo's owner username
354
354
The top languages card shows a GitHub user's most frequently used top language.
355
355
356
356
> **Note**
357
-
> Top Languages does not indicate my skill level or anything like that; it's a GitHub metric to determine which languages have the most code on GitHub. It is a new feature of github-readme-stats._
357
+
> Top Languages does not indicate my skill level or anything like that; it's a GitHub metric to determine which languages have the most code on GitHub. It is a new feature of github-readme-stats.
358
358
359
359
### Usage
360
360
@@ -508,7 +508,7 @@ How you host this is now up to you, be it a server in your home, AWS or otherwis
508
508
509
509
## Deploy on your own Vercel instance (recommended)
510
510
511
-
#### [Check Out Step By Step Video Tutorial By @codeSTACKr](https://youtu.be/n6d4KHSKqGk?t=107)
511
+
#### :film_projector:[Check Out Step By Step Video Tutorial By @codeSTACKr](https://youtu.be/n6d4KHSKqGk?t=107)
512
512
513
513
> **Warning**
514
514
> If you are on the [hobby (i.e. free)](https://vercel.com/pricing) Vercel plan, please make sure you change the `maxDuration` parameter in the [vercel.json](https://github.com/anuraghazra/github-readme-stats/blob/master/vercel.json) file from `30` to `10` (see [#1416](https://github.com/anuraghazra/github-readme-stats/issues/1416#issuecomment-950275476) for more information).
0 commit comments