assets: GitHub social preview card - #110
Merged
Merged
Conversation
Adds assets/social-preview.png at 1280x640 for the repo's Social preview setting, plus the HTML it renders from so it can be regenerated. The card carries README.md's hero and nothing else: the wordmark, "Leave your desk. Keep your terminal.", "The reach layer for persistent terminals.", and a proof row. The 12 ms figure is the lan-direct p50 in netsim/results/results.md. The HTML embeds its three webfonts as base64, so the render never depends on the network and never falls back to a system face. The regeneration command is in a comment at the top of the file. Part of #106 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeiotDVE94wEzvc7wcvm1y
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.


Part of #106.
Adds
assets/social-preview.png(1280×640) — the card GitHub shows when therepo link is pasted into Slack, X, or LinkedIn — and the HTML it renders from,
so it can be regenerated.
Fredrik: one manual step
This cannot be set from the CLI. Upload the PNG at:
GitHub → the repo → Settings → General → Social preview → Edit → Upload an image
Pick
assets/social-preview.pngfrom a checkout of this branch (or download itfrom the Files tab of this PR).
What is on the card
Everything is README.md's hero, unchanged:
MIRANDA, small and letterspaced, top left12 ms on a LAN · end-to-end encrypted · no VPN, no SSH keysThe 12 ms is the
lan-directp50 innetsim/results/results.md. No claim onthe card that README.md does not already make.
Design
Dark ground
#0D1117, a lower plane in#151B23, paper-white text, one accentin signal orange
#FF7A45. Familjen Grotesk 700 for the headline, IBM Plex Mono500 for the wordmark and the proof row.
The only visual device is the card's own structure: two stacked planes, with the
accent sitting on the seam between them — the direct path, at the layer Miranda
is. Nothing else is drawn.
It is built to survive being a thumbnail. At 400px wide the headline and the
supporting line both still read.
Regenerating
The command is in a comment at the top of
assets/social-preview.html, the wayassets/demo.tapedocuments the GIF:The three webfonts are embedded as base64 (latin subsets, OFL 1.1), so the
render never touches the network and never quietly falls back to a system face.
Re-running the command reproduces the PNG byte for byte.
Checks
sips -g pixelWidth -g pixelHeight→ 1280 × 640cd go && go test ./...passescd web && npm testpasses, 167/167assets/changed.🤖 Generated with Claude Code
https://claude.ai/code/session_01KeiotDVE94wEzvc7wcvm1y
Note
Low Risk
Marketing assets only under
assets/; no application, auth, or runtime behavior changes.Overview
Adds a 1280×640 GitHub social preview for link unfurls (Slack, X, etc.):
assets/social-preview.htmlas the source layout and the companionassets/social-preview.pngto upload under repo Settings → Social preview.The card reuses the README hero (wordmark, headline, tagline, proof row with 12 ms on a LAN from netsim results). Styling is self-contained—dark palette, two-plane layout with an accent seam—and Familjen Grotesk / IBM Plex Mono are embedded as base64 so headless Chrome screenshots do not depend on network fonts.
Regeneration is documented in the HTML header (Chrome headless screenshot +
sipsdimension check), similar to howassets/demo.tapedocuments the demo GIF.Reviewed by Cursor Bugbot for commit 7962d97. Bugbot is set up for automated code reviews on this repo. Configure here.