Skip to content

feat/social previews - #9

Merged
AlbinoGeek merged 2 commits into
mainfrom
feat/social-previews
Nov 11, 2026
Merged

AlbinoGeek merged 2 commits into
mainfrom
feat/social-previews

Conversation

@AlbinoGeek

Copy link
Copy Markdown
Member

Social preview cards for every public Totative repo, generated by scripts/build-logos.py from the brand's glyphs and the site's coprime lattice (layout A, matching totative.dev's first screen). Output is deterministic: PNG timestamps are stripped, so rebuilds are byte-identical. GitHub has no API for social previews, so each card is uploaded in the repo's settings.

PNGs are written without date/time chunks so a rebuild is byte-identical; --variant B keeps the bottom-band layout reachable.
Copilot AI balanced review requested due to automatic review settings November 11, 2026 08:12
@AlbinoGeek
AlbinoGeek enabled auto-merge November 11, 2026 08:12
@AlbinoGeek
AlbinoGeek added this pull request to the merge queue Nov 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the repository-specific social preview card changes.

No open issues 🎉

What changed in this PR

Extends the existing logo generator to create repository-specific social preview cards using Totative’s branding and coprime lattice design, ready for manual upload to GitHub.

Changes:

  • Adds repository names and descriptions, shaped text wrapping, and two card layouts, with layout A as the default.
  • Centralizes PNG rendering and excludes timestamp metadata for reproducible output.
  • Ignores the local card-comparison image.
File Description
scripts/​build-logos.py Adds social card generation, layout selection, body-weight typography, and timestamp-free PNG rendering.
.gitignore Excludes profile/assets/social/_compare.png.

Review effort: Balanced

Merged via the queue into main with commit b2b7de7 Nov 11, 2026
4 checks passed
@AlbinoGeek
AlbinoGeek deleted the feat/social-previews branch November 11, 2026 08: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.

2 participants