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
|`locale`| Sets the language in the card, you can check full list of available locales [here](#available-locales). | enum |`en`|
304
+
|`border_radius`| Corner rounding on the card. | number |`4.5`|
303
305
304
306
> [!WARNING]
305
307
> 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 6 hours (21600 seconds). Also, note that the cache is clamped to a minimum of 6 hours and a maximum of 24 hours. If you want the data on your statistics card to be updated more often you can [deploy your own instance](#deploy-on-your-own) and set [environment variable](#disable-rate-limit-protections)`CACHE_SECONDS` to a value of your choosing.
@@ -366,47 +368,55 @@ If we don't support your language, please consider contributing! You can find mo
366
368
367
369
#### Stats Card Exclusive Options
368
370
369
-
-`hide` - Hides the [specified items](#hiding-individual-stats) from stats *(comma-separated values)*. Default: `[] (blank array)`.
-`custom_title` - Sets a custom title for the card. Default: `<username> GitHub Stats`.
379
-
-`text_bold` - Uses bold text *(boolean)*. Default: `true`.
380
-
-`disable_animations` - Disables all animations in the card *(boolean)*. Default: `false`.
381
-
-`ring_color` - Color of the rank circle *(hex color)*. Defaults to the theme ring color if it exists and otherwise the title color.
382
-
-`number_format` - Switches between two available formats for displaying the card values `short` (i.e. `6.6k`) and `long` (i.e. `6626`). Default: `short`.
|`custom_title`| Sets a custom title for the card. | string |`<username> GitHub Stats`|
383
+
|`text_bold`| Uses bold text. | boolean |`true`|
384
+
|`disable_animations`| Disables all animations in the card. | boolean |`false`|
385
+
|`ring_color`| Color of the rank circle. | string (hex color) |`2f80ed`|
386
+
|`number_format`| Switches between two available formats for displaying the card values `short` (i.e. `6.6k`) and `long` (i.e. `6626`). | enum |`short`|
387
+
|`show`| Shows [additional items](#showing-additional-individual-stats) on stats card (i.e. `reviews`, `discussions_started`, `discussions_answered`, `prs_merged` or `prs_merged_percentage`). | string (comma-separated values) |`null`|
384
388
385
389
> [!NOTE]\
386
390
> When hide\_rank=`true`, the minimum card width is 270 px + the title length and padding.
387
391
388
392
#### Repo Card Exclusive Options
389
393
390
-
-`show_owner` - Shows the repo's owner name *(boolean)*. Default: `false`.
391
-
-`description_lines_count` - Manually set the number of lines for the description *(number)*. Specified value will be clamped between 1 and 3. If this parameter is not specified, the number of lines will be automatically adjusted according to the actual length of the description. Default: `undefined`.
394
+
| Name | Description | Type | Default value |
395
+
| --- | --- | --- | --- |
396
+
|`show_owner`| Shows the repo's owner name. | boolean |`false`|
397
+
|`description_lines_count`| Manually set the number of lines for the description. Specified value will be clamped between 1 and 3. If this parameter is not specified, the number of lines will be automatically adjusted according to the actual length of the description. | number |`null`|
392
398
393
399
#### Gist Card Exclusive Options
394
400
395
-
-`show_owner` - Shows the gist's owner name *(boolean)*. Default: `false`.
401
+
| Name | Description | Type | Default value |
402
+
| --- | --- | --- | --- |
403
+
|`show_owner`| Shows the gist's owner name. | boolean |`false`|
396
404
397
405
#### Language Card Exclusive Options
398
406
399
-
-`hide` - Hides the languages specified from the card *(Comma-separated values)*. Default: `[] (blank array)`.
400
-
-`hide_title` - *(boolean)*. Default: `false`.
401
-
-`layout` - Switches between five available layouts `normal` & `compact` & `donut` & `donut-vertical` & `pie`. Default: `normal`.
402
-
-`card_width` - Sets the card's width manually *(number)*. Default `300`.
403
-
-`langs_count` - Shows more languages on the card, between 1-20 *(number)*. Default: `5` for `normal` and `donut`, `6` for other layouts.
|`custom_title`| Sets a custom title for the card. | string |`Most Used Languages`|
416
+
|`disable_animations`| Disables all animations in the card. | boolean |`false`|
417
+
|`hide_progress`| Uses the compact layout option, hides percentages, and removes the bars. | boolean |`false`|
418
+
|`size_weight`| Configures language stats algorithm (see [Language stats algorithm](#language-stats-algorithm)). | integer |`1`|
419
+
|`count_weight`| Configures language stats algorithm (see [Language stats algorithm](#language-stats-algorithm)). | integer |`0`|
410
420
411
421
> [!WARNING]\
412
422
> Language names should be URI-escaped, as specified in [Percent Encoding](https://en.wikipedia.org/wiki/Percent-encoding)
@@ -415,16 +425,18 @@ If we don't support your language, please consider contributing! You can find mo
415
425
416
426
#### WakaTime Card Exclusive Options
417
427
418
-
-`hide` - Hides the languages specified from the card *(Comma-separated values)*. Default: `[] (blank array)`.
419
-
-`hide_title` - *(boolean)*. Default `false`.
420
-
-`line_height` - Sets the line height between text *(number)*. Default `25`.
421
-
-`hide_progress` - Hides the progress bar and percentage *(boolean)*. Default `false`.
422
-
-`custom_title` - Sets a custom title for the card *(string)*. Default `WakaTime Stats`.
423
-
-`layout` - Switches between two available layouts `default` & `compact`. Default `default`.
424
-
-`langs_count` - Limits the number of languages on the card, defaults to all reported languages *(number)*.
425
-
-`api_domain` - Sets 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)*(string)*. Default `Waka API`.
426
-
-`display_format` - Sets the WakaTime stats display format. Choose `time` to display time-based stats or `percent` to show percentages. Default: `time`.
427
-
-`disable_animations` - Disables all animations in the card *(boolean)*. Default: `false`.
428
+
| Name | Description | Type | Default value |
429
+
| --- | --- | --- | --- |
430
+
|`hide`| Hides the languages specified from the card. | string (comma-separated values) |`null`|
431
+
|`hide_title`| Hides the title of your card. | boolean |`false`|
432
+
|`line_height`| Sets the line height between text. | integer |`25`|
433
+
|`hide_progress`| Hides the progress bar and percentage. | boolean |`false`|
434
+
|`custom_title`| Sets a custom title for the card. | string |`WakaTime Stats`|
435
+
|`layout`| Switches between two available layouts `default` & `compact`. | enum |`default`|
436
+
|`langs_count`| Limits the number of languages on the card, defaults to all reported languages. | integer |`null`|
437
+
|`api_domain`| Sets 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)| string |`Waka API`|
438
+
|`display_format`| Sets the WakaTime stats display format. Choose `time` to display time-based stats or `percent` to show percentages. | enum |`time`|
439
+
|`disable_animations`| Disables all animations in the card. | boolean |`false`|
0 commit comments