From 12f6890f576869319ad7975017aeac59e3dcf963 Mon Sep 17 00:00:00 2001 From: shay Date: Sat, 22 Aug 2026 16:33:29 -0700 Subject: [PATCH] feat(readme): add migration guide for transitioning from github-readme-stats. --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 36e9e3a..976ab99 100644 --- a/README.md +++ b/README.md @@ -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/`). 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