Skip to content

feat(og): generate social-share image from brand.toml#39

Merged
IamMrCupp merged 1 commit into
mainfrom
feat/og-social-image
Jun 2, 2026
Merged

feat(og): generate social-share image from brand.toml#39
IamMrCupp merged 1 commit into
mainfrom
feat/og-social-image

Conversation

@IamMrCupp

Copy link
Copy Markdown
Member

Closes #28. Part of #26 (Phase 3 — extension).

The website has no og:image and .github has no social preview — so every link to either unfurls blank on Slack, Discord, iMessage, and Twitter. The kit produced no card to point at.

This adds an og build target that composes the dark-bg lockup centered on the dark wash with safe margins, rendered at two sizes:

  • logos/og/audiophore-og-1200x630.pngog:image / Twitter summary_large_image.
  • logos/og/audiophore-og-1280x640.png — GitHub repo + org social preview (2:1).

Driven by a new [og] section in brand.toml (background, lockup variant, margin ratio, sizes) — change the lockup or wash there and the cards re-render. Output lands under logos/og/, already covered by the CI drift gate. cairosvg raster is byte-identical on rebuild.

Signed-off-by: Aaron Cupp <mrcupp@mrcupp.com>
@IamMrCupp IamMrCupp merged commit 872ed08 into main Jun 2, 2026
1 check passed
@IamMrCupp IamMrCupp deleted the feat/og-social-image branch June 2, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A.1 — OG / social-share image

1 participant