agentOS launch graphics
Source generators live in docs-internal/graphics/ (committed). Rendered
PNGs go to ~/tmp/agentos-graphics/ — never commit output images.
Generate
node docs-internal/graphics/render-launch.mjs # launch/social hero → ~/tmp/agentos-graphics/launch.png
node docs-internal/graphics/render-technical.mjs # code-snippet card → ~/tmp/agentos-graphics/technical.png
- Pass an output dir as arg 1 to override (default
~/tmp/agentos-graphics/). render-technical.mjsneedsshiki(dev-only, not a repo dep): setSHIKI_DIR=/path/to/node_modules/shikiorpnpm add -D shiki.- After rendering, open the PNG to review before sharing.
Editing
- Read
docs-internal/graphics/README.mdfirst — it records the brand decisions (palette, fonts, "Apps" treatment, tile styling) to stay on. - Change layout/typography/snippets in the
render-*.mjsfiles orsnippets.json; keep new external logos vendored indocs-internal/graphics/assets/. - Iterate by re-running and viewing the PNG; tune sizes/spacing until it reads right.