Free Tool

GitHub Coding Streak Calculator

A GitHub coding streak is the number of consecutive days you have made at least one public contribution - commits, pull requests, issues, or reviews - without missing a day. Enter any GitHub username below to see your current streak, your longest-ever streak, and a shareable badge.

No signup, no API token, no commits leave your browser.

Try , , or your own username.

Get a full Code Card profile

GitHub streaks only count git activity. Code Card tracks the rest of your dev life - AI coding sessions across Claude Code, Codex, and OpenClaw, model and tool breakdowns, achievement badges, and a public profile URL you can drop straight into your README. Set up in 30 seconds with npx code-card.

How to use this calculator

  1. Enter your GitHub username

    Type any public GitHub username into the input field. The calculator validates the format before fetching - no signup or token required.

  2. Hit Calculate

    We fetch your last 365 days of public contribution data and crunch the numbers in your browser. Results appear in a couple of seconds.

  3. Review your stats

    See your current streak, longest streak, total contributions for the year, and your most active day of the week - plus a GitHub-style activity heatmap.

  4. Share your streak

    Download a 1200x630 PNG badge for social posts, or copy the README markdown snippet to embed a live streak badge on your GitHub profile.

  5. Get a full Code Card

    Want richer stats than just commits? Code Card visualizes your AI coding sessions, model and tool breakdowns, and earned badges into one shareable profile.

FAQ

What is a GitHub coding streak?

A GitHub coding streak is the number of consecutive days you have made at least one public contribution - a commit, pull request, issue, or code review - without missing a day. Your current streak counts back from today (or yesterday, if you haven't pushed yet). Your longest streak is the biggest unbroken run in your contribution history.

How does this calculator count my streak?

We pull your last 365 days of public contribution data from GitHub's public contributions API and count consecutive days that have at least one contribution. The current streak is the run that ends today or yesterday. The longest streak is the biggest run anywhere in the year. Private contributions are only included if you have enabled showing them on your GitHub profile.

Why is my current streak zero?

Your current streak resets to zero if you haven't made a public contribution today or yesterday. GitHub allows a one-day grace period, so if your last contribution was two or more days ago, the streak is broken. Push a commit to a public repo to start a new run.

Do private commits count toward my streak?

Only if you have enabled the "Include private contributions on my profile" setting in your GitHub profile preferences. Otherwise, this calculator (and GitHub itself) only sees public activity. The contribution count and streak will reflect only what is visible on your public profile.

Can I share my streak as an image or in my README?

Yes. After running the calculator, click "Download PNG" to grab a 1200x630 social-share image you can post on Twitter or LinkedIn, or use the "Copy README markdown" button to drop a live streak badge into your GitHub profile README.