Skip to content

Commit b6f4183

Browse files
martin-mfgmarcalexieigithub-actions[bot]dependabot[bot]
authored
release v2.1.3 (#288)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Marco Pasqualetti <24919330+marcalexiei@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7318940 commit b6f4183

18 files changed

Lines changed: 957 additions & 947 deletions

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout code
34-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3535

3636
- name: Install Dependencies
3737
uses: ./.github/actions/install-dependencies
@@ -59,7 +59,7 @@ jobs:
5959

6060
steps:
6161
- name: Checkout code
62-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
62+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6363

6464
- name: Install Dependencies
6565
uses: ./.github/actions/install-dependencies
@@ -85,7 +85,7 @@ jobs:
8585

8686
steps:
8787
- name: Checkout code
88-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
88+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8989

9090
- name: Install Dependencies
9191
uses: ./.github/actions/install-dependencies
@@ -106,7 +106,7 @@ jobs:
106106

107107
steps:
108108
- name: Checkout code
109-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
109+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
110110

111111
- name: Install Dependencies
112112
uses: ./.github/actions/install-dependencies

.github/workflows/generate-theme-doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout code
33-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
33+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3434

3535
- name: Install Dependencies
3636
uses: ./.github/actions/install-dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
id-token: write
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1818

1919
- name: Install Dependencies
2020
uses: ./.github/actions/install-dependencies

.github/workflows/repeat-recent-requests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515

1616
jobs:
1717
triggerRepeatRecent:
18+
if: |
19+
github.repository == 'anuraghazra/github-readme-stats' ||
20+
github.repository == 'stats-organization/github-readme-stats' ||
21+
github.repository == 'stats-organization/github-stats-extended'
1822
name: Trigger server to update cached data.
1923
runs-on: ubuntu-latest
2024
steps:

.github/workflows/update-langs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout code
41-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
41+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4242

4343
- name: Install Dependencies
4444
uses: ./.github/actions/install-dependencies
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
permissions:
1515
contents: write
1616
steps:
17-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1818
- uses: haya14busa/action-update-semver@7d2c558640ea49e798d46539536190aff8c18715 # v1.5.1

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
<a href="https://github-stats-extended.vercel.app/api?username=anuraghazra"><img src="https://github-stats-extended.vercel.app/api?username=anuraghazra"></a>
66
</div>
77

8-
This project is an [extended version](docs/fork.md) of [github-readme-stats](https://github.com/anuraghazra/github-readme-stats). It generates [various stats cards](#card-types), e.g. about your GitHub contributions, your top languages, etc. You can [customize](#advanced-customization) the cards via multiple parameters.
8+
This project is the [extended, actively maintained successor](docs/fork.md) of [github-readme-stats](https://github.com/anuraghazra/github-readme-stats). It generates [various stats cards](#card-types), e.g. about your GitHub contributions, your top languages, etc. You can [customize](#advanced-customization) the cards via multiple parameters.
99

1010
# Table of Contents
1111
- [Quick Start](#quick-start)
12+
- [Migration from github-readme-stats](#migration-from-github-readme-stats)
1213
- [Card Types](#card-types)
1314
- [Advanced Customization](#advanced-customization)
14-
- [Self-Hosting](#self-hosting)
15+
- [Run It Yourself](#run-it-yourself)
1516
- [Acknowledgements](#acknowledgements)
1617
- [Contributing](#contributing)
1718

@@ -27,6 +28,16 @@ This project is an [extended version](docs/fork.md) of [github-readme-stats](htt
2728

2829
As more comfortable alternative, use the [GitHub-Stats-Extended Wizard](https://github-stats-extended.vercel.app/frontend) to create your custom stats card. Copy the generated markdown code and paste it into your [GitHub profile README](https://docs.github.com/en/account-and-profile/how-tos/profile-customization/managing-your-profile-readme#adding-a-profile-readme). Done!
2930

31+
# Migration from github-readme-stats
32+
To migrate from [github-readme-stats](https://github.com/anuraghazra/github-readme-stats) you only need to change the domain from `github-readme-stats.vercel.app` to `github-stats-extended.vercel.app`:
33+
34+
```diff
35+
- https://github-readme-stats.vercel.app/api?username=octocat&theme=radical
36+
+ https://github-stats-extended.vercel.app/api?username=octocat&theme=radical
37+
```
38+
39+
GitHub-Stats-Extended aims to be fully compatible with github-readme-stats. For more details see [Compatibility Notes](docs/fork.md#compatibility-notes).
40+
3041
# Card Types
3142
- Show your GitHub statistics:
3243

@@ -55,13 +66,13 @@ As more comfortable alternative, use the [GitHub-Stats-Extended Wizard](https://
5566
# Advanced Customization
5667
The [GitHub-Stats-Extended Wizard](https://github-stats-extended.vercel.app/frontend) offers some essential customization options. For more advanced customization check out the [advanced documentation](docs/advanced_documentation.md).
5768

58-
# Acknowledgements
59-
This project is based on [github-readme-stats](https://github.com/anuraghazra/github-readme-stats). On top of their functionality I added several new features and improvements. See [Fork Information](docs/fork.md) for a list of changes. The frontend I added to the project is based on [GitHub Trends](https://github.com/avgupta456/github-trends). Big thanks to [@anuraghazra](https://github.com/anuraghazra), [@avgupta456](https://github.com/avgupta456), [@rickstaa](https://github.com/rickstaa), [@qwerty541](https://github.com/qwerty541) and everyone else who worked on these projects! ❤️
69+
# Run It Yourself
70+
If you want to run GitHub-Stats-Extended on your own, there are two main deployment options: you can use [github-readme-stats-action](https://github.com/stats-organization/github-readme-stats-action) to generate cards in your own GitHub Actions workflow. Or you can self-host GitHub-Stats-Extended on Vercel.
6071

61-
# Self-Hosting
62-
Since the GitHub API only allows a limited number of requests per hour, the public instance of GitHub-Stats-Extended at https://github-stats-extended.vercel.app/api could possibly hit the rate limiter. If you host your own instance you do not have to worry about anything. Also, if you don't want to give my GitHub-Stats-Extended instance access to your private contributions but still want to include these contributions in your stats, you can simply host your own instance.
72+
See [Run It Yourself](docs/deploy.md) for detailed instructions.
6373

64-
See [Deploy on your own](docs/deploy.md) for various deployment options.
74+
# Acknowledgements
75+
This project is based on [github-readme-stats](https://github.com/anuraghazra/github-readme-stats). On top of that project's functionality GitHub-Stats-Extended adds several new features and improvements. See [Fork Information](docs/fork.md) for a list of changes. The frontend added to GitHub-Stats-Extended is based on [GitHub Trends](https://github.com/avgupta456/github-trends). Big thanks to [@anuraghazra](https://github.com/anuraghazra), [@avgupta456](https://github.com/avgupta456), [@rickstaa](https://github.com/rickstaa), [@qwerty541](https://github.com/qwerty541) and everyone else who worked on these projects! ❤️
6576

6677
# Contributing
6778
Contributions are welcome!

apps/backend/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"devDependencies": {
1919
"axios-mock-adapter": "2.1.0",
2020
"express": "5.2.1",
21-
"jsdom": "29.0.2",
21+
"jsdom": "catalog:default",
2222
"vitest": "catalog:default"
2323
},
2424
"dependencies": {
25-
"axios": "^1.15.2",
25+
"axios": "catalog:default",
2626
"@stats-organization/github-readme-stats-core": "workspace:^",
27-
"pg": "^8.20.0"
27+
"pg": "^8.21.0"
2828
}
2929
}

apps/frontend/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,30 @@
1313
"typecheck": "tsc -p tsconfig.typecheck.json"
1414
},
1515
"dependencies": {
16-
"@reduxjs/toolkit": "^2.11.2",
17-
"@tailwindcss/vite": "^4.2.2",
18-
"axios": "^1",
16+
"@reduxjs/toolkit": "^2.12.0",
17+
"@tailwindcss/vite": "^4.3.0",
18+
"axios": "catalog:default",
1919
"axios-cache-interceptor": "^1",
20-
"daisyui": "^5.5.19",
20+
"daisyui": "^5.5.23",
2121
"@stats-organization/github-readme-stats-backend": "workspace:^",
2222
"@stats-organization/github-readme-stats-core": "workspace:^",
23-
"react": "^19.2.5",
24-
"react-dom": "^19.2.5",
23+
"react": "^19.2.7",
24+
"react-dom": "^19.2.7",
2525
"react-icons": "^5.6.0",
2626
"react-loading-skeleton": "^3.3.1",
27-
"react-redux": "^9.2.0",
27+
"react-redux": "^9.3.0",
2828
"react-spinners": "^0.17.0",
2929
"react-toastify": "^11.1.0",
3030
"redux": "^5.0.1",
3131
"save-svg-as-png": "^1.4.17",
3232
"uuid": "^14.0.0"
3333
},
3434
"devDependencies": {
35-
"@types/react": "19.2.14",
35+
"@types/react": "19.2.17",
3636
"@types/react-dom": "19.2.3",
37-
"@vitejs/plugin-react": "6.0.1",
37+
"@vitejs/plugin-react": "6.0.2",
3838
"clsx": "2.1.1",
39-
"tailwindcss": "4.2.2",
39+
"tailwindcss": "4.3.0",
4040
"vite": "catalog:default",
4141
"vitest": "catalog:default"
4242
},

docs/advanced_documentation.md

Lines changed: 32 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -85,85 +85,77 @@ You can look at a preview for [all available themes](../packages/core/src/themes
8585

8686
Since GitHub will re-upload the cards and serve them from their [CDN](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-anonymized-urls), we can not infer the browser/GitHub theme on the server side. There are, however, four methods you can use to create dynamics themes on the client side.
8787

88-
##### Use the transparent theme
88+
##### Use GitHub's new media feature (recommended)
8989

90-
We have included a `transparent` theme that has a transparent background. This theme is optimized to look good on GitHub's dark and light default themes. You can enable this theme using the `&theme=transparent` parameter like so:
90+
You can use [GitHub's new media feature](https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/) in HTML to specify whether to display images for light or dark themes. This is done using the HTML `<picture>` element in combination with the `prefers-color-scheme` media feature.
9191

92-
```md
93-
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=transparent)
92+
```html
93+
<picture>
94+
<source
95+
srcset="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark"
96+
media="(prefers-color-scheme: dark)"
97+
/>
98+
<img src="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true" /> <!-- light mode -->
99+
</picture>
94100
```
95101

96102
<details>
97103
<summary>:eyes: Show example</summary>
98104

99-
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&theme=transparent)
105+
<picture>
106+
<source
107+
srcset="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark"
108+
media="(prefers-color-scheme: dark)"
109+
/>
110+
<img src="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true" /> <!-- light mode -->
111+
</picture>
100112

101113
</details>
102114

103-
##### Add transparent alpha channel to a themes bg\_color
115+
##### Use GitHub's theme context tag
104116

105-
You can use the `bg_color` parameter to make any of [the available themes](../packages/core/src/themes/README.md) transparent. This is done by setting the `bg_color` to a color with a transparent alpha channel (i.e. `bg_color=00000000`):
117+
You can use [GitHub's theme context](https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/) tags to switch the theme based on the user GitHub theme automatically. This is done by appending `#gh-dark-mode-only` or `#gh-light-mode-only` to the end of an image URL. This tag will define whether the image specified in the markdown is only shown to viewers using a light or a dark GitHub theme:
106118

107119
```md
108-
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&bg_color=00000000)
120+
[![Anurag's GitHub stats-Dark](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark#gh-dark-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-dark-mode-only)
121+
[![Anurag's GitHub stats-Light](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=default#gh-light-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-light-mode-only)
109122
```
110123

111124
<details>
112125
<summary>:eyes: Show example</summary>
113126

114-
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&bg_color=00000000)
127+
[![Anurag's GitHub stats-Dark](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&theme=dark#gh-dark-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-dark-mode-only)
128+
[![Anurag's GitHub stats-Light](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&theme=default#gh-light-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-light-mode-only)
115129

116130
</details>
117131

118-
##### Use GitHub's theme context tag
132+
##### Use the transparent theme
119133

120-
You can use [GitHub's theme context](https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/) tags to switch the theme based on the user GitHub theme automatically. This is done by appending `#gh-dark-mode-only` or `#gh-light-mode-only` to the end of an image URL. This tag will define whether the image specified in the markdown is only shown to viewers using a light or a dark GitHub theme:
134+
We have included a `transparent` theme that has a transparent background. This theme is optimized to look good on GitHub's dark and light default themes. You can enable this theme using the `&theme=transparent` parameter like so:
121135

122136
```md
123-
[![Anurag's GitHub stats-Dark](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark#gh-dark-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-dark-mode-only)
124-
[![Anurag's GitHub stats-Light](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=default#gh-light-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-light-mode-only)
137+
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=transparent)
125138
```
126139

127140
<details>
128141
<summary>:eyes: Show example</summary>
129142

130-
[![Anurag's GitHub stats-Dark](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&theme=dark#gh-dark-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-dark-mode-only)
131-
[![Anurag's GitHub stats-Light](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&theme=default#gh-light-mode-only)](https://github.com/stats-organization/github-stats-extended#gh-light-mode-only)
143+
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&theme=transparent)
132144

133145
</details>
134146

135-
##### Use GitHub's new media feature
147+
##### Add transparent alpha channel to a themes bg\_color
136148

137-
You can use [GitHub's new media feature](https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/) in HTML to specify whether to display images for light or dark themes. This is done using the HTML `<picture>` element in combination with the `prefers-color-scheme` media feature.
149+
You can use the `bg_color` parameter to make any of [the available themes](../packages/core/src/themes/README.md) transparent. This is done by setting the `bg_color` to a color with a transparent alpha channel (i.e. `bg_color=00000000`):
138150

139-
```html
140-
<picture>
141-
<source
142-
srcset="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark"
143-
media="(prefers-color-scheme: dark)"
144-
/>
145-
<source
146-
srcset="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true"
147-
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
148-
/>
149-
<img src="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true" />
150-
</picture>
151+
```md
152+
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&bg_color=00000000)
151153
```
152154

153155
<details>
154156
<summary>:eyes: Show example</summary>
155157

156-
<picture>
157-
<source
158-
srcset="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark"
159-
media="(prefers-color-scheme: dark)"
160-
/>
161-
<source
162-
srcset="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true"
163-
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
164-
/>
165-
<img src="https://github-stats-extended.vercel.app/api?username=anuraghazra&show_icons=true" />
166-
</picture>
158+
![Anurag's GitHub stats](https://github-stats-extended.vercel.app/api?username=anuraghazra\&show_icons=true\&bg_color=00000000)
167159

168160
</details>
169161

0 commit comments

Comments
 (0)