gh-stats: one SVG card that turns your GitHub profile into a README trophy case
- Developer Tools
- Web Apps

GitHub profile READMEs have become miniature homepages, and the ecosystem of widgets for them is sprawling: one service for stats, another for streaks, a third for languages. gh-stats compresses the idea into a single SVG card: type a username, pick a theme, copy one line of markdown, done. It is free, needs no signup, and the code is MIT-licensed with a Dockerfile if you would rather self-host it.
What you are looking at
The homepage is a single input box. Enter a username and you land in a small builder: five themes (Midnight, Onyx, Nord, Clean and Paper), and a stack of toggleable widgets, each with its own advanced settings: Name, Grade, Impact Timeline, Streaks, Top Collaborators, Focus, Languages and Achievements. Hit Generate and the card renders in the page, with the embed line underneath.
Each widget hides an "advanced settings" drawer, so the card is more configurable than the minimal landing page suggests. The grade widget is the conversation piece: a circular badge from S++ downward with a numeric score out of 100 and a one-line summary of your strengths. The auto-awarded tags are similarly opinionated: the "Founder #203" badge, per the README, numbers you by order of first sign-up rather than ranking you against other users. Whether you find that motivating or faintly absurd is a matter of taste, but it is doing something the older stat cards do not: interpreting the numbers instead of just printing them.
We generated the card for torvalds. The card gave him an "S++" grade with a score of 97 out of 100, "Strong in Commits · Consistency," and the headline counters you would expect: 39,460 commits, 87 PRs, 278k stars and 334k followers, all counted the service's own way. Below that: an impact timeline of the last six months (2,320 commits), current and longest streaks (0 and 104 days respectively), auto-awarded tags ("Open Source," "Founder #203," "Systems"), a language breakdown (C at 98%, Assembly at 1%), top collaborators and recent activity. The whole thing is one SVG served from a single URL with your theme and widgets encoded in the query string.
The embed
The output is one line of markdown: an image tag pointing at gh-stats.com/api/yourname, linked back to the site. Paste it into the special username/username repository and GitHub renders it on your profile. The site is thoughtful here: it detects whether that repository exists and, if not, gives you the two steps to create it, with a shortcut to open your README for editing. Because the card is a server-rendered SVG, it updates itself; you never touch the README again.
What we did not test
We did not sign in with GitHub: per the README, logging in proves you own the username and unlocks the editor, and only the matching account can change a widget's settings, none of which we needed. We also did not self-host the Docker image, and did not verify the score's formula, though it is inspectable in the repository. The grade and score are the site's own invention, so treat them as decoration rather than measurement. We also only tested public profiles, and the FAQ is explicit that private repositories, private commits and organization-restricted contributions are not read, so the card reflects your public footprint only.
Who it is for
Our view: if you maintain a profile README, this is the quickest way we have seen to make it look alive, and the self-host option means it can outlive the hosted service. If you think README trophies are vanity metrics, the card is at least honest about being a trophy. Free, instant, no account, and MIT underneath.
Sources: gh-stats.com (builder, generated card and embed output, tested November 30, 2026), github.com/ShayManor/github-readme-stats (MIT license, Dockerfile).
Cover: the card gh-stats generates for its own author, shaymanor, screenshotted from the live tool; our test produced the torvalds card described above.





