feat(readme): add migration guide for transitioning from github-readme-stats.

This commit is contained in:
shay
2026-08-22 16:33:29 -07:00
parent 584306beb0
commit 12f6890f57
+28
View File
@@ -20,6 +20,7 @@ and earns you tags like `Backend`, `ML`, or `Founder #42`.
- [Quick start](#quick-start)
- [Themes](#themes)
- [Individual widgets](#individual-widgets)
- [Migrating from github-readme-stats](#migrating-from-github-readme-stats)
- [Query parameter reference](#query-parameter-reference)
- [Auto-awarded tags](#auto-awarded-tags)
- [Refreshing your data](#refreshing-your-data)
@@ -188,6 +189,33 @@ two widgets next to each other.
---
## Migrating from github-readme-stats
[`anuraghazra/github-readme-stats`](https://github.com/anuraghazra/github-readme-stats)
is the card most profile READMEs use, and it is a good project. Its README now
carries a deprecation notice pointing at a successor, so if you are looking to
move, the common URL shapes work here with only the domain changed.
| Your current URL | Change it to |
|---|---|
| `github-readme-stats.vercel.app/api?username=U` | `gh-stats.com/api?username=U` |
| `github-readme-stats.vercel.app/api/top-langs?username=U` | `gh-stats.com/api/top-langs?username=U` |
| `github-readme-streak-stats.herokuapp.com/?user=U` | `gh-stats.com/api/streak/U` |
Nothing else in your README changes.
> [!NOTE]
> `theme=` is honoured on the composite card (`/api/<user>`). On the
> compatibility and single-widget URLs above it is currently ignored and the
> default theme is served.
If you would rather replace several badges with one image, use the composite
card instead and delete the rest:
```md
![stats](https://gh-stats.com/api/YOUR_USERNAME)
```
## Query parameter reference
Every URL accepts query parameters. They override the owner's saved