github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

GitHub Readme Stats not displaying the total PR and issue counts, especially when dealing with private repositories in an organization

Open ThiroshMadhusha opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I am frustrated that the GitHub Readme Stats widget does not display the total number of pull requests (PRs) and issues when repositories belong to an organization, especially private ones. Even after using the count_private=true parameter, stats like total PRs and issues are not counted towards the total. This limits the accuracy and completeness of the displayed stats, especially when most of my contributions are in private organization repositories.

Describe the solution you'd like

I would like the GitHub Readme Stats to fully support displaying pull request (PR) and issue counts from private repositories within an organization. The widget should reflect contributions such as merged PRs, opened issues, and commits across both personal and organizational repositories without violating the visibility restrictions set by GitHub.requests

Describe alternatives you've considered

No response

Additional context

No response

ThiroshMadhusha avatar Sep 07 '24 10:09 ThiroshMadhusha

Org stats: #1

pplmx avatar Oct 15 '24 03:10 pplmx

Hello @ThiroshMadhusha

We don't provide the &count_private=true query string parameter. In case you want to display your private contributions on the card, then you need to deploy own instance using your own GitHub API token.

Regarding the organization stats, for now the only available way to include the organization data into your card is deploying the following branch https://github.com/anuraghazra/github-readme-stats/pull/2459 on your own instance.

qwerty541 avatar Sep 26 '25 16:09 qwerty541

Closing it as duplicate of https://github.com/anuraghazra/github-readme-stats/issues/1

qwerty541 avatar Sep 26 '25 16:09 qwerty541