My GitHub profile README — stats, streak, and trophy cards pre-rendered daily by GitHub Actions.

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 Commit Parent 33aca029
+120 -1
3 changed files
+120 -1
3 changed files