Repository navigation
Summary
WrapYourGit v1.4.0 keeps README images fresh. Badges, cards and snakes now carry data for accounts that signed in, and a nightly job refreshes the public recaps behind the images GitHub shows, so a quiet week no longer turns them into the neutral "See the 2026 recap" image.
Highlights
- README images that stay current. Every night the public recap of each signed-in account whose image GitHub showed in the last 30 days is refreshed, oldest first, without ever letting an image ask GitHub itself (#253, ADR-0037).
- See it on your dashboard. The README section says when GitHub last showed your image, or how to add it (#253).
Added
- A nightly refresh of README images' public recaps:
.github/workflows/refresh-readme.yml(03:00 Jakarta) calls a secret-protected endpoint, one account per call, up to 30 a night, and stops while the shared public token has less than half its hourly allowance left, so visitors keep the rest (#252, #253). - The dashboard line "Shown on GitHub, last on ", or how to add the snippet when GitHub has not shown it yet (#252, #253).
Changed
- README images carry data only for accounts that signed in, matched by login in any case, and read the stored public recap by GitHub id, never by login, so a reused login never shows someone else's numbers. Images still never ask GitHub (#252, #253).
Fixed
- A
REFRESH_SECRETpasted with a trailing newline or spaces no longer makes every refresh call answer 404 (#256, #257). - The deployment guide's environment table keeps the Turnstile row inside the table (#254, #255).
Removed
None.
Deprecated
None.
Security
- The refresh endpoint answers 404 to anything but the right bearer secret, compares it in constant time, and returns only the kind of result, never a login or numbers. The workflow never prints the secret (#253).
Breaking Changes
- README images of accounts that never signed in to WrapYourGit now show the neutral image, even where they showed numbers before. Signing in once brings them back.
Migration / Upgrade Guide
- Database: migration 0009 adds two nullable columns to
users(readme_seen_at,readme_refresh_tried_at); Vercel runs it before the build. - Self-hosting: set
REFRESH_SECRET(production only,openssl rand -hex 32) and give the GitHub environmentrefresh, limited tomain, the same value. See "README refresh" indocs/deployment/guide.md.
Installation
Use it at https://wrapyourgit.com. To run it yourself, see "Run it locally" in the README (bun install, then bun run dev) and the deployment guide in docs/deployment/guide.md.
Known Issues
- Right after a refresh, an image on GitHub can stay on its old copy for up to about an hour, while GitHub's image proxy and the CDN keep it.
- The README badges keep the earlier warm colours; they show on other people's profiles, not on these pages (ADR-0036).
- The engine without its bunker (v1.2.4) has still not been looked at as rendered stills in the four formats.