Repository navigation
feat: social-preview card generator - #7
Merged
Merged
Conversation
HTML template + devices.css (MIT, vendored) rendered to 1280x640 PNGs via headless Chromium. cards.tsv drives the set; build-all.sh regenerates it. Supports type-only, single-device (phone/tablet/laptop) and stacked two-phone layouts. App screenshots captured with shot-scraper (Playwright) since headless Chrome can't render the WebGL maps — see profile/social/README.md. Cards still get uploaded to each repo's Social preview setting by hand (no API for it).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A small generator for the per-repo social-preview cards, so
github.com/drumandbytes/*links unfurl as a branded set.profile/social/template.html#FF6633rule, name + tagline, optional device slot.devices.min.cssbuild.sh./build.sh <slug> "<tagline>" [none|phone|tablet|laptop|stacked] [shot]build-all.sh+cards.tsvscreenshots/out/build-all.sh).Layouts
opentofu-updater-action,argocd-gitops-updater-action,nordvpn,pve-metrics-exporter,dotfileseraser(its new live site),road-conditions-ee(Teesilm map)f1-walk: circuit hub behind, corner-walk view in front (it's a multi-circuit hub now, not Monaco-only)Notes
BROWSERenv; defaults to Brave).magickoptional for montage.f1-walk/road-conditions-eeare captured withshot-scraper(Playwright, viauvx) — commands + the intro-modal-dismiss JS are in the folder README.Settings → General → Social previewby hand; there is no API for that setting.eraser.drumandbytes.devis live now (it 404'd earlier).🤖 Generated with Claude Code