This tool generates a dynamic SVG card showing the repositories where you have merged PRs and created issues. example:
Copy-paste the following code into your README.md:
[](https://github.com/amankumarconnect/readme-contribution-stats)-
Username: Replace
YOUR_USERNAMEwith your GitHub username. -
Sort: You can add
&sort=contributionsto sort by the number of PRs and issues. The default is&sort=stars. -
Exclude: You can add
&exclude=repo1,repo2,owner/repo3to hide specific repositories from the card. This accepts a comma-separated list of repository names or full repository paths. -
Issues: You can add
&issues=trueto track repositories where you have created or contributed to issues. By default, only PRs are shown. -
PRs: You can add
&prs=trueto explicitly show PRs. This is useful when combined with&issues=trueto show both contribution types.
Example usage:
<!-- Show only PRs (default behavior) -->
[](https://github.com/amankumarconnect/readme-contribution-stats)
<!-- Show only issues -->
[](https://github.com/amankumarconnect/readme-contribution-stats)
<!-- Show both PRs and issues -->
[](https://github.com/amankumarconnect/readme-contribution-stats)
<!-- Show both, sorted by contributions, excluding specific repos -->
[](https://github.com/amankumarconnect/readme-contribution-stats)More features and cards are coming soon! Please star the repo ⭐
Does this project use the GitHub API?
Yes. The stats are generated using publicly available GitHub data via the GitHub API.
Is authentication required?
No authentication is required. However, unauthenticated requests may be subject to GitHub rate limits.
Does this support private repositories?
No. Only public repositories and public contributions are supported.
How often do the stats update?
The stats update based on GitHub’s API cache and may not reflect real-time changes instantly.
Can this be used for organization accounts?
This tool is primarily designed for individual GitHub user profiles.
- Using an invalid or misspelled
username - Setting very large values for
limit, which may result in empty or slow responses - Confusing different
typevalues (e.g.,statsvsrepos) - Expecting private repository data to appear
- Assuming stats update immediately after new commits or PRs
Contributions are welcome! Please read the contributing guidelines first.