- composite footer links to gh-stats.com (?ref=card)
- result screen: 'Copy & open your README' copies the snippet
- new pages: github-top-languages-card, github-profile-readme (+ sitemap)
- README snippets wrap the card in a link
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HPCsXoXrazZsFpxdLi8Pvn
The link hardcoded /edit/main/README.md, so anyone whose profile repo
still defaults to master got a 404. GitHub resolves HEAD to the default
branch, verified against repos where /blob/main/ 404s and /blob/HEAD/
returns 200.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
The result screen ended at the snippet and a copy button. GitHub only
renders a profile README from the repo named exactly after the account,
and 15 of 23 arrivals did not have that repo, so the copy button was a
dead end for most people. Add two links under the snippet: open the
README, or create the repo.
Also serve a placeholder card instead of a JSON 400 when someone pastes
the README snippet without swapping YOUR_USERNAME for their own name,
and show a live example card in the README.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
Of 27 people who typed a username in the last 14 days, 15 left before a
widget rendered. The landing page showed zero pixels of a product whose
entire value is visual, so it now leads with a live example card and says
concretely what you get.
Sign-in used to discard everything: with no router the OAuth `next` is
always "/", so users came back to an empty search box with their theme,
widget order and achievements gone. Persist work-in-progress to
sessionStorage and restore it on mount.
The Workshop preview seeds from demo data (grade A, 842 commits,
collaborators named alex/jordan/sam) with nothing saying so, so users saw
numbers they knew were wrong. Label it until real data arrives.
Add title, description, canonical, OG and Twitter tags, robots.txt and a
sitemap. The page was a 445-byte shell titled "GitHub Widgets", so every
link shared anywhere rendered with no image and no description.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwMoSbmK77Ph7XaV5YnAdS
Without credentials: 'include', the session cookie isn't attached and
the OAuth-guarded endpoint returns 401.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>