mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
fix(frontend): give the embed snippet somewhere to paste.
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
This commit is contained in:
@@ -8,6 +8,10 @@ your account, charts your contribution timeline, highlights your top
|
||||
collaborators, breaks down your languages, tracks your commit streaks,
|
||||
and earns you tags like `Backend`, `ML`, or `Founder #42`.
|
||||
|
||||
[](https://gh-stats.com)
|
||||
|
||||
That card is live, not a screenshot. Swap in your own username:
|
||||
|
||||
```md
|
||||

|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user