GitHub README stats images not showing #190905
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Why the GitHub‑Stats image may disappear from your profile READMEThe markdown you’re using is valid, but several things can stop the image from rendering after it has been working for a while. 1. Verify the image URL directly
If you get a 403, 429, 500, or the browser downloads a file instead of displaying an image, the problem is on the stats service side (see § 2‑4). 2. Common service‑side issues
Quick test: curl -I "https://github-readme-stats.vercel.app/api?username=minirang&show_icons=true"Look for 3. GitHub‑specific caching & rendering quirks
4. Mixed‑content / HTTPS enforcementIf your README is rendered over 5. Long‑term, self‑hosted alternative (optional but reliable)If you hit rate limits repeatedly or want zero‑dependency images, generate the stats yourself with a GitHub Action and commit the SVG to your repo. Example workflow ( name: Update GitHub‑Stats SVG
on:
schedule:
- cron: '0 * * * *' # hourly
workflow_dispatch:
jobs:
stats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false # needed for push
- name: Generate stats SVG
run: |
curl -s "https://github-readme-stats.vercel.app/api?username=${{ github.actor }}&show_icons=true&theme=dark" > stats.svg
- name: Commit & push if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add stats.svg
git diff --quiet && git diff --staged --quiet || (git commit -m "Update stats SVG" && git push)Then reference the file directly in your README: Because the image lives in the same repository, GitHub never blocks it and you avoid external rate limits. 6. Checklist to get the image back
References
Follow the steps above and the stats image should reappear in your profile README. If you still see a blank after verifying the URL returns a valid SVG, let me know the exact HTTP status and response headers you observe—those details will help pinpoint any remaining issue. Happy coding! |
Beta Was this translation helpful? Give feedback.


Why the GitHub‑Stats image may disappear from your profile README
The markdown you’re using
is valid, but several things can stop the image from rendering after it has been working for a while.
1. Verify the image URL directly
Open the URL in a new tab:
https://github-readme-stats.vercel.app/api?username=minirang&show_icons=trueWhat you should see:
&hide_bg=true) that loads instantly.Content-Type: image/svg+xmlheader.If you get a 403, 429, 500, or the browser downloads a file instead of displaying an image, the problem is on the stats…