百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

awesome-github-stats

> 开发工具
开源

向所有人展示你的非凡之处!保持动力,在你的 GitHub 个人资料 README 中展示你的总贡献和等级

325 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

向所有人展示你的非凡之处!保持动力,在你的 GitHub 个人资料 README 中展示你的总贡献和等级

Get an accurate data from your contributions and transform into a card to show at your GitHub profile README

View Demo

Content

  • Content
    • Quick setup
    • Demo Site
    • SVGs wanted.
    • ️ Card Types
    • Themes
    • Options
      • Example
    • ℹ️ How these stats are calculated
    • Contributing
    • Motivations
    • Installing Requirements
      • Requirements
      • Authorization
      • Running the tests
    • Special thanks
    • ‍♂️ Support

Quick setup

  1. Copy-paste the markdown below into your GitHub profile README
  2. Replace the value after brunobritodev with your GitHub username
markdown

Demo Site

Here you can customize your Card with a live preview:

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.

Card Preview
level (default)
level-alternate
github
octocat

Themes

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

markdown
Theme Preview
default
dark
tokyonight
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/, 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.

Parameter Details Example
theme The theme to apply (Default: default) dark, radical, etc. ➜
show_icons Dont shown icons at left of labels (Default: true) true or false
preferLogin Use github login instead of name (Default: false) true or false
background Background color hex code (without #) or css color
border Border color hex code (without #) or css color
text Color of the text hex code (without #) or css color
title Color of the title at top hex code (without #) or css color
icon Color of the icons hex code (without #) or css color
ring Color of the ring around the level hex code (without #) or css color

Example

markdown

ℹ️ 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:

  • Stats: https://awesome-github-stats.azurewebsites.net/user-stats/brunhbrito/stats
  • Rank: https://awesome-github-stats.azurewebsites.net/user-stats/brunobritodev/rank

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

  • .NET 10

Authorization

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

  1. Go to
  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 ❤️

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#dotnet5githubgithub-starsgithub-stats

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具