Deterministic OGP images
Give every article a deliberate first frame.
Mirzam turns Markdown front matter or JSON metadata into repeatable 1200×630 PNGs, one image or a whole publication at a time.
Three templates, one stable renderer.
Choose the amount of visual structure that fits the story, then keep output stable across local and CI builds.
Default
Balances author, date, title, tags, and optional brand art.
Minimal
Centers the title and removes everything that does not support it.
Feature
Adds supporting description and a source-controlled accent.
Metadata becomes a cached asset.
01
Read
Load Markdown front matter or JSON with relative brand assets.
02
Fit
Measure the title and select a size that respects the frame.
03
Write
Save PNG and SHA-256 state, skipping unchanged batch inputs.
Render the first image.
gem install mirzam
mirzam render --input article.md --out ogp.png