feat(brand): add the repository share card#180
Merged
Conversation
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>
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.
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.mdalready warns about for the lockups.🤖 Generated with Claude Code