whatisgithub

What is github-readme-streak-stats?

denvercoder1/github-readme-streak-stats — explained in plain English

Analysis updated 2026-06-24

6,822PHPAudience · developerComplexity · 1/5LicenseSetup · easy

In one sentence

A service that generates a customizable badge showing your GitHub contribution streak, total contributions, and longest streak, designed to embed in your GitHub profile README with one line of markdown.

Mindmap

mindmap
  root((repo))
    Badge Content
      Total Contributions
      Current Streak
      Longest Streak
    Customization
      Color Themes
      Dimensions
      Date Formats
    Output Formats
      SVG Image
      PNG Image
      JSON Data
    Deployment
      Hosted Service
      Self-host Vercel
      Self-host Heroku
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add a contribution streak badge to your GitHub profile README with one line of markdown.

USE CASE 2

Customize badge colors, themes, and dimensions to match your profile's visual style.

USE CASE 3

Self-host the streak stats server on Heroku or Vercel for full control over the service.

USE CASE 4

Export streak data as JSON to use the contribution numbers in another project.

What is it built with?

PHPHerokuVercel

How does it compare?

denvercoder1/github-readme-streak-statssebastianbergmann/exporterhyperf/hyperf
Stars6,8226,8236,833
LanguagePHPPHPPHP
Setup difficultyeasyeasyhard
Complexity1/52/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
MIT license, use freely for any purpose including commercial, as long as you keep the copyright notice.

So what is it?

GitHub Readme Streak Stats is a tool that generates a small image badge you can embed in your GitHub profile page. The badge shows three numbers: your total contributions to GitHub, your current consecutive-day contribution streak, and the longest streak you have ever maintained. It is designed to go in the README file that GitHub displays at the top of your profile when someone visits it. Setup takes one step: paste a line of markdown into your profile README with your GitHub username, and the badge appears automatically. The image is generated on demand by a hosted service, so you do not need to run anything yourself. For people who want more control, the project can also be deployed to your own server on platforms like Heroku or Vercel. The appearance of the badge is highly customizable through URL parameters. You can pick from a set of pre-built color themes, or set individual colors for the background, border, numbers, labels, and other elements. The card dimensions, corner radius, and whether to show or hide each of the three sections can all be adjusted. There is also support for displaying the dates in different formats, showing numbers in short form like 1.5k instead of 1,500, and excluding specific days of the week from streak counting, which is useful if you do not work on weekends. The output can be an SVG image, a PNG, or raw JSON if you want to use the data in another way. Streak counting can be set to daily mode, where you need to contribute every day, or weekly mode, where one contribution per week counts. The project is written in PHP and is MIT licensed. It is one of the more popular GitHub profile decoration tools and has been added to a large number of developer profiles. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Generate the markdown snippet I need to add a GitHub streak stats badge to my profile README for username myusername with a dark theme and rounded corners.
Prompt 2
I want to customize my GitHub streak badge to use a specific background color and hide the total contributions section. What URL parameters do I add to the streak stats image URL?
Prompt 3
How do I deploy my own instance of github-readme-streak-stats to Vercel so I control the service?
Prompt 4
I only contribute on weekdays. How do I configure streak stats to exclude weekends from streak counting so I do not lose my streak?

Frequently asked questions

What is github-readme-streak-stats?

A service that generates a customizable badge showing your GitHub contribution streak, total contributions, and longest streak, designed to embed in your GitHub profile README with one line of markdown.

What language is github-readme-streak-stats written in?

Mainly PHP. The stack also includes PHP, Heroku, Vercel.

What license does github-readme-streak-stats use?

MIT license, use freely for any purpose including commercial, as long as you keep the copyright notice.

How hard is github-readme-streak-stats to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is github-readme-streak-stats for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.