A top languages card for your GitHub profile README
The languages card shows which languages your public repositories are written in, as a donut and a ranked legend. It is one image, served from one URL, and it stays current without a GitHub Action or a token.
Add it to your README
Paste this into your profile README and replace the username:

The first request for a new username queues a build, so the card can take a minute to fill in. After that it is served from cache and refreshed in the background.
Preview it on your usernameHide languages and pick a theme
Notebooks, generated HTML and vendored code often dominate a languages chart.
List what to leave out in hide, comma-separated, and choose a look
with theme:

| Parameter | What it does |
|---|---|
hide |
Languages to exclude, comma-separated. Use %20 for spaces. |
theme |
clean, midnight, nord, onyx or paper. |
Coming from github-readme-stats
If your README already has a top-langs card from
github-readme-stats.vercel.app, change only the domain:
| Your current URL | Change it to |
|---|---|
github-readme-stats.vercel.app/api/top-langs?username=U |
gh-stats.com/api/top-langs?username=U |
The compatibility URL ignores the original styling parameters (layout,
langs_count, colours) and serves the default card. Use the
?widgets=languages form above for hide and theme.
The full migration guide covers the stats and streak cards too: github-readme-stats alternative.
Common questions
How are percentages worked out? From the byte counts GitHub reports for each public repository you authored, summed across those repositories. Forks are left out. A large repository in one language weighs more than several small ones.
Are private repositories counted? No. Only public activity is visible to the fetcher.
Can I show it alongside other stats? Yes. Drop the
?widgets=languages part and the same URL serves the full profile card:
score, contribution timeline, collaborators, languages and streaks in one image.