Repository navigation
Redesign the social preview card for 0.17 - #22
Merged
Merged
Conversation
The card now leads with what the studio is for and what it ships: the headline from the promo material, counted components and guided examples, and two real instruments, the shipped direct-detection eye beside the coherent constellation. The counts and version are read from the engine, the examples folder and the package, so the card stays true as releases add blocks. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GyUCJcfv1dHWHKVZ8RJuSM
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.
Requested by Ehsan · project thread
Before: the card shown when the repository or site is linked had the name, a tagline, three fact lines and a single constellation. It said nothing about the studio, the guided examples or the desktop app that landed since.
After: the card leads with "Build optical links. See every signal." (the headline from the promo videos and thumbnails), shows 77 components, 49 guided examples and Desktop & Python as chips, a footer with
v0.17.0 · pip install maiman · maimanstudio.com, and two real instruments side by side: the shipped 10 Gb/s direct-detection eye (Q 16.9) and the coherent 16-QAM constellation (EVM 7.4 %).How:
docs/render_og_cover.pynow also runsexport_ui_data.ook_link()at a finer eye resolution, and reads the component count frommanifests(), the example count fromexamples/maiman/*.maimanand the version from the package, so a release that adds blocks or examples updates the card on the next run. Same 1200x630 at 2x, same headless-Chrome render, same graphite ground and port-colour rule.The GitHub social preview itself is uploaded by hand in the repository's Settings → General → Social preview, so
assets/og-cover.pngneeds uploading there after merge.Generated by Claude Code