GitPedia

Awesome github stats

πŸš€ Show everyone how amazing you are! Stay motivated and display your total contributions and level on your GitHub profile README

From brunobritodevΒ·Updated June 20, 2026Β·View on GitHubΒ·

Get an accurate data from your contributions and transform into a card to show at your GitHub profile README The project is written primarily in C#, distributed under the MIT License license, first published in 2021. Key topics include: dotnet5, github, github-stars, github-stats, profile.

<p align="center"> <img src="https://raw.githubusercontent.com/brunobritodev/awesome-github-stats/master/docs/banner.png"/> </p> <p align="center"> Get an accurate data from your contributions and transform into a card to show at your GitHub profile README <br> <a href="https://awesome-github-stats.azurewebsites.net/" target="_blank">View Demo</a> <hr> </p> <p align="center"> <a href="https://awesome-github-stats.azurewebsites.net" target="_blank"> <img width="400px" alt="Bruno Brito's GitHub Stats" src="https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev?theme=tokyonight" /> </a> <a href="https://awesome-github-stats.azurewebsites.net" target="_blank"> <img width="400px" alt="Bruno Brito's GitHub Stats" src="https://awesome-github-stats.azurewebsites.net/user-stats/ralmsdeveloper?theme=github&cardType=octocat" /> </a> <a href="https://awesome-github-stats.azurewebsites.net" target="_blank"> <img width="400px" alt="Bruno Brito's GitHub Stats" src="https://awesome-github-stats.azurewebsites.net/user-stats/eduardopires?theme=dracula&cardType=level-alternate" /> </a> <a href="https://awesome-github-stats.azurewebsites.net" target="_blank"> <img width="400px" alt="Bruno Brito's GitHub Stats" src="https://awesome-github-stats.azurewebsites.net/user-stats/carloscds?theme=github-dark&cardType=github" /> </a> </p>

Content

πŸš€ Quick setup

  1. Copy-paste the markdown below into your GitHub profile README
  2. Replace the value after brunobritodev with your GitHub username
md
[![My Awesome Stats](https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev)](https://git.io/awesome-stats-card)

πŸ’» Demo Site

Here you can customize your Card with a live preview: https://awesome-github-stats.azurewebsites.net/

Demo Site

πŸ’πŸ» SVGs wanted.

If you are a Jedi Master building SVG, help-me adding new SVG's templates. Then we try to add some data on it!


πŸ–ŒοΈ Card Types

There are few Card types to show your stats. Change cardType parameter.

CardPreview
level (default)level
level-alternatelevel-alternate
githubgithub
octocatoctocat

🎨 Themes

To enable a theme, append &theme= followed by the theme name to the end of the source url:

md
[![GitHub Streak](https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev&theme=dark)](https://git.io/awesome-stats-card)
ThemePreview
defaultdefault
darkdark
tokyonighthighcontrast
More themes!🎨 See a list of all available themes

If you have come up with a new theme you'd like to share with others, open an issue to add it!

πŸ”§ Options

The user field is part of url user-stats/<user>, which is required. All other fields are optional.

If the theme parameter is specified, any color customizations specified will be applied on top of the theme, overriding the theme's values.

ParameterDetailsExample
themeThe theme to apply (Default: default)dark, radical, etc. 🎨➜
show_iconsDont shown icons at left of labels (Default: true)true or false
preferLoginUse github login instead of name (Default: false)true or false
backgroundBackground colorhex code (without #) or css color
borderBorder colorhex code (without #) or css color
textColor of the texthex code (without #) or css color
titleColor of the title at tophex code (without #) or css color
iconColor of the iconshex code (without #) or css color
ringColor of the ring around the levelhex code (without #) or css color

Example

md
[![My Awesome Custom Stats](https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev?theme=tokyonight&Ring=DD2727&Border=13DD57&Text=DD2727)](https://git.io/awesome-stats-card)

ℹ️ How these stats are calculated

This tool uses GitHub GraphQL to compute yours contributions since your first day at GitHub.

To include contributions in private repositories, turn on the setting for "Private contributions" from the dropdown menu above the contribution graph on your profile page.

Contributions include:

  • Public commits
  • Private commits
  • Commits in your repositories
  • Commits made in another repositories
  • Pull requests to your repositories
  • Pull requests to another repositories
  • Issues
  • Direct stars - Stars from your repositories
  • Indirect Stars - Stars from repo's you have made some contribution
  • Repositories you have created

If stats not showing look at Learn more about what is considered a contribution.

Note: You may need to wait up to 24 hours for new contributions to show up (Learn how contributions are counted)

Note: To prevent too many requests at GitHub we have an agressive cache strategy. You have to wait 24 hours to our server fetch your data again.

To check your stats go to:

The magic🌟 begins from these endpoints!

πŸ€— Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have a way to improve this project.

Make sure your request is meaningful and you have tested the app locally before submitting a pull request.

πŸ€” Motivations

Actually another repositories with the same goal doesn't count stats with accuracy. The main goal is to have a strong data first, then a beatiful svg.

🧰 Installing Requirements

Requirements

Authorization

To get the GitHub API to run locally you will need to provide a token.

  1. Go to https://github.com/settings/tokens
  2. Click "Generate new token"
  3. Add a note (ex. "GitHub Pat"), then scroll to the bottom and click "Generate token"
  4. Copy the token to your clipboard
  5. Go to file appsettings.json in the src/AwesomeGithubStats.Api directory and add your PAT at PATS: [...] with your token
json
"PATS": [ "your_pat_here" ]

Running the tests

Before you can run tests, you have to add your PAT in appsettings.json at tests/Tests. Just how you have done above.

bash
dotnet test

πŸ’• Special thanks

Special thanks for github-readme-streak-stats who build a Demo site. This version is almost the same code from there.

And another special thank to Sindre Sorhus to increase the difficult to find a magical number to create Levels. The levels are based in his contributions.


πŸ™‹β€β™‚οΈ Support

πŸ’™ If you like this project, give it a ⭐ and share it with friends!


Made .NET 10 ❀️

Contributors

Showing top 4 contributors by commit count.

View all contributors on GitHub β†’

This article is auto-generated from brunobritodev/awesome-github-stats via the GitHub API.Last fetched: 6/22/2026