Repository navigation
Add a logo, social preview and share animation - #10
Merged
Merged
Conversation
The social preview is a split-flap departure board: the shortcut grammar (co5, cs1), a persona profile (crev) and a local-model profile (cqw38) as rows under the tagline. The logo is the board's own tile with a yellow c. board.html is the source for both the card and its flip animation; export.py renders social-preview.png and the logo PNGs from it and logo.svg.
board.mp4 and board.gif are export.py's renders of the flip, for posts on X, LinkedIn and the like. Both are regenerable from board.html, so this commit can be dropped to keep them out of the module zip.
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.
Summary
clau gets a visual identity ahead of launch: a logo, a GitHub social preview, and a short flip animation to attach to posts. The design is a split-flap departure board where each shortcut is a row, so the card teaches the grammar at a glance: type
co5, get Opus at max effort. The README now opens with the logo and the tagline "Claw back your time."The social preview still has to be uploaded by hand, under Settings → General → Social preview.
Changes
docs/brand/board.html: the source for the card and the animation. The tagline ("skip the flags and the /model picker") and the four rows (co5,cs1,crev,cqw38) sit at the top of its script. Opening it in a browser plays the flip, and clicking the board replays it.docs/brand/export.py: auv runscript (Playwright 1.60.0 and ffmpeg) that renders every file below fromboard.htmlandlogo.svg.docs/brand/social-preview.png: 1280×640, 58 KB.docs/brand/logo.svgandlogo-{512,256,64,32,16}.png: a yellowcon a dark split-flap tile. The letter is outlined from Barlow Condensed SemiBold (OFL), so the SVG needs no font.docs/brand/board.mp4(4.9 s, 187 KB) andboard.gif(343 KB, looping): the flip plus a 3.5 s hold on the settled board. They sit in their own commit, d0970b8, so they can be dropped.README.md: the logo above the title and the tagline under it.Behavior notes
go installdownloads the module zip, which carries the whole tree, so these files add about 620 KB to it, 530 KB of that from the MP4 and GIF.brew installis unaffected: the cask installs the release archive, which holds only the binary andREADME.md.docs/demo.gifit shows on GitHub but not in the README copy inside release archives.Math.random, so the same moment always draws the same letters and re-exports are repeatable.board.htmlloads Barlow Condensed from Google Fonts, so exporting needs a network connection.Test plan
uv run docs/brand/export.pywrites every file in about 20 seconds.social-preview.pngis 1280×640 and shows the settled board; frames sampled fromboard.mp4show the scramble settling into it.board.mp4is H.264, yuv420p, 30 fps, 4.9 s, above LinkedIn's 3-second minimum.board.gifhas 81 frames at 60 ms each and loops.h1, then the bold tagline.social-preview.pngin Settings after merge.