From 02e7270440f0e63d886558fc4808171729437b56 Mon Sep 17 00:00:00 2001 From: shay Date: Sun, 6 Sep 2026 13:15:08 -0700 Subject: [PATCH] feat(seo): add a migration landing page and list it in the sitemap gh-stats.com had exactly one indexable URL. The app is a client-rendered SPA with no content routes, so nothing ranked for anything but the brand name, and acquisition stopped whenever a push channel stopped. This adds a static page targeting the migration demand from anuraghazra/github-readme-stats, which is marked no longer maintained. Content is reused from the README's migration section. Vite copies public/ into dist/, which the Dockerfile copies to src/static/, and the Flask catch-all serves static paths before falling back to index.html, so this needs no routing change. It carries the same GA4 stream as index.html so the page is measurable rather than another unattributed channel. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01HPCsXoXrazZsFpxdLi8Pvn --- .../github-readme-stats-alternative.html | 208 ++++++++++++++++++ generator/frontend/public/sitemap.xml | 5 + 2 files changed, 213 insertions(+) create mode 100644 generator/frontend/public/github-readme-stats-alternative.html diff --git a/generator/frontend/public/github-readme-stats-alternative.html b/generator/frontend/public/github-readme-stats-alternative.html new file mode 100644 index 0000000..7d48485 --- /dev/null +++ b/generator/frontend/public/github-readme-stats-alternative.html @@ -0,0 +1,208 @@ + + + + + +github-readme-stats alternative: a maintained stats card for your profile README + + + + + + + + + + + + + + + + + +
+ +

A maintained alternative to github-readme-stats

+ +

+ anuraghazra/github-readme-stats + is the stats card most GitHub profile READMEs use, and it earned that place. + Its README now opens with a caution notice saying the repository is no longer + maintained. If you are looking for somewhere to move, this page shows the swap. +

+ +
+ A gh-stats developer profile card showing score, commits, pull requests, stars and role tags. +
The profile card: score out of 100, headline counts, and role tags earned from your repositories.
+
+ +

Change the domain, keep the URL

+ +

+ The common URL shapes work here with only the domain changed, so migrating is + an edit to one line of markdown. +

+ +
+ + + + + + + + +
Your current URLChange it to
github-readme-stats.vercel.app/api?username=Ugh-stats.com/api?username=U
github-readme-stats.vercel.app/api/top-langs?username=Ugh-stats.com/api/top-langs?username=U
github-readme-streak-stats.herokuapp.com/?user=Ugh-stats.com/api/streak/U
+
+ +

Nothing else in your README changes.

+ +

+ 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. +

+ +

Or replace several badges with one card

+ +

+ Most profile READMEs stack a stats badge, a streak badge, a languages badge and a + trophy row, each one a separate request. The composite card covers all of it in a + single image: +

+ +
![stats](https://gh-stats.com/api/YOUR_USERNAME)
+ +
+
+ The full gh-stats composite card: profile score, impact timeline, collaborators, languages, streaks and achievements. +
+
The composite card, cropped. It stacks profile, timeline, collaborators, languages, streaks and achievements.
+
+ +

+ No signup is required to try it. Type a username on the + home page and the real card renders immediately. + Signing in with GitHub proves you own the username and unlocks the editor for + themes, widget order and custom tags. +

+ + Try it on your username + +

What you should know before switching

+ +

+ The project's own successor is + GitHub Stats Extended, + named in that caution notice. It is a fork that keeps the original's shape, so pick + it if what you want is the same card with the same options. +

+ +

+ gh-stats is a different design: one card that summarises the whole profile, rather + than a set of separate badges. It is MIT licensed, and you can + self-host it with + docker compose up on your own GitHub API quota if you would rather not + depend on someone else's instance. +

+ +

+ Only public GitHub activity is counted. Private repositories, private commit counts + and contributions to org-restricted repositories are never visible to the fetcher. +

+ +

Common questions

+ +

+ Is github-readme-stats actually dead? The repository is not archived + and the hosted instance still serves cards. The maintainer marked it no longer + maintained in the README, which is a statement about future work rather than an + outage. +

+ +

+ Why do stats cards return an error or a blank image? A shared + instance runs on one GitHub API quota, so a popular deployment hits rate limits and + serves errors to everyone behind it. Self-hosting puts you on your own quota and + removes that failure mode. +

+ +

+ Do I have to change my README again later? No. The image URL is + stable, so themes, tags and widget order can change in the editor without touching + the markdown. +

+ + + +
+ + diff --git a/generator/frontend/public/sitemap.xml b/generator/frontend/public/sitemap.xml index f733b42..4fc2414 100644 --- a/generator/frontend/public/sitemap.xml +++ b/generator/frontend/public/sitemap.xml @@ -5,4 +5,9 @@ weekly 1.0 + + https://gh-stats.com/github-readme-stats-alternative.html + monthly + 0.8 +