Metrics reference
Every number on the card, what it means and where it comes from. All GitHub data is public; a token only raises rate limits and adds all-time accuracy.
How data is collected
| Source | Used for |
|---|---|
| GitHub REST | Name, avatar, public repositories, total stars, followers. |
| GitHub GraphQL (needs token) | All-time contributions, streaks, reviews, repositories contributed to, forks, discussions. |
| Public fallback (no token) | Contributions from a public calendar API; PRs/issues from the GitHub search API. |
Contributions, streaks and trophies are aggregated across all years, not just the last one.
30 minutes (production) / 5 minutes (development), and GitHub's image proxy caches the rendered card too — so a card is at most ~30 minutes stale.
Cards
GitHub Activity
| Metric | What it counts |
|---|---|
| Contributions | Total contributions (commits, PRs, issues, reviews) over your whole history. |
| PRs Opened | Pull requests you opened. |
| Issues Opened | Issues you opened. |
These come from GitHub's contribution graph, so they reflect repos GitHub counts as your contributions.
Streak Stats
| Metric | What it counts |
|---|---|
| Current | Consecutive days with at least one contribution, ending today (or yesterday if today is empty). |
| Longest | Longest run of consecutive contribution days in your history. |
| Total | Number of days with at least one contribution (active days). |
Repository Stats
| Metric | What it counts |
|---|---|
| Repositories | Your public repositories. |
| Stars | Total stars summed across your public repositories. |
| Followers | Your followers. |
When a valid LeetCode profile is shown, this card is replaced by LeetCode stats.
Contribution Activity
Daily contributions for the last 30 days. Rendered as bars (Classic), a smoothed area line (Modern) or a heat strip (Grid) depending on the card style.
Top Languages
The primary language of each public repository, counted per repo and topped to 5. The percentage is the share of counted repos — it is not a code-volume breakdown (unlike GitHub's own language bar).
Achievement trophies
Ten badges. Each gets a letter tier (see below) based on its value.
| Badge | Metric | What it counts |
|---|---|---|
| Commits | Total contributions | All contributions over your whole history. |
| PRs | Pull requests | Pull requests you opened. |
| Reviews | Pull-request reviews | Reviews you submitted on pull requests. |
| Issues | Issues | Issues you opened. |
| Repos | Repositories | Your public repositories. |
| Stars | Stars | Total stars across your public repositories. |
| Followers | Followers | Your followers. |
| Impact | Open-source impact | Number of repositories you contributed to. |
| Forked | Repositories forked | Repositories you forked. |
| Discussions | Discussions | Discussions you started. |
Reviews, Impact, Forked and Discussions need a GitHub token; without one they show 0.
Trophy tiers
S Legendary · A Epic · B Rare · C Uncommon · D Common. A badge reaches a tier when its value is at least the threshold.
| Badge | S | A | B | C |
|---|---|---|---|---|
| Commits | 5,000 | 2,000 | 500 | 100 |
| PRs | 500 | 200 | 50 | 10 |
| Reviews | 200 | 100 | 50 | 10 |
| Issues | 300 | 100 | 30 | 10 |
| Repos | 100 | 50 | 20 | 5 |
| Stars | 1,000 | 500 | 100 | 20 |
| Followers | 1,000 | 500 | 100 | 20 |
| Impact | 100 | 50 | 20 | 5 |
| Forked | 100 | 50 | 20 | 5 |
| Discussions | 500 | 200 | 50 | 10 |
Competitive programming
Optional. The row appears only when at least two platforms return data — a single handle is ignored rather than leaving a half-empty row.
| Platform | Shows |
|---|---|
| LeetCode | Solved total, Easy/Medium/Hard breakdown, contest rating (or global rank). |
| Codeforces | Rating, rank, max rating. |
| CodeChef | Rating, stars, division. |
Add with ?leetcode=, ?codeforces=, ?codechef=.
Card styles
The style parameter restyles the contribution chart, the languages chart and the achievement badges together.
| Style | Contribution | Languages | Achievements |
|---|---|---|---|
classic (default) | Vertical bars | Progress bars | Circular medallions |
modern | Smooth area line | Donut + legend | Hexagons |
grid | Heat strip | Stacked bar + legend | Rounded tiles |
See the interactive demo to try themes, styles and hidden sections, and the README for the full parameter list.