Skip to content

feat(brand): add the repository share card#180

Merged
omercelikdev merged 1 commit into
mainfrom
feat/social-preview
Jul 21, 2026
Merged

feat(brand): add the repository share card#180
omercelikdev merged 1 commit into
mainfrom
feat/social-preview

Conversation

@omercelikdev

Copy link
Copy Markdown
Owner

Pasting a link to this repository shows GitHub's generated card — repo name, description, owner avatar. This adds a real one.

brand/social-preview.png (1280×640) matches the card the docs site now serves at /og.png: dark ground, the mark, the wordmark, one line of what this is, and the docker command.

It needs one manual step

There is no API for a repository's social preview. Upload it at Settings → General → Social preview → Upload an image. Once set, it applies to every link to the repository.

A link to the site and a link to the repository are scraped independently, which is why the card exists in both places rather than being referenced across.

Note on the wordmark

Set in a system family rather than Sora, deliberately. The card is rasterised once at author time, so a font missing on the rendering machine would substitute silently — the same trap brand/README.md already warns about for the lockups.

🤖 Generated with Claude Code

Pasting a link to the repository shows GitHub's generated card — repo name,
description, owner avatar. This adds a real one.

brand/social-preview.png (1280x640) matches the card the docs site serves at
/og.png. A link to the site and a link to the repository are scraped
independently, so the card exists in both places rather than one referencing
the other.

There is no API for a repository's social preview, so it needs one manual
upload at Settings -> General -> Social preview. brand/README.md now records
that, along with why the wordmark is set in a system family rather than Sora.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@omercelikdev
omercelikdev merged commit d27b523 into main Jul 21, 2026
3 checks passed
@omercelikdev
omercelikdev deleted the feat/social-preview branch July 21, 2026 13:48
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.

1 participant