mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(readme): add migration guide for transitioning from github-readme-stats.
This commit is contained in:
@@ -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
|
||||

|
||||
```
|
||||
|
||||
## Query parameter reference
|
||||
|
||||
Every URL accepts query parameters. They override the owner's saved
|
||||
|
||||
Reference in New Issue
Block a user