Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HwangTaehyun/github-contributor-stats
:fire: Dynamically generated Github Repository Contribution stats on your readmes (github-repository-contribution-stats)
https://github.com/HwangTaehyun/github-contributor-stats
contributions github github-stars profile profile-readme readme readme-profile repository repository-contribution repository-contribution-stats repository-contributions stats
Last synced: 2 months ago
JSON representation
:fire: Dynamically generated Github Repository Contribution stats on your readmes (github-repository-contribution-stats)
- Host: GitHub
- URL: https://github.com/HwangTaehyun/github-contributor-stats
- Owner: HwangTaehyun
- Created: 2022-09-03T09:27:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T14:38:39.000Z (7 months ago)
- Last Synced: 2024-06-04T19:10:05.476Z (6 months ago)
- Topics: contributions, github, github-stars, profile, profile-readme, readme, readme-profile, repository, repository-contribution, repository-contribution-stats, repository-contributions, stats
- Language: TypeScript
- Homepage: https://github-contributor-stats.vercel.app
- Size: 2.6 MB
- Stars: 87
- Watchers: 5
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-profile - Github Contributor Stats - :fire: Get dynamically generated Github Contributor stats (repositories you really committed) on your readmes (Tools)
- fucking-awesome-github-profile-readme - Github Contributor Stats - :fire: Get dynamically generated Github Contributor stats (repositories you really committed) on your readmes (Tools)
- awesome-github-profile-readme - Github Contributor Stats - :fire: Get dynamically generated Github Contributor stats (repositories you really committed) on your readmes (Tools)
README
GitHub Repository Contribution Stats
Get dynamically generated your github repository contribution stats on your READMEs!
# Features
- [GitHub Repository Contribution Stats Card](#github-repository-contribution-stats-card)
- [Themes](#themes)# GitHub Repository Contribution Stats Card
Copy and paste this into your markdown content, and that's it. Simple!
My project, which is based on [github-readme-stats](https://github.com/anuraghazra/github-readme-stats), focuses on showing GitHub repository contribution stats and applies the typescript to the original project. Refer to [ISSUE#2027](https://github.com/anuraghazra/github-readme-stats/issues/2027). Thank you [@anuraghazra](https://github.com/anuraghazra) for the awesome open-source project!
After I have applied this, I became enthusiastic about contributing to open source because I can see all my contributions in my Github Readme! If you guys star and let your friends know this, I really appreciate that!
Change the `?username=` value to your GitHub username.
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun)
```### Demo
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&hide=B)
\_Note: Available ranks are S+ (over 10000), S (over 1000), A+ (over 500), A (over 100), B+ (over 50) and B (over 1).
### Limiting contribution repos to show
To limit contribution repos to show, you can pass a query parameter `&limit=` with number value. For example, if you want to show only 5 contribution repos, then add **limit=5** like the following one.
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&limit=5)
```### Hiding rank stats
To hide specific ranks, you can pass a query parameter `&hide=` with comma-separated rank values. If you need to add plus rank (ex. B+) to hide arrays , it is always safe to replace pluses with %2B
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&hide=B,B%2B)
```### Showing contributor rank stats
To show contributor ranks, you can pass a query parameter `&hide_contributor_rank=false`.
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&hide=B,B%2B&hide_contributor_rank=false&limit=5)
```### Configuring the sorting order for gitHub contributor stats
To specify the sorting order based on either contributions or star count, include the &order_by= query parameter with the options `stars` or `contributions` in your request URL.
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&hide=B,B%2B&hide_contributor_rank=false&limit=5&order_by=contributions)
```### Including all contributions, not only recent contributions
By default, the card is generated from GitHub's GraphQL API `repositoriesContributedTo`, which only includes recent contributions. To include all contributions, add `&combine_all_yearly_contributions=true` query parameter, which will let the card be generated from GitHub's GraphQL API `contributionsCollection`, including all contributions.
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&combine_all_yearly_contributions=true)
```### Themes
With inbuilt themes, you can customize the look of the card without doing any [manual customization](#customization).
Use `&theme=THEME_NAME` parameter like so :-
```md
![Taehyun's GitHub Repository Contribution stats](https://github-contributor-stats.vercel.app/api?username=HwangTaehyun&hide=B&theme=default)
```#### All inbuilt themes:- in github-readme-stats' themes
dark, radical, merko, gruvbox, tokyonight, onedark, cobalt, synthwave, highcontrast, dracula
You can look at a preview for [all available themes](./themes/README.md) or checkout the [theme config file](./themes/index.js) & **you can also contribute new themes** if you like :D
> Note: The minimum of cache_seconds is currently 4 hours as a temporary fix for PATs exhaustion.
## :sparkling_heart: Support the project
I open-source almost everything I can and try to reply to everyone needing help using these projects. Obviously,
this takes time. You can use this service for free.However, if you are using this project and are happy with it or just want to encourage me to continue creating stuff, there are a few ways you can do it:
- Starring and sharing the project :rocket:
- You can make one-time donations via buymeacoffee. I'll probably buy a coffee! :coffee:[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/eeht17173)
Thanks! :heart:
## Contribution
Contributions are welcome!
Made with :fire: and TypeScript.