Skip to content

Add a logo, social preview and share animation - #10

Merged
usmanbashir merged 3 commits into
mainfrom
brand-assets
Oct 28, 2026
Merged

usmanbashir merged 3 commits into
mainfrom
brand-assets

Conversation

@usmanbashir

Copy link
Copy Markdown
Owner

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: a uv run script (Playwright 1.60.0 and ffmpeg) that renders every file below from board.html and logo.svg.
  • docs/brand/social-preview.png: 1280×640, 58 KB.
  • docs/brand/logo.svg and logo-{512,256,64,32,16}.png: a yellow c on 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) and board.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

  • No code changes.
  • go install downloads 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 install is unaffected: the cask installs the release archive, which holds only the binary and README.md.
  • The README logo is a relative path, so like docs/demo.gif it shows on GitHub but not in the README copy inside release archives.
  • The flip uses a fixed hash instead of Math.random, so the same moment always draws the same letters and re-exports are repeatable.
  • board.html loads Barlow Condensed from Google Fonts, so exporting needs a network connection.

Test plan

  • uv run docs/brand/export.py writes every file in about 20 seconds.
  • social-preview.png is 1280×640 and shows the settled board; frames sampled from board.mp4 show the scramble settling into it.
  • board.mp4 is H.264, yuv420p, 30 fps, 4.9 s, above LinkedIn's 3-second minimum. board.gif has 81 frames at 60 ms each and loops.
  • The logo PNGs have transparent corners at every size.
  • GitHub's markdown API renders the README header as logo, h1, then the bold tagline.
  • Upload social-preview.png in Settings after merge.

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.
@usmanbashir
usmanbashir merged commit 73a0790 into main Oct 28, 2026
4 checks passed
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