Something went wrong. Try again.
My GitHub profile README — stats, streak, and trophy cards pre-rendered daily by GitHub Actions.
Something went wrong. Try again.
Serve streak card locally instead of hot-linking
GitHub proxies external README images through Camo, which times out after a few seconds. streak-stats.demolab.com takes 15-26s on uncached requests, so Camo returned 504 "Error Fetching Resource" and the image rendered broken. Fetch the card in the workflow instead, where a slow response is harmless, and commit it alongside the other cards. The README now has no hot-linked images, so no card depends on Camo. curl retries and validates the response is an SVG before replacing the committed one, so a failed fetch fails the job rather than overwriting a good card with an error page.
Author
arjunkrishna.dev Date (Aug 19, 2026, 5:51 PM UTC) Commit
Copy SHA
Parent 33aca029 33aca029c76a7a8db8ff6190ae84787b819a9acc