Showcase your coding consistency with a beautifully designed, highly customizable streak stats card for your GitHub profile README.
Choose from dozens of themes or build your own gradient styles to match your profile perfectly.
Seamlessly integrates with both light and dark GitHub themes automatically.
Powered by a robust API built on Vercel ensuring your stats load instantly on your README.
Note: The stats above are just examples and not from your GitHub profile.
A profile readme appears on your profile page when you create a repository with the same name as your username and add a README.md file to it. For example, the repository for the user DenverCoder1 is located at DenverCoder1/DenverCoder1.
You can customize your Streak Stats image on this demo site and use the generated code. Use either Markdown or HTML:
Markdown:
[](https://gitsgen.vercel.app/demo/)
HTML:
<a href="https://gitsgen.vercel.app/demo/"><img src="https://streak-stats.demolab.com?user=DenverCoder1"/></a>
GitHub Readme Streak Stats uses the GitHub API which returns data in UTC time, which may not match your local time. Due to caching, stats may not update immediately after a commit — you may need to wait up to a few hours.
You can try adjusting the time of a past commit or creating a new commit with a specific date:
git commit --date="2022-08-02 12:00" -m "Test commit" --allow-empty
git push
Contributions include commits, pull requests, and issues that you create in standalone repositories. Learn more.
The longest streak is the highest number of consecutive days with at least one contribution. The current streak counts consecutive days ending with today.
Note: You may need to wait up to 24 hours for new contributions to show up.
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.
To center align images, wrap them in an element with align="center":
<p align="center">
<a href="https://gitsgen.vercel.app/demo/"><img src="https://streak-stats.demolab.com?user=DenverCoder1"/></a>
</p>
Use the <picture> and <source> elements to specify theme context:
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://streak-stats.demolab.com?user=DenverCoder1&theme=dark" />
<img src="https://streak-stats.demolab.com?user=DenverCoder1&theme=default" />
</picture>
Self-hosting gives you better uptime with your own access token and allows customization. It only takes a couple minutes to set up online.
📺 Video tutorial on how to self-host on Vercel
See Deploying it on your own in the Readme for detailed instructions.