Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from anuraghazra:master #16

Merged
merged 645 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
645 commits
Select commit Hold shift + click to select a range
bec0540
Build(deps): Bump rickstaa/top-issues-action from 1.3.46 to 1.3.50 (#…
dependabot[bot] Sep 18, 2023
b6d30dd
Build(deps-dev): Bump jest from 29.6.4 to 29.7.0 (#3249)
dependabot[bot] Sep 19, 2023
40b58f0
Build(deps-dev): Bump jest-environment-jsdom from 29.6.4 to 29.7.0 (#…
dependabot[bot] Sep 19, 2023
0780435
Build(deps-dev): Bump @testing-library/dom from 9.3.1 to 9.3.3 (#3251)
dependabot[bot] Sep 19, 2023
772ef35
infra: enable no-this-before-super eslint rule (#3256)
qwerty541 Sep 19, 2023
eb787af
infra: enable no-unneeded-ternary eslint rule (#3257)
qwerty541 Sep 19, 2023
2ee803f
feature: extend default card cache time to 6 hours (#3242)
qwerty541 Sep 19, 2023
41a2ba8
tests: add pin endpoint proper cache header test (#3260)
qwerty541 Sep 20, 2023
1fb2d1a
ci: add infrastructure label (#3270)
qwerty541 Sep 21, 2023
12f84f8
tests: add top langs endpoint proper cache header test (#3269)
qwerty541 Sep 21, 2023
65c3300
refactor(stats card fetcher): improve could not fetch total commits e…
qwerty541 Sep 21, 2023
7bf4a87
refactor: add GitHub REST API error to CustomError class (#3272)
qwerty541 Sep 22, 2023
5c9ca13
Build(deps): Bump github/codeql-action from 2.21.7 to 2.21.8 (#3289)
dependabot[bot] Sep 25, 2023
eb2652d
Build(deps): Bump rickstaa/empty-issues-closer-action (#3290)
dependabot[bot] Sep 25, 2023
5850506
Build(deps): Bump rickstaa/top-issues-action from 1.3.50 to 1.3.52 (#…
dependabot[bot] Sep 25, 2023
3312e90
Build(deps): Bump actions/checkout from 4.0.0 to 4.1.0 (#3291)
dependabot[bot] Sep 25, 2023
712cb18
Build(deps-dev): Bump eslint from 8.49.0 to 8.50.0 (#3293)
dependabot[bot] Sep 25, 2023
52b402a
Build(deps): Bump axios from 1.5.0 to 1.5.1 (#3315)
dependabot[bot] Oct 2, 2023
558af5c
Build(deps): Bump github/codeql-action from 2.21.8 to 2.21.9 (#3316)
dependabot[bot] Oct 2, 2023
e04d17d
ci(labeler): fix infrastructure label (#3284)
qwerty541 Oct 5, 2023
2404f06
Build(deps): Bump ossf/scorecard-action from 2.2.0 to 2.3.0 (#3340)
dependabot[bot] Oct 9, 2023
5f378b8
Build(deps): Bump rickstaa/top-issues-action from 1.3.52 to 1.3.54 (#…
dependabot[bot] Oct 9, 2023
3295d5d
Build(deps): Bump rickstaa/empty-issues-closer-action (#3343)
dependabot[bot] Oct 9, 2023
79384f4
Build(deps): Bump github/codeql-action from 2.21.9 to 2.22.1 (#3342)
dependabot[bot] Oct 9, 2023
971fc61
Build(deps): Bump stefanzweifel/git-auto-commit-action (#3344)
dependabot[bot] Oct 9, 2023
dd68af3
Build(deps-dev): Bump eslint from 8.50.0 to 8.51.0 (#3345)
dependabot[bot] Oct 9, 2023
35e4578
docs(contributing guidelines): remove duplicate license section (#3333)
qwerty541 Oct 11, 2023
88c507c
refactor: fix typo in TRY_AGAIN_LATER constant name (#3274)
qwerty541 Oct 12, 2023
3b53bed
docs: add available locales section (#3331)
qwerty541 Oct 12, 2023
18763ae
docs: remove broken sponsor links (#3336)
vishal-sharma-369 Oct 12, 2023
4c7e297
CI: Add static code analysis workflow (CodeQL) (#2918)
qwerty541 Oct 12, 2023
1728bb2
infra: enable no-with eslint rule (#3233)
qwerty541 Oct 12, 2023
d89edc0
infra: enable no-multiple-empty-lines eslint rule (#3262)
qwerty541 Oct 12, 2023
a397851
docs: fix relative README links (#3067)
rickstaa Oct 12, 2023
0fd1ea3
feature: do not aks user's to open issues on upstream API errors (#3273)
qwerty541 Oct 13, 2023
428e97b
Add performance tests base (#3141)
qwerty541 Oct 13, 2023
28b6592
Update generate-theme-doc.js (#3308)
sahilpawar01 Oct 13, 2023
7b1b78d
Revert "Update generate-theme-doc.js (#3308)" (#3353)
rickstaa Oct 13, 2023
1c07f41
feature: fetch only requested data from GitHub GraphQL API to reduce …
qwerty541 Oct 13, 2023
b753d49
infra: enable radix eslint rule (#3261)
qwerty541 Oct 13, 2023
cd9698b
infra: enable no-mixed-spaces-and-tabs eslint rule (#3285)
qwerty541 Oct 13, 2023
7c5e998
ci: fix master branch name in CodeQL analysis workflow (#3354)
qwerty541 Oct 13, 2023
ee7cf1f
docs: add uptime badge (#3350)
rickstaa Oct 13, 2023
7a6d7b4
ci: fix 'update-langs' workflow permissions (#3352)
rickstaa Oct 13, 2023
4fd52e6
ci: fix small theme preview script typo (#3355)
rickstaa Oct 13, 2023
00394cf
docs(themes): improve compatibility message (#3362)
qwerty541 Oct 14, 2023
ac749b7
refactor: resolve vscode type errors in wakatime card render and remo…
qwerty541 Oct 15, 2023
d72ae34
docs: add translations contribution guide (#3360)
qwerty541 Oct 15, 2023
6dc6c61
docs: improve vercel badge position (#3347)
rickstaa Oct 15, 2023
2567a6e
docs: add top issues dashboard notice (#3363)
qwerty541 Oct 15, 2023
8278980
infra: enable no-negated-condition eslint rule (#3283)
qwerty541 Oct 15, 2023
365dfb7
docs(translations): remove broken sponsors links (#3361)
qwerty541 Oct 15, 2023
4e949c2
docs(contributing): remove outdated local dev steps (#3358)
rickstaa Oct 16, 2023
41d19be
Build(deps): Bump rickstaa/empty-issues-closer-action (#3375)
dependabot[bot] Oct 16, 2023
dd528c4
Build(deps): Bump rickstaa/top-issues-action from 1.3.54 to 1.3.56 (#…
dependabot[bot] Oct 16, 2023
c289b10
Build(deps): Bump actions/checkout from 3.5.3 to 4.1.0 (#3377)
dependabot[bot] Oct 16, 2023
bb17789
Build(deps-dev): Bump @testing-library/jest-dom from 6.1.3 to 6.1.4 (…
dependabot[bot] Oct 16, 2023
e7056fb
Build(deps-dev): Bump lint-staged from 14.0.1 to 15.0.1 (#3379)
dependabot[bot] Oct 16, 2023
29c1fef
Build(deps-dev): Bump @babel/traverse from 7.22.8 to 7.23.2 (#3381)
dependabot[bot] Oct 16, 2023
4dc930b
Build(deps-dev): Bump @actions/github from 5.1.1 to 6.0.0 (#3380)
dependabot[bot] Oct 16, 2023
3dab984
docs(contributions): use HTTPS protocol inside license link (#3373)
qwerty541 Oct 17, 2023
b85225b
docs(contributions): improve visability of themes merging policy (#3371)
qwerty541 Oct 17, 2023
bc9076a
docs: use absolute paths for several broken links as temporary soluti…
qwerty541 Oct 18, 2023
885bd1b
docs: add link to translations contribution guidelines (#3390)
qwerty541 Oct 18, 2023
ae35637
docs(contributions): add one theme per pull request rule (#3394)
qwerty541 Oct 19, 2023
33beba5
ci(theme preview): add one theme per pull request rule (#3395)
qwerty541 Oct 21, 2023
3eedfd3
chore(theme): add light and dark catppuccin themes with fix for contr…
cosmojg Oct 22, 2023
cb5ac97
docs: themes addition paused (#3409)
qwerty541 Oct 23, 2023
edeebeb
docs(contributing): themes addition paused (#3408)
qwerty541 Oct 23, 2023
f8aa2db
ci(theme preview): allow gradient themes (#3400)
qwerty541 Oct 23, 2023
3977b90
tests:: allow gradient themes (#3401)
qwerty541 Oct 23, 2023
c795c72
Build(deps): Bump actions/checkout from 4.1.0 to 4.1.1 (#3413)
dependabot[bot] Oct 23, 2023
376aeaa
Build(deps): Bump rickstaa/top-issues-action from 1.3.56 to 1.3.61 (#…
dependabot[bot] Oct 23, 2023
69b1745
Build(deps): Bump bahmutov/npm-install from 1.8.35 to 1.8.36 (#3414)
dependabot[bot] Oct 23, 2023
3d0780b
Build(deps): Bump rickstaa/empty-issues-closer-action (#3417)
dependabot[bot] Oct 23, 2023
453ab19
Build(deps): Bump actions/setup-node from 3.8.1 to 4.0.0 (#3416)
dependabot[bot] Oct 23, 2023
8ee18b8
Build(deps-dev): Bump lint-staged from 15.0.1 to 15.0.2 (#3418)
dependabot[bot] Oct 23, 2023
69cdf00
Build(deps-dev): Bump eslint from 8.51.0 to 8.52.0 (#3419)
dependabot[bot] Oct 23, 2023
23f9cc7
docs(theme): Auto update theme readme (#3407)
qwerty541 Oct 24, 2023
7fe7c63
ci(top issues dashboard): themes addition paused (#3410)
qwerty541 Oct 24, 2023
6bcc98d
fix: fix `WakaTime` brand casing (#3411)
Joehuu Oct 24, 2023
c79fc99
docs(contributing): change protocol from HTTPS to HTTP in local devel…
kafkaidk Oct 26, 2023
8084ba9
i18n: improve Ukrainian translations (#3422)
eternityduck Oct 26, 2023
87a3bf3
ci(theme readme gen): lowercase commit message to match conventional …
qwerty541 Oct 26, 2023
0691084
ci(preview theme): allow gradient colors (2) (#3427)
qwerty541 Oct 26, 2023
db92181
fix(top langs fetcher): fix typo inside error message (#3431)
eternityduck Oct 28, 2023
9c6eb22
feature: render error card in same theme as requested card (resolves …
notpritam Oct 28, 2023
89fc146
refactor: improve blacklisted username error by adding secondary mess…
qwerty541 Oct 30, 2023
5b72dfb
tests(stats card): cover with test changes in #3298 (#3443)
qwerty541 Oct 30, 2023
2feebd0
infra(dependabot): set myself as pull requests reviewer (#3435)
qwerty541 Oct 30, 2023
91a3ac2
Build(deps): Bump rickstaa/empty-issues-closer-action (#3446)
dependabot[bot] Oct 30, 2023
10236d8
Build(deps): Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#3447)
dependabot[bot] Oct 30, 2023
6cf9bb8
Build(deps): Bump axios from 1.5.1 to 1.6.0 (#3448)
dependabot[bot] Oct 30, 2023
2b90336
Build(deps): Bump rickstaa/top-issues-action from 1.3.61 to 1.3.64 (#…
dependabot[bot] Oct 30, 2023
1886fe0
refactor: update languages JSON (#3450)
github-actions[bot] Oct 31, 2023
2ddcd9c
infra(dependabot): configure commits message to match conventional co…
qwerty541 Oct 31, 2023
ff16984
refactor: fix typos in a comment (#3437)
Wertzui123 Nov 1, 2023
236577f
infra: enable no-class-assign eslint rule (#3451)
qwerty541 Nov 1, 2023
5b3b920
infra: enable no-const-assign eslint rule (#3452)
qwerty541 Nov 1, 2023
90c30f2
infra: enable no-dupe-class-members eslint rule (#3456)
qwerty541 Nov 6, 2023
6d8169f
tests(wakatime-fetcher): fix brand casing (#3455)
qwerty541 Nov 6, 2023
e5b5da8
tests: add basic wakatime endpoint test (#3454)
qwerty541 Nov 6, 2023
79cee30
infra: enable constructor-super eslint rule (#3457)
qwerty541 Nov 7, 2023
bc7ea33
build(deps): Bump rickstaa/empty-issues-closer-action (#3460)
dependabot[bot] Nov 7, 2023
a99abe8
build(deps): Bump rickstaa/top-issues-action from 1.3.64 to 1.3.65 (#…
dependabot[bot] Nov 7, 2023
843b15e
build(deps-dev): Bump eslint from 8.52.0 to 8.53.0 (#3459)
dependabot[bot] Nov 7, 2023
8d7e9df
themes: add ambient_gradient theme for test (#3399)
qwerty541 Nov 7, 2023
dda9647
fix(express deploy): fix situations when env variables doesn't load b…
wolfcomp Nov 7, 2023
aa90efc
docs(theme): auto update theme readme (#3462)
qwerty541 Nov 7, 2023
edf9f74
infra: enable keyword-spacing eslint rule and remove decrecated space…
qwerty541 Nov 10, 2023
5ea6595
infra: enable no-delete-var eslint rule (#3465)
qwerty541 Nov 10, 2023
51eefa2
infra: enable no-caller eslint rule (#3473)
qwerty541 Nov 13, 2023
d654fe5
infra: enable no-alert eslint rule (#3472)
qwerty541 Nov 13, 2023
034ee06
build(deps-dev): Bump lint-staged from 15.0.2 to 15.1.0 (#3477)
dependabot[bot] Nov 13, 2023
36bbea2
build(deps): Bump axios from 1.6.0 to 1.6.1 (#3478)
dependabot[bot] Nov 13, 2023
e04e139
build(deps-dev): Bump prettier from 3.0.3 to 3.1.0 (#3476)
dependabot[bot] Nov 13, 2023
e50a9b4
build(deps): Bump rickstaa/top-issues-action from 1.3.65 to 1.3.69 (#…
dependabot[bot] Nov 13, 2023
4997308
build(deps): Bump rickstaa/empty-issues-closer-action (#3480)
dependabot[bot] Nov 13, 2023
3a15963
ci: add wakatime endpoint test file into pull requests labeler (#3482)
qwerty541 Nov 15, 2023
f26b83d
tests: fix typo inside card class proper height/width test (#3489)
qwerty541 Nov 20, 2023
d4f1a5d
docs: grammar/Clarity Fixes. (#3463)
krple Nov 20, 2023
ddcc30d
feat(repo card): add description lines count query parameter (#3453)
qwerty541 Nov 20, 2023
68c49dd
build(deps): Bump rickstaa/empty-issues-closer-action (#3490)
dependabot[bot] Nov 20, 2023
723cdd7
build(deps): Bump rickstaa/top-issues-action from 1.3.69 to 1.3.71 (#…
dependabot[bot] Nov 20, 2023
ffe2862
build(deps): Bump axios from 1.6.1 to 1.6.2 (#3492)
dependabot[bot] Nov 20, 2023
afcb773
build(deps-dev): Bump eslint from 8.53.0 to 8.54.0 (#3493)
dependabot[bot] Nov 20, 2023
a8663a8
feat(wakatime card): add disable animations query option (#3496)
qwerty541 Nov 23, 2023
b8983dd
feat: show wakatime stats in percentage (resolves #3016) (#3326)
ritik48 Nov 23, 2023
1262002
fix(wakatime card): add percent display format for compact layout (re…
qwerty541 Nov 25, 2023
c6c4a88
docs: improve query options appereance using tables (#3484)
qwerty541 Nov 25, 2023
4793de4
build(deps): Bump rickstaa/top-issues-action from 1.3.71 to 1.3.75 (#…
dependabot[bot] Nov 27, 2023
7595456
build(deps): Bump rickstaa/empty-issues-closer-action (#3507)
dependabot[bot] Nov 27, 2023
0616df3
tests: add gist card performance test (#3372)
qwerty541 Nov 28, 2023
1656ec6
tests: add pin card performance test (#3374)
qwerty541 Nov 28, 2023
80b2d23
build(deps-dev): Bump @adobe/css-tools from 4.3.1 to 4.3.2 (#3516)
dependabot[bot] Dec 1, 2023
1cba9c1
build(deps-dev): Bump eslint from 8.54.0 to 8.55.0 (#3522)
dependabot[bot] Dec 4, 2023
105e136
build(deps-dev): Bump lint-staged from 15.1.0 to 15.2.0 (#3524)
dependabot[bot] Dec 4, 2023
91889a3
build(deps-dev): Bump eslint-config-prettier from 9.0.0 to 9.1.0 (#3523)
dependabot[bot] Dec 4, 2023
4412af8
build(deps-dev): Bump @testing-library/jest-dom from 6.1.4 to 6.1.5 (…
dependabot[bot] Dec 4, 2023
34c67ff
build(deps): Bump rickstaa/top-issues-action from 1.3.75 to 1.3.77 (#…
dependabot[bot] Dec 4, 2023
6633d68
build(deps): Bump rickstaa/empty-issues-closer-action (#3527)
dependabot[bot] Dec 4, 2023
23472f4
build(deps): Bump actions/labeler from 4.3.0 to 5.0.0 (#3526)
dependabot[bot] Dec 4, 2023
c31f3e8
ci: update labeler config to match latest action version (#3533)
qwerty541 Dec 11, 2023
2259870
docs: fix wakatime card api_domain option default value (#3532)
qwerty541 Dec 11, 2023
c402a23
refactor: add missing export for wakatime options type (#3531)
qwerty541 Dec 11, 2023
f831dad
build(deps-dev): Bump prettier from 3.1.0 to 3.1.1 (#3540)
dependabot[bot] Dec 11, 2023
9c1bb80
build(deps): Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#3549)
dependabot[bot] Dec 18, 2023
beb0172
build(deps): Bump rickstaa/top-issues-action from 1.3.77 to 1.3.83 (#…
dependabot[bot] Dec 18, 2023
82699d6
build(deps): Bump rickstaa/empty-issues-closer-action (#3551)
dependabot[bot] Dec 18, 2023
3ea55bb
build(deps): Bump actions/setup-node from 4.0.0 to 4.0.1 (#3552)
dependabot[bot] Dec 18, 2023
e30da92
build(deps-dev): Bump eslint from 8.55.0 to 8.56.0 (#3553)
dependabot[bot] Dec 18, 2023
f44ddde
build(deps): bump rickstaa/top-issues-action from 1.3.83 to 1.3.86 (#…
dependabot[bot] Dec 25, 2023
c1e8037
build(deps): bump rickstaa/empty-issues-closer-action (#3561)
dependabot[bot] Dec 25, 2023
59367dc
refactor(wakatime card): move duplicate value format logic into separ…
qwerty541 Dec 26, 2023
7d4c49b
ci: use same .yml file extension for all workflows for consistency (#…
qwerty541 Dec 26, 2023
4710f24
tests(stats card): fix render translations test (#3580)
qwerty541 Jan 7, 2024
d2dbffe
refactor: update languages JSON (#3567)
github-actions[bot] Jan 7, 2024
53a1e34
build(deps): bump rickstaa/empty-issues-closer-action (#3570)
dependabot[bot] Jan 7, 2024
1852db0
build(deps): bump rickstaa/top-issues-action from 1.3.86 to 1.3.87 (#…
dependabot[bot] Jan 7, 2024
5dd50ee
build(deps-dev): bump @testing-library/jest-dom from 6.1.5 to 6.1.6 (…
dependabot[bot] Jan 7, 2024
69f5826
build(deps): bump axios from 1.6.2 to 1.6.3 (#3573)
dependabot[bot] Jan 7, 2024
258d54d
build(deps-dev): bump jest-bench from 29.4.1 to 29.7.1 (#3574)
dependabot[bot] Jan 7, 2024
9406466
build(deps): bump axios from 1.6.2 to 1.6.5 (#3581)
dependabot[bot] Jan 7, 2024
62662be
build(deps-dev): bump @testing-library/jest-dom from 6.1.6 to 6.2.0 (…
dependabot[bot] Jan 8, 2024
39e8c20
build(deps): bump rickstaa/empty-issues-closer-action (#3583)
dependabot[bot] Jan 8, 2024
d1540ef
build(deps): bump rickstaa/top-issues-action from 1.3.87 to 1.3.91 (#…
dependabot[bot] Jan 8, 2024
9cce439
build(deps-dev): bump @testing-library/dom from 9.3.3 to 9.3.4 (#3587)
dependabot[bot] Jan 15, 2024
14fe8cd
build(deps-dev): bump prettier from 3.1.1 to 3.2.2 (#3588)
dependabot[bot] Jan 15, 2024
3d996b9
build(deps): bump rickstaa/empty-issues-closer-action (#3591)
dependabot[bot] Jan 15, 2024
eb3b4d1
build(deps): bump rickstaa/top-issues-action from 1.3.91 to 1.3.93 (#…
dependabot[bot] Jan 15, 2024
9a11163
build(deps): bump bahmutov/npm-install from 1.8.36 to 1.8.37 (#3592)
dependabot[bot] Jan 15, 2024
fa50161
build(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0 (#3589)
dependabot[bot] Jan 15, 2024
533469d
tests(e2e): update data to fix retrieve stats card test (#3609)
qwerty541 Jan 23, 2024
91db535
fix(stats card): set correct value of commits count in accessability …
qwerty541 Jan 23, 2024
4f567cc
build(deps): bump rickstaa/empty-issues-closer-action (#3603)
dependabot[bot] Jan 24, 2024
734c69a
build(deps): bump rickstaa/top-issues-action from 1.3.93 to 1.3.95 (#…
dependabot[bot] Jan 24, 2024
8b610da
build(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0 (#3604)
dependabot[bot] Jan 24, 2024
b9fa27b
build(deps): bump dotenv from 16.3.1 to 16.3.2 (#3606)
dependabot[bot] Jan 24, 2024
26f6d7f
build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#3607)
dependabot[bot] Jan 24, 2024
0704b5a
build(deps-dev): bump @testing-library/jest-dom from 6.2.0 to 6.2.1 (…
dependabot[bot] Jan 24, 2024
319e3d4
tests: refactor stats card e2e test to avoid future error due to year…
qwerty541 Jan 25, 2024
547660b
tests(e2e): update data to fix retrieve stats card test (#3626)
qwerty541 Jan 30, 2024
13c25c7
build(deps-dev): bump @testing-library/jest-dom from 6.2.1 to 6.3.0 (…
dependabot[bot] Jan 31, 2024
5a05bd2
build(deps-dev): bump husky from 8.0.3 to 9.0.7 (#3621)
dependabot[bot] Jan 31, 2024
9533319
build(deps): bump axios from 1.6.5 to 1.6.7 (#3622)
dependabot[bot] Jan 31, 2024
91d0ed6
build(deps): bump dotenv from 16.3.2 to 16.4.1 (#3623)
dependabot[bot] Jan 31, 2024
62c7101
ci(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 (#3624)
dependabot[bot] Jan 31, 2024
3e14baf
ci(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 (#3625)
dependabot[bot] Jan 31, 2024
1be7d06
build(deps-dev): bump lint-staged from 15.2.0 to 15.2.2 (#3639)
dependabot[bot] Feb 5, 2024
5f411be
tests(e2e): update data to fix retrieve stats card test (#3643)
qwerty541 Feb 6, 2024
3ba7666
build(deps-dev): bump prettier from 3.2.4 to 3.2.5 (#3640)
dependabot[bot] Feb 7, 2024
8ad4eee
build(deps-dev): bump husky from 9.0.7 to 9.0.10 (#3642)
dependabot[bot] Feb 7, 2024
a7159aa
build(deps-dev): bump @testing-library/jest-dom from 6.3.0 to 6.4.2 (…
dependabot[bot] Feb 7, 2024
e71c63d
ci(deps): bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 (#…
dependabot[bot] Feb 8, 2024
2f67ff1
ci(deps): bump bahmutov/npm-install from 1.8.37 to 1.8.38 (#3638)
dependabot[bot] Feb 8, 2024
c213f9e
build(deps): bump dotenv from 16.4.1 to 16.4.2 (#3645)
dependabot[bot] Feb 13, 2024
916c51a
build(deps): bump actions/setup-node from 4.0.1 to 4.0.2 (#3646)
dependabot[bot] Feb 13, 2024
c48c4f5
ci(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#3648)
dependabot[bot] Feb 13, 2024
bf937ab
ci(deps): bump rickstaa/empty-issues-closer-action (#3647)
dependabot[bot] Feb 13, 2024
8c268ee
ci(deps): bump rickstaa/top-issues-action from 1.3.95 to 1.3.97 (#3649)
dependabot[bot] Feb 13, 2024
200b703
build(deps-dev): bump undici from 5.26.3 to 5.28.3 (#3651)
dependabot[bot] Feb 16, 2024
5796024
docs: fix default value of cache_seconds query option in README (#3644)
valbeat Feb 16, 2024
663e4f0
infra(dependabot): change github actions prs commit message prefix (#…
qwerty541 Feb 19, 2024
918d274
ci(deps): bump rickstaa/empty-issues-closer-action from 1.1.71 to 1.1…
dependabot[bot] Feb 19, 2024
1e30934
ci(deps): bump bahmutov/npm-install from 1.8.38 to 1.10.1 (#3658)
dependabot[bot] Feb 19, 2024
364bba7
build(deps): bump dotenv from 16.4.2 to 16.4.4 (#3660)
dependabot[bot] Feb 20, 2024
537862f
build(deps-dev): bump husky from 9.0.10 to 9.0.11 (#3659)
dependabot[bot] Feb 20, 2024
c2647d8
ci(deps): bump rickstaa/top-issues-action from 1.3.97 to 1.3.98 (#3671)
dependabot[bot] Feb 26, 2024
1d27c6b
build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#3672)
dependabot[bot] Feb 27, 2024
e69427e
build(deps): bump dotenv from 16.4.4 to 16.4.5 (#3673)
dependabot[bot] Feb 27, 2024
4de672c
ci(deps): bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 (#…
dependabot[bot] Mar 4, 2024
9ea7535
ci(deps): bump rickstaa/top-issues-action from 1.3.98 to 1.3.99 (#3685)
dependabot[bot] Mar 4, 2024
8282afb
ci: prevent OSSF analysis workflow from running in forks (#3652)
harryzcy Mar 5, 2024
abf9c66
build(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#3697)
dependabot[bot] Mar 16, 2024
018e7fd
ci(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#3700)
dependabot[bot] Mar 19, 2024
df84138
ci(deps): bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#…
dependabot[bot] Mar 19, 2024
4761871
build(deps): bump axios from 1.6.7 to 1.6.8 (#3702)
dependabot[bot] Mar 19, 2024
0a372d2
ci(deps): bump rickstaa/top-issues-action from 1.3.99 to 1.3.100 (#3709)
dependabot[bot] Mar 25, 2024
fd12c01
refactor: update languages JSON (#3711)
github-actions[bot] Mar 31, 2024
a71bb1b
build(deps-dev): bump undici from 5.28.3 to 5.28.4 (#3716)
dependabot[bot] Apr 4, 2024
bd5f268
build(deps-dev): bump @testing-library/dom from 9.3.4 to 10.0.0 (#3719)
dependabot[bot] Apr 8, 2024
c9f850c
ci(deps): bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#…
dependabot[bot] Apr 16, 2024
af9b2c8
ci(deps): bump stefanzweifel/git-auto-commit-action from 5.0.0 to 5.0…
dependabot[bot] Apr 16, 2024
e93b5d5
ci(deps): bump actions/checkout from 4.1.2 to 4.1.3 (#3738)
dependabot[bot] Apr 23, 2024
0706c26
ci(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3 (#3737)
dependabot[bot] Apr 23, 2024
ee0b0e9
ci(deps): bump peter-evans/create-pull-request from 6.0.3 to 6.0.4 (#…
dependabot[bot] Apr 23, 2024
0b3e07a
ci(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#3748)
dependabot[bot] Apr 30, 2024
cb4b630
ci(deps): bump peter-evans/create-pull-request from 6.0.4 to 6.0.5 (#…
dependabot[bot] Apr 30, 2024
d739c0a
build(deps-dev): bump @testing-library/dom from 10.0.0 to 10.1.0 (#3746)
dependabot[bot] Apr 30, 2024
9d9ad87
ci(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#3765)
dependabot[bot] May 7, 2024
daa0432
ci(deps): bump bahmutov/npm-install from 1.10.1 to 1.10.2 (#3764)
dependabot[bot] May 7, 2024
124225d
build(deps-dev): bump @testing-library/jest-dom from 6.4.2 to 6.4.5 (…
dependabot[bot] May 7, 2024
e1356e3
ci(deps): bump rickstaa/top-issues-action from 1.3.100 to 1.3.101 (#3…
dependabot[bot] May 17, 2024
0bdc2bf
ci(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#3768)
dependabot[bot] May 17, 2024
e06b0d2
build(deps): bump axios from 1.6.8 to 1.7.1 (#3772)
dependabot[bot] May 21, 2024
7a78036
ci(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#3774)
dependabot[bot] May 21, 2024
2ec2716
build(deps): bump axios from 1.7.1 to 1.7.2 (#3783)
dependabot[bot] May 27, 2024
1a269d6
build(deps-dev): bump lint-staged from 15.2.2 to 15.2.5 (#3782)
dependabot[bot] May 27, 2024
e26c013
build(deps-dev): bump prettier from 3.2.5 to 3.3.0 (#3789)
dependabot[bot] Jun 4, 2024
e48d073
build(deps-dev): bump prettier from 3.3.0 to 3.3.1 (#3804)
dependabot[bot] Jun 11, 2024
127a507
build(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#3812)
dependabot[bot] Jun 18, 2024
6999c86
build(deps-dev): bump lint-staged from 15.2.5 to 15.2.7 (#3813)
dependabot[bot] Jun 18, 2024
66579b1
build(deps-dev): bump @testing-library/jest-dom from 6.4.5 to 6.4.6 (…
dependabot[bot] Jun 18, 2024
bf4fbc2
build(deps-dev): bump ws from 8.9.0 to 8.17.1 (#3816)
dependabot[bot] Jun 19, 2024
26571ca
ci(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#3815)
dependabot[bot] Jun 19, 2024
62cdee3
build(deps-dev): bump @testing-library/dom from 10.1.0 to 10.2.0 (#3822)
dependabot[bot] Jun 25, 2024
b6f5077
ci(deps): bump peter-evans/create-pull-request from 6.0.5 to 6.1.0 (#…
dependabot[bot] Jun 25, 2024
0496044
refactor: update languages JSON (#3832)
github-actions[bot] Jul 4, 2024
6c6888e
tests(e2e): fix stats card data name (#3839)
qwerty541 Jul 6, 2024
20fb82f
ci(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 (#3841)
dependabot[bot] Jul 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
themes: themes/index.js
doc-translation: docs/*
card-i18n: src/translations.js
documentation: readme.md
4 changes: 4 additions & 0 deletions .github/workflows/generate-theme-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: npm

# Fix the unsafe repo error which was introduced by the CVE-2022-24765 git patches.
- name: Fix unsafe repo error
run: git config --global --add safe.directory ${{ github.workspace }}

- name: npm install, generate readme
run: |
npm ci
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ vercel_token
# IDE
.vscode
*.code-workspace

.vercel
20 changes: 12 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting an issue
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
- Reporting [an issue](https://github.com/anuraghazra/github-readme-stats/issues/new?assignees=&labels=bug&template=bug_report.yml).
- [Discussing](https://github.com/anuraghazra/github-readme-stats/discussions) the current state of the code.
- Submitting [a fix](https://github.com/anuraghazra/github-readme-stats/compare).
- Proposing [new features](https://github.com/anuraghazra/github-readme-stats/issues/new?assignees=&labels=enhancement&template=feature_request.yml).
- Becoming a maintainer.

## All Changes Happen Through Pull Requests

Expand All @@ -33,11 +33,15 @@ _(make sure you already have a [Vercel](https://vercel.com/) account)_
1. Install [Vercel CLI](https://vercel.com/download).
2. Fork the repository and clone the code to your local machine.
3. Run `npm install` in the repository root.
4. Run the command "vercel" in the root and follow the steps there.
4. Run the command `vercel` in the root and follow the steps there.
5. Open `vercel.json` and set the maxDuration to 10.
6. Create a `.env` file in the root of the directory.
7. In the .env file add a new variable named "PAT_1" with your [GitHub Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).
8. Run the command "vercel dev" to start a development server at <https://localhost:3000>.
7. In the .env file add a new variable named `PAT_1` with your [GitHub Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token).
8. Run the command `vercel dev` to start a development server at <https://localhost:3000>.
9. The cards will then be available from this local endpoint (i.e. `https://localhost:3000/api?username=anuraghazra`).

> **Note**
> You can also debug any tests using the [VSCode Jest extension](https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest). For more information see https://github.com/jest-community/vscode-jest/issues/912.

## Themes Contribution

Expand Down
4 changes: 4 additions & 0 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export default async (req, res) => {
locale,
disable_animations,
border_radius,
number_format,
border_color,
rank_icon,
} = req.query;
res.setHeader("Content-Type", "image/svg+xml");

Expand Down Expand Up @@ -88,8 +90,10 @@ export default async (req, res) => {
custom_title,
border_radius,
border_color,
number_format,
locale: locale ? locale.toLowerCase() : null,
disable_animations: parseBoolean(disable_animations),
rank_icon,
}),
);
} catch (err) {
Expand Down
4 changes: 2 additions & 2 deletions api/status/pat-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* @file Contains a simple cloud function that can be used to check which PATs are no
* longer working. It returns a list of valid PATs, expired PATs and PATs with errors.
*
* @description This function is currently rate limited to 1 request per 10 minutes.
* @description This function is currently rate limited to 1 request per 5 minutes.
*/

import { logger, request, dateDiff } from "../../src/common/utils.js";
export const RATE_LIMIT_SECONDS = 60 * 5; // 1 request per 10 minutes
export const RATE_LIMIT_SECONDS = 60 * 5; // 1 request per 5 minutes

/**
* Simple uptime check fetcher for the PATs.
Expand Down
4 changes: 2 additions & 2 deletions api/status/up.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
* @file Contains a simple cloud function that can be used to check if the PATs are still
* functional.
*
* @description This function is currently rate limited to 1 request per 10 minutes.
* @description This function is currently rate limited to 1 request per 5 minutes.
*/

import retryer from "../../src/common/retryer.js";
import { logger, request } from "../../src/common/utils.js";

export const RATE_LIMIT_SECONDS = 60 * 10; // 1 request per 10 minutes
export const RATE_LIMIT_SECONDS = 60 * 5; // 1 request per 5 minutes

/**
* Simple uptime check fetcher for the PATs.
Expand Down
4 changes: 4 additions & 0 deletions api/top-langs.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export default async (req, res) => {
layout,
langs_count,
exclude_repo,
size_weight,
count_weight,
custom_title,
locale,
border_radius,
Expand All @@ -46,6 +48,8 @@ export default async (req, res) => {
const topLangs = await fetchTopLanguages(
username,
parseArray(exclude_repo),
size_weight,
count_weight,
);

const cacheSeconds = clampValue(
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">喜欢这个项目?请考虑<a href="https://www.paypal.me/anuraghazra">捐赠</a>来帮助它完善!
Expand Down Expand Up @@ -138,7 +140,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr
- `bg_color` - 卡片背景颜色 _(十六进制色码)_ **或者** 以 _angle,start,end_ 的形式渐变
- `hide_border` - 隐藏卡的边框 _(布尔值)_
- `theme` - 主题名称,从[所有可用主题](../themes/README.md)中选择
- `cache_seconds` - 手动设置缓存头 _(最小值: 1800,最大值: 86400)_
- `cache_seconds` - 手动设置缓存头 _(最小值: 14400,最大值: 86400)_
- `locale` - 在卡片中设置语言 _(例如 cn, de, es, 等等)_

##### bg_color 渐变
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_de.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">Du magst das Projekt? Wie wäre es mit einer kleinen <a href="https://www.paypal.me/anuraghazra">Spende</a> um es weiterhin am Leben zu erhalten?
Expand Down Expand Up @@ -128,7 +130,7 @@ Du kannst das Erscheinungsbild deiner `Stats Card` oder `Repo Card`, mithilfe vo
- `bg_color` - Hintergrundfarbe _(hex color)_ **oder** ein Farbverlauf in der Form von _winkel,start,ende_
- `hide_border` - Blendet den Rand der Karte aus _(Boolean)_
- `theme` - Name des Erscheinungsbildes/Themes [alle verfügbaren Themes](../themes/README.md)
- `cache_seconds` - manuelles festlegen der Cachezeiten _(min: 1800, max: 86400)_
- `cache_seconds` - manuelles festlegen der Cachezeiten _(min: 14400, max: 86400)_
- `locale` - Stellen Sie die Sprache auf der Karte ein _(z.B. cn, de, es, etc.)_

##### Farbverlauf in bg_color
Expand Down
2 changes: 1 addition & 1 deletion docs/readme_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Puedes personalizar el aspecto de tu `Tarjeta de Estadísticas` o `Tarjeta de Re
- `bg_color` - Color de fondo _(hex color)_
- `hide_border` - Oculta el borde de la tarjeta _(booleano)_
- `theme` - Nombre del tema, elige uno de [todos los temas disponible ](../themes/README.md)
- `cache_seconds` - Cache _(min: 1800, max: 86400)_
- `cache_seconds` - Cache _(min: 14400, max: 86400)_
- `locale` - configurar el idioma en la tarjeta _(p.ej. cn, de, es, etc.)_

##### Gradiente en `bg_color`
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">Vous aimez ce projet? Pensez <a href="https://www.paypal.me/anuraghazra">à faire un don</a> pour l'améliorer!
Expand Down Expand Up @@ -138,7 +140,7 @@ Vous pouvez personnaliser l'apparence de votre `Carte des stats` ou `Carte de d
- `bg_color` - Couleur du fond de la carte _(hex color)_ **ou** un gradiant de la forme _angle,start,end_
- `hide_border` - Cache la bordure de la carte _(booléen)_
- `theme` - Nom du thème, parmis [tous les thèmes disponibles](../themes/README.md)
- `cache_seconds` - Paramétrer le cache manuellement _(min: 1800, max: 86400)_
- `cache_seconds` - Paramétrer le cache manuellement _(min: 14400, max: 86400)_
- `locale` - définir la langue de la carte _(par exemple. cn, de, es, etc.)_

##### Gradient in bg_color
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_it.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">Se ti piace questo progetto, considera la possibilità di <a href="https://www.paypal.me/anuraghazra">donare</a> per aiutare a renderlo migliore!
Expand Down Expand Up @@ -138,7 +140,7 @@ Puoi personalizzare l'aspetto delle tue `Stats Card` o delle `Repo Card` in qual
- `bg_color` - Colore dello sfondo _(in esadecimale)_ **oppure** un gradiente nella forma _angolo,inizio,fine_
- `hide_border` - Nasconde il bordo della carta _(booleano)_
- `theme` - Nome del tema, dai un'occhiata a [tutti i temi disponibili](../themes/README.md)
- `cache_seconds` - Specifica manualmente il valore di cache, in secondi _(min: 1800, max: 86400)_
- `cache_seconds` - Specifica manualmente il valore di cache, in secondi _(min: 14400, max: 86400)_
- `locale` - Impostare la lingua nella scheda _(per esempio. cn, de, es, eccetera.)_

##### Gradiente nello sfondo
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">このプロジェクトを気に入っていただけましたか?<br>もしよろしければ、プロジェクトのさらなる改善のために<a href="https://www.paypal.me/anuraghazra">寄付</a>を検討して頂けると嬉しいです!</p>
Expand Down Expand Up @@ -139,7 +141,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr
- `bg_color` - 背景の色 _(16 進数カラーコード)_ **または** _angle,start,end_ の形式でグラデーションを指定することも可
- `hide_border` - カードの境界線を非表示にします _(ブール値)_
- `theme` - [使用可能なテーマ一覧](../themes/README.md) から選んだテーマ名
- `cache_seconds` - キャッシュ時間の秒数 _(最小値: 1800, 最大値: 86400)_
- `cache_seconds` - キャッシュ時間の秒数 _(最小値: 14400, 最大値: 86400)_
- `locale` - カードに言語を設定する _(例えば cn, de, es, 等)_

##### bg_color の グラデーション指定
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_kr.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">기능들이 마음에 드시나요? 괜찮으시다면, 서비스 개선을 위해 <a href="https://www.paypal.me/anuraghazra">기부</a>를 고려해주세요!
Expand Down Expand Up @@ -149,7 +151,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr
- `bg_color` - 카드의 배경 색상 _(hex color)_ **혹은** 다음 양식으로 그라데이션 주기 _angle,start,end_
- `hide_border` - 카드의 테두리 표시 여부 _(boolean)_
- `theme` - 테마의 이름, [사용 가능한 모든 테마](../themes/README.md) 에서 선택
- `cache_seconds` - 수동으로 캐시 헤더 설정 _(min: 1800, max: 86400)_
- `cache_seconds` - 수동으로 캐시 헤더 설정 _(min: 14400, max: 86400)_
- `locale` - 카드에 표시할 언어 _(e.g. kr, cn, de, es, etc.)_

##### 배경에 그라데이션 주기
Expand Down
4 changes: 3 additions & 1 deletion docs/readme_nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<a href="/docs/readme_nl.md">Nederlands</a>
.
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">Bevalt het project? <a href="https://www.paypal.me/anuraghazra">Doneer</a> om het te verbeteren!
Expand Down Expand Up @@ -142,7 +144,7 @@ Je kan het uiterlijk van je `Statistieken kaart` of `Repo kaart` aanpassen hoe j
- `bg_color` - Achtergrond kleur van de kaart _(hex kleur)_ **of** een verloop van kleuren in het formaat van _graden,start,einde_
- `hide_border` - Verbergt de rand van de kaart _(boolean)_
- `theme` - Naam van het thema, kies uit [alle beschikbare thema\'s](../themes/README.md)
- `cache_seconds` - Stel de cache header handmatig in _(min: 1800, max: 86400)_
- `cache_seconds` - Stel de cache header handmatig in _(min: 14400, max: 86400)_
- `locale` - Stel taal van de kaart in _(e.g. cn, de, es, etc.)_

##### Kleurenverloop in bg_color (achtergrond kleur):
Expand Down
6 changes: 5 additions & 1 deletion docs/readme_np.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@
<a href="/docs/readme_it.md">Italiano</a>
·
<a href="/docs/readme_kr.md">한국어</a>
.
<a href="/docs/readme_nl.md">Nederlands</a>
·
<a href="/docs/readme_np.md">नेपाली</a>
.
<a href="/docs/readme_tr.md">Türkçe</a>
</p>
</p>
<p align="center">परियोजना मनपर्‍यो? तपाईं मद्दत गर्न सक्नुहुन्छ <a href="https://www.paypal.me/anuraghazra">यो परियोजना</a> बढ्न
Expand Down Expand Up @@ -138,7 +142,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr
- `bg_color` - Card's background color _(hex color)_ **or** a gradient in the form of _angle,start,end_
- `hide_border` - Hides the card's border _(boolean)_
- `theme` - name of the theme, choose from [all available themes](./themes/README.md)
- `cache_seconds` - set the cache header manually _(min: 1800, max: 86400)_
- `cache_seconds` - set the cache header manually _(min: 14400, max: 86400)_
- `locale` - set the language in the card _(e.g. cn, de, es, etc.)_

##### Gradient in bg_color
Expand Down
2 changes: 1 addition & 1 deletion docs/readme_pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Personalize a aparência do seu `Stats Card` ou `Repo Card` da maneira que desej
- `bg_color` - Cor de fundo do cartão _(hex color)_
- `hide_border` - Esconde a borda do cartão _(boleano)_
- `theme` - Nome do tema, escolha em [todos os temas disponíveis](../themes/README.md)
- `cache_seconds` - Defina o cabeçalho do cache manualmente _(min: 1800, max: 86400)_
- `cache_seconds` - Defina o cabeçalho do cache manualmente _(min: 14400, max: 86400)_
- `locale` - defina o idioma no cartão _(por exemplo. cn, de, es, etc.)_

> Nota sobre o cache: Cartões de repositório tem um cache padrão de 30 minutos (1800 segundos), se o número a contagem de forks e contagem de estrelas é menor que 1 mil o padrão é 2 horas (7200 segundos). Note também que o cache é limitado a um mínimo de 30 minutos e um máximo de 24 horas.
Expand Down
4 changes: 2 additions & 2 deletions docs/readme_tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontr
- `bg_color` - Kartın arkaplan rengi _(hex color / hex rengi)_ **ya da** gradient şeklinde _açı,başlangıç,bitiş_
- `hide_border` - Kartın çerçevelerini gizler _(boolean)_
- `theme` - Temanın rengi [tüm temalar](./themes/README.md)
- `cache_seconds` - Manuel olarak cache'i belirleyebilirsiniz _(en az: 1800, en fazla: 86400)_
- `cache_seconds` - Manuel olarak cache'i belirleyebilirsiniz _(en az: 14400, en fazla: 86400)_
- `locale` - Karttaki dili seçebilirsiniz _(örneğin; tr, cn, de, es, vb.)_

##### bg_color'da Gradient
Expand Down Expand Up @@ -409,7 +409,7 @@ Teşekkürler! :heart:

---

[![https://vercel.com?utm_source=github_readme_stats_team&utm_campaign=oss](./powered-by-vercel.svg)](https://vercel.com?utm_source=github_readme_stats_team&utm_campaign=oss)
[![https://vercel.com?utm_source=github_readme_stats_team&utm_campaign=oss](../powered-by-vercel.svg)](https://vercel.com?utm_source=github_readme_stats_team&utm_campaign=oss)


Katkılara açığız! <3
Expand Down
15 changes: 15 additions & 0 deletions express.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import statsCard from "./api/index.js";
import repoCard from "./api/pin.js";
import langCard from "./api/top-langs.js";
import wakatimeCard from "./api/wakatime.js";
import express from "express";
import dotenv from "dotenv";

dotenv.config();
const app = express();
app.listen(process.env.port || 9000);

app.get("/", statsCard);
app.get("/pin", repoCard);
app.get("/top-langs", langCard);
app.get("/wakatime", wakatimeCard);
Loading