Commit Graph
34 Commits
Author SHA1 Message Date
Ophelia GoldsteinandAlexandr cd40532db7 chore: make stats card create text node function jsdoc shorter (#4429)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 12:33:08 +02:00
Ophelia GoldsteinandAlexandr 4d74e42f9c chore: fix jsdoc for rank calculation function (#4427)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:47:13 +02:00
f978f29764 feat: add Persian (Farsi) translations (#4263)
* Add Persian/Farsi (fa) language support

This PR adds support for Persian (Farsi) language with ISO 639-1 code `fa`. Translations have been added for all keys in `statCardLocales`, `repoCardLocales`, `langCardLocales`, and `wakatimeCardLocales`. The translations follow the existing style and are compatible with the project's structure. Please test the display of Persian text in the UI to ensure proper rendering.

* review

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:47:05 +02:00
08517568d9 feat: implement commits year option and display appropriate year label (#2107)
* add custom year

* edit fetcher

* add tests

* add documentation

* Update vercel.json

* Update fetchStats.test.js

* Update readme.md

* Update readme.md

Co-authored-by: Rick Staa <rick.staa@outlook.com>

* test: fix tests

* style: format code

* fix: fix commit stats time frame description #1053

This commit makes sure the last year label is shown when
`include_all_commits` or `year` is not provided. See #1053 for more
information.

* resolved merge conflict

* Update stats-fetcher.js

* resolve comments

* Update src/cards/types.d.ts

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update src/fetchers/stats-fetcher.js

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* graphQL year only to commit

* change argument name to commits_year

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* Update readme.md

Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>

* wrap label into function

* review

* more review

* fix test

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* docs

---------

Co-authored-by: Touch Sungkawichai <talay@10ninox.com>
Co-authored-by: Rick Staa <rick.staa@outlook.com>
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:46:42 +02:00
c7dfbecc77 docs: add information about fine-grained personal access tokens (PATs) scopes (#4426)
* 🔧 Add .env example

* 📝 Update README for add the PAT settings

* 📝 Add fine-grained PAT documentation

* remove .env.example

* docs review

* toc

* more review

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Colin-de-Seroux <77831261+Colin-de-Seroux@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:30 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
fa354d47e4 build(deps-dev): bump eslint-plugin-jsdoc from 55.3.0 to 57.0.8 (#4424)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 55.3.0 to 57.0.8.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v55.3.0...v57.0.8)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 57.0.8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:31:26 +02:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
4b1c905f69 build(deps): bump axios from 1.11.0 to 1.12.2 (#4423)
Bumps [axios](https://github.com/axios/axios) from 1.11.0 to 1.12.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.11.0...v1.12.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:31:21 +02:00
a26a313a82 feat: add Serbian translations (#3542)
* Update readme.md

* Update translations.js

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/translations.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* mark as long lang

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:16 +02:00
Marcus OtterstadandAlexandr 1fb7081f55 feat: add Norwegian translations (#3653)
* Update readme.md

* Update translations.js

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 11:31:11 +02:00
7ee200b060 feat: add bytes stats format option for top-languages card (#3708)
* feat: add `display_bytes` option to top-languages.

* docs: add description about display bytes in top-languages

* feat: add `stats_format` option instead of `display_bytes`

* docs: add description about stats format in top-languages

* refactor: rewrite with function to determine display value

* docs: add `stats_format`to table of parameter

* fix: remove unnecessary decimal part from format of bytes

* tests: add tests of stats_format in top-langs card

* Update tests/renderTopLanguagesCard.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* prettier

* jsdoc

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:06 +02:00
martin-mfg 229e4f511a Merge branch 'frontend-requests' of https://github.com/martin-mfg/github-readme-stats into frontend-requests 2025-10-11 15:58:04 +00:00
martin-mfg 13a56f098d rename private-access.func 2025-10-11 15:57:40 +00:00
martin-mfg bddd4c7b95 also fetch token when fetching private access 2025-10-11 17:32:20 +02:00
martin-mfg 541083c92e add wakatime-proxy.func link 2025-10-11 12:21:04 +00:00
martin-mfg 8734fac30a add wkatime proxy 2025-10-11 13:56:02 +02:00
martin-mfg 431772d76a simpler local request paths, remove logging 2025-10-09 12:12:26 +02:00
martin-mfg 1f5af8d842 add await in router 2025-10-09 12:03:45 +02:00
martin-mfg c690d8ec49 more logging 2025-10-09 11:23:16 +02:00
martin-mfg c592929984 add logging 2025-10-09 11:15:26 +02:00
martin-mfg 46a9b085ed try without chmod +x 2025-10-04 14:26:00 +00:00
martin-mfg 874545e3f4 try with chmod +x 2025-10-04 15:38:20 +02:00
martin-mfg 9fcebc3ad1 add and use vercel-preparation.sh 2025-10-04 14:12:50 +02:00
martin-mfg 7a717de019 use modern json import 2025-10-02 11:25:09 +00:00
martin-mfg da78559500 delete .eslintrc.json 2025-09-27 16:21:58 +02:00
martin-mfg cfabb254fa revert build command, make Demo work for everyone 2025-09-20 13:41:07 +02:00
martin-mfg 23db1a3f58 fix file system links 2025-09-20 13:34:12 +02:00
martin-mfg 7744495f45 reduce build command to <256 characters 2025-09-20 13:18:55 +02:00
martin-mfg 05bf04a581 add more debug output to build command 2025-09-20 13:15:49 +02:00
martin-mfg 5f7856faf8 add debug output to build command 2025-09-20 11:54:39 +02:00
martin-mfg b4e33d2643 delete many github-trends files, remove relatedProjects, unify gitignore 2025-09-20 10:01:05 +02:00
martin-mfg 1354741004 adapt domain, add base path, test "relatedProjects" 2025-09-18 20:26:31 +02:00
martin-mfg 2d35f61cf0 fix rewrite 2025-09-18 15:49:00 +02:00
martin-mfg 615a0569f9 add rewrite and commands for Vercel 2025-09-18 15:25:22 +02:00
martin-mfg d149e0e1f5 initiate monorepo, add original github-trends 2025-09-18 11:30:25 +02:00