Generate dynamic OG image via Satori (per-seed if possible) #4
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/galaxy-gen#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-02T23:20:39Z - https://github.com/coilysiren/galaxy-gen/issues/30
galaxy-gen.coilysiren.me currently has no `og:image`. Add one via Satori (JSX → SVG) + resvg-js (SVG → PNG), wired into the existing TS/JS build pipeline.
Two options, ordered easiest first:
Static OG image at build time. Add a small `scripts/render-og.ts` that emits one `og.png` (1200x630) showing the galaxy-gen logo / title / one-line description. Reference from the page `<head>`.
Per-seed OG image (cooler, more work). When a user shares `?seed=abc123`, that link's preview shows that specific galaxy. Two ways:
For option 2, the actual galaxy rendering happens in WASM in the browser, so the OG version would be a stylized representation (seed text + procedural pattern from the seed) rather than the live D3 view, unless you reuse the WASM in Node.
Verify: paste a galaxy-gen URL into Bluesky and confirm the preview renders.
Iceboxed in the 2026-05-29 backlog burn-down: Speculative OG-image nice-to-have via Satori. Reopen anytime if it becomes real.