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
Copy file name to clipboardExpand all lines: readme.md
+94-98Lines changed: 94 additions & 98 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,6 @@
61
61
</p>
62
62
<palign="center">Love the project? Please consider <ahref="https://www.paypal.me/anuraghazra">donating</a> to help it improve!
63
63
64
-
65
64
<p>
66
65
<ahref="https://indiafightscorona.giveindia.org">
67
66
<imgsrc="https://cdn.givind.org/static/images/giveindia-logo-v2.jpg"alt="Give india logo"width="200" />
@@ -72,25 +71,25 @@ Are you considering supporting the project by donating? Please DON'T!!
72
71
Instead, Help India fight the 2nd deadly wave of COVID-19.
73
72
Thousands of people are dying in India because of a lack of Oxygen & also COVID-related infrastructure.
74
73
75
-
Visit[https://indiafightscorona.giveindia.org](https://indiafightscorona.giveindia.org) and make a small donation to help us fight COVID and overcome this crisis.
74
+
Visit<https://indiafightscorona.giveindia.org> and make a small donation to help us fight COVID and overcome this crisis.
@@ -160,60 +159,58 @@ You can customize the appearance of your `Stats Card` or `Repo Card` however you
160
159
161
160
####Common Options:
162
161
163
-
-`title_color` - Card's title color_(hex color)_. Default:`2f80ed`.
164
-
-`text_color` - Body text color_(hex color)_. Default:`434d58`.
165
-
-`icon_color` - Icons color if available_(hex color)_. Default:`4c71f2`.
166
-
-`border_color` - Card's border color_(hex color)_. Default:`e4e2e2` (Does not apply when`hide_border` is enabled).
167
-
-`bg_color` - Card's background color_(hex color)_**or** a gradient in the form of_angle,start,end_. Default:`fffefe`
168
-
-`hide_border` - Hides the card's border_(boolean)_. Default:`false`
169
-
-`theme` - name of the theme, choose from[all available themes](./themes/README.md). Default:`default` theme.
170
-
-`cache_seconds` - set the cache header manually_(min: 7200, max: 86400)_. Default:`14400 seconds (4 hours)`.
171
-
-`locale` - set the language in the card_(e.g. cn, de, es, etc.)_. Default:`en`.
172
-
-`border_radius` - Corner rounding on the card. Default:`4.5`.
162
+
-`title_color` - Card's title color_(hex color)_. Default:`2f80ed`.
163
+
-`text_color` - Body text color_(hex color)_. Default:`434d58`.
164
+
-`icon_color` - Icons color if available_(hex color)_. Default:`4c71f2`.
165
+
-`border_color` - Card's border color_(hex color)_. Default:`e4e2e2` (Does not apply when`hide_border` is enabled).
166
+
-`bg_color` - Card's background color_(hex color)_**or** a gradient in the form of_angle,start,end_. Default:`fffefe`
167
+
-`hide_border` - Hides the card's border_(boolean)_. Default:`false`
168
+
-`theme` - name of the theme, choose from[all available themes](./themes/README.md). Default:`default` theme.
169
+
-`cache_seconds` - set the cache header manually_(min: 7200, max: 86400)_. Default:`14400 seconds (4 hours)`.
170
+
-`locale` - set the language in the card_(e.g. cn, de, es, etc.)_. Default:`en`.
171
+
-`border_radius` - Corner rounding on the card. Default:`4.5`.
173
172
174
173
>Note: The minimum of cache_seconds is currently 4 hours as a temporary fix for PATs exhaustion.
175
174
176
175
#####Gradient in bg_color
177
176
178
177
You can provide multiple comma-separated values in the bg_color option to render a gradient, with the following format:
179
178
180
-
```
181
-
&bg_color=DEG,COLOR1,COLOR2,COLOR3...COLOR10
182
-
```
179
+
&bg_color=DEG,COLOR1,COLOR2,COLOR3...COLOR10
183
180
184
181
>Note on cache: Repo cards have a default cache of 4 hours (14400 seconds) if the fork count & star count is less than 1k, otherwise, it's 2 hours (7200 seconds). Also, note that the cache is clamped to a minimum of 2 hours and a maximum of 24 hours.
-`custom_title` - Sets a custom title for the card
217
214
218
215
>:warning:**Important:**
219
216
>Language names should be uri-escaped, as specified in[Percent Encoding](https://en.wikipedia.org/wiki/Percent-encoding)
@@ -222,17 +219,17 @@ When hide_rank=`true`, the minimum card width is 270 px + the title length and p
222
219
223
220
####Wakatime Card Exclusive Options:
224
221
225
-
-`hide` - Hide the languages specified from the card_(Comma-separated values)_
226
-
-`hide_title` -_(boolean)_
227
-
-`line_height` - Sets the line-height between text_(number)_
228
-
-`hide_progress` - Hides the progress bar and percentage_(boolean)_
229
-
-`custom_title` - Sets a custom title for the card
230
-
-`layout` - Switch between two available layouts`default` &`compact`
231
-
-`langs_count` - Limit the number of languages on the card, defaults to all reported languages
232
-
-`api_domain` - Set a custom API domain for the card, e.g. to use services like[Hakatime](https://github.com/mujx/hakatime) or[Wakapi](https://github.com/muety/wakapi)
233
-
-`range` – Request a range different from your WakaTime default, e.g.`last_7_days`. See[WakaTime API docs](https://wakatime.com/developers#stats) for a list of available options.
222
+
-`hide` - Hide the languages specified from the card_(Comma-separated values)_
223
+
-`hide_title` -_(boolean)_
224
+
-`line_height` - Sets the line-height between text_(number)_
225
+
-`hide_progress` - Hides the progress bar and percentage_(boolean)_
226
+
-`custom_title` - Sets a custom title for the card
227
+
-`layout` - Switch between two available layouts`default` &`compact`
228
+
-`langs_count` - Limit the number of languages on the card, defaults to all reported languages
229
+
-`api_domain` - Set a custom API domain for the card, e.g. to use services like[Hakatime](https://github.com/mujx/hakatime) or[Wakapi](https://github.com/muety/wakapi)
230
+
-`range` – Request a range different from your WakaTime default, e.g.`last_7_days`. See[WakaTime API docs](https://wakatime.com/developers#stats) for a list of available options.
234
231
235
-
---
232
+
* * *
236
233
237
234
#GitHub Extra Pins
238
235
@@ -310,7 +307,7 @@ You can use the `&layout=compact` option to change the card design.
@@ -416,23 +413,23 @@ NOTE: Since [#58](https://github.com/anuraghazra/github-readme-stats/pull/58) we
416
413
<details>
417
414
<summary><b> Guide on setting up Vercel 🔨 </b></summary>
418
415
419
-
1. Go to[vercel.com](https://vercel.com/)
420
-
1. Click on`Log in`
421
-

422
-
1. Sign in with GitHub by pressing`Continue with GitHub`
423
-

424
-
1. Sign in to GitHub and allow access to all repositories, if prompted
425
-
1. Fork this repo
426
-
1. After forking the repo, open the[`vercel.json`](https://github.com/anuraghazra/github-readme-stats/blob/master/vercel.json#L5) file and change the`maxDuration` field to`10`
427
-
1. Go back to your[Vercel dashboard](https://vercel.com/dashboard)
428
-
1. Select`Import Project`
429
-

430
-
1. Select`Import Git Repository`. Select root and keep everything as is.
431
-

432
-
1. Create a personal access token (PAT)[here](https://github.com/settings/tokens/new) and enable the`repo` permissions (this allows access to see private repo stats)
433
-
1. Add the PAT as an environment variable named`PAT_1` (as shown).
434
-

435
-
1. Click deploy, and you're good to go. See your domains to use the API!
416
+
1.Go to[vercel.com](https://vercel.com/)
417
+
2. Click on`Log in`
418
+

419
+
3. Sign in with GitHub by pressing`Continue with GitHub`
420
+

421
+
4. Sign in to GitHub and allow access to all repositories, if prompted
422
+
5. Fork this repo
423
+
6. After forking the repo, open the[`vercel.json`](https://github.com/anuraghazra/github-readme-stats/blob/master/vercel.json#L5) file and change the`maxDuration` field to`10`
424
+
7. Go back to your[Vercel dashboard](https://vercel.com/dashboard)
425
+
8. Select`Import Project`
426
+

427
+
9. Select`Import Git Repository`. Select root and keep everything as is.
428
+

429
+
10. Create a personal access token (PAT)[here](https://github.com/settings/tokens/new) and enable the`repo` permissions (this allows access to see private repo stats)
430
+
11. Add the PAT as an environment variable named`PAT_1` (as shown).
431
+

432
+
12. Click deploy, and you're good to go. See your domains to use the API!
436
433
437
434
</details>
438
435
@@ -443,17 +440,16 @@ this takes time. You can use this service for free.
443
440
444
441
However, if you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are a few ways you can do it:-
445
442
446
-
- Giving proper credit when you use github-readme-stats on your readme, linking back to it:D
447
-
- Starring and sharing the project:rocket:
448
-
-[](https://www.paypal.me/anuraghazra) - You can make one-time donations via PayPal. I'll probably buy a~~coffee~~ tea.:tea:
443
+
-Giving proper credit when you use github-readme-stats on your readme, linking back to it:D
444
+
-Starring and sharing the project:rocket:
445
+
-[](https://www.paypal.me/anuraghazra) - You can make one-time donations via PayPal. I'll probably buy a~~coffee~~ tea.:tea: