app
Hero Studio
Public Made by Adomby adom
The hero-image lab with a human gate: `hero-studio pose <owner/slug>` opens the studio in front of the human, posed for their package, and blocks until they click Generate, producing the provenance-stamped 2000x1250 PNG the registry's hero gate requires. The image carries the title and artwork; the exported image also bakes the type pill (top right) and full wiki slug (bottom right); the page shows the hero bare, and only the homepage marquee overlays its own dynamic info. Every hero wears its P
← Commit history
README.mdadded+80@@ -0,0 +1,80 @@+# Hero Studio++A live playground for the **hero image v2 definition**: the lower third of every hero is a+true-text overlay, rendered by the surface that shows it, never baked into the image.++The overlay carries the metadata that should stay dynamic and clickable: the type pill+(APP / SKILL / BOOTSTRAP / COMPONENT), the trending score, the star count, the title, the+author, and the wiki slug in the lower right. Because it is real text, every part of it can+be a link, and the scores update daily without re-rendering a single PNG. The image part of+the hero keeps the lower third text-free: the background gradient or brand tile simply+continues to the bottom edge, and the app screenshot may bleed under the overlay zone+knowing the scrim will cover it.++## What you can flip, live++- **Package**: real pages from `adom-wiki page trending`, with their live scores, stars,+ installs, authors, and tags.+- **Screenshot placement**: bleed bottom, bleed right, bleed top, lower-right corner,+ upper-right corner, contained, and mirror (text right, window left). Mirror flips the+ whole background composition too: glows, tiles, and corner motifs.+- **Background theme**: six on-brand looks, including the authentic Kickstand tiling+ patterns from the `adom/brand` page (concentric-arc onion corner, scattered pill field,+ outlined square grid) plus midnight dot-grid, PCB traces, and the flagship gradient.+- **Gradient angle**: rotate the base gradient to make a hero feel unique while staying+ on-brand (default 155).+- **Image-zone text**: wordmark, big title, value-prop subtitle, detail line.+- **Title placement**: overlay only, image only, or both, to settle the redundancy+ question directly.++++## In-context previews, copied from the wiki source++The studio renders the same hero into pixel-faithful copies of the surfaces that will show+it, so you judge the design where it actually lives:++- the **wiki homepage marquee** (`.ts-slide` tiles: caption scrim, badge plates, trending+ and star pills, scrolling track),+- the **wiki index page card grid** (`.page-card`: 16:10 hero slot, badge colors, meta row,+ tag chips, install row),+- an **adom-desktop right bar** showing the full v2 hero with its baked overlay.++The wiki surfaces receive the image part only, because the wiki already overlays its own+true text. That is the core of the v2 idea: the overlay is per-surface chrome, and the+homepage marquee already proves the pattern.++++## Run it++```+hero-studio # serves on port 8846+```++Open `/proxy/8846/` in a webview (or `http://localhost:8846` locally). No dependencies,+plain Node.++Refresh the sample data from the live wiki any time:++```+./refresh-data.sh # needs the adom-wiki CLI, then restart the server+```++## Drive it (AI-first)++State lives on the server; the UI, the CLI, and any agent stay in lockstep through a live+channel with a 1 second poll fallback (the SSE stream can be buffered by proxies).++```+GET /state # current studio state+POST /state # merge a partial state, e.g. {"theme":"onion","gradAngle":245}+GET /console # the page's console ring buffer (no DevTools needed)+POST /ui/toast # raise a toast: {"text":"...","kind":"info|success|error"}+GET /api/pages # the trending dataset the studio renders+```++Every control in the panel maps to a state field: `page`, `layout`, `theme`, `gradAngle`,+`titleMode`, `show.*`, `overlay.*`, `guides`.++
page.jsonadded+76@@ -0,0 +1,76 @@+{+ "slug": "hero-studio",+ "title": "Hero Studio",+ "type": "app",+ "version": "0.1.0",+ "description": "A live playground for the hero image v2 definition: the lower third of every hero is a true-text overlay (type pill, trending score, stars, title, author, wiki slug) rendered by the surface, never baked into the image. Flip screenshot bleeds, brand tile themes, gradient angles, and title placement on real wiki trending data, and see the result in pixel-faithful wiki contexts: the homepage marquee, the index page card grid, and an adom-desktop style right bar.",+ "license": "MIT",+ "tags": [+ "hero",+ "billboard",+ "wiki",+ "design",+ "branding",+ "marquee",+ "studio",+ "brand"+ ],+ "dependencies": {},+ "discovery_triggers": [+ "open hero studio",+ "design a hero image",+ "hero image playground",+ "preview my hero in the marquee",+ "lower third hero overlay",+ "hero billboard lab",+ "try hero layouts and themes",+ "what would my hero look like on the wiki"+ ],+ "discovery_pitch": "Reach for hero-studio when someone wants to design, preview, or debate a wiki hero image: it renders every layout, brand tile theme, and gradient angle live on real trending data, inside faithful copies of the wiki marquee and index card chrome.",+ "sample_prompts": [+ {+ "label": "Explore layouts",+ "prompt": "open hero studio and show me my app's hero with a bleed-right screenshot on the PCB theme"+ },+ {+ "label": "Judge in context",+ "prompt": "how would this hero look in the wiki homepage marquee and the index card grid?"+ },+ {+ "label": "Title placement",+ "prompt": "show me the hero with the title in the overlay only versus baked into the image"+ }+ ],+ "scripts": {+ "install": "./install.sh",+ "uninstall": "./uninstall.sh"+ },+ "needs_sudo": false,+ "hero": {+ "type": "billboard",+ "headline": "Hero Studio",+ "subhead": "Design the lower-third hero, live.",+ "screenshot": "docs/hero.png"+ },+ "files": [+ "package.json",+ "README.md",+ "SKILL.md",+ "install.sh",+ "uninstall.sh",+ "refresh-data.sh",+ "server.js",+ "bin/hero-studio",+ "public/**",+ "data/**",+ "docs/hero.png",+ "docs/contexts.png",+ "docs/themes.png",+ "docs/index-cards.png"+ ],+ "org": "adom",+ "author": {+ "name": "Colby Knox",+ "email": "[email protected]"+ }+}