Codex / Zine

The lore zine

A print-on-demand zine assembled entirely by code from the atropa_pulsechain lore corpus: memos, magazine reviews and specs. No page is laid out by hand; each issue's cover and section art are generated from its seed.

Issues

Each issue is a JSON config run through the pipeline. Click to read; print to PDF at the trim size for a KDP-ready interior.
Loading issues…

How it's built

Four stages, zero hands. A new issue never means laying out pages — it means writing a small config and rerunning.
01 · scan

Index the corpus

Every .md in the lore folder is parsed — series, issue number, and date from the filename; title and dek from the content. No front matter required.

02 · select

Curate by rule

The issue config picks pieces by series, date, word count, or explicit pins, then orders them. Pure data — swap the rules, get a different issue.

03 · generate

Render art + type

Markdown becomes print HTML; the cover, section dividers, and per-article sigils are generated from the issue seed — distinct every issue, identical on every rebuild.

04 · paginate

Print-ready PDF

Content flows across pages via CSS paged media with automatic folios. Open in Chrome → Save as PDF at the trim size → upload to Amazon KDP.

Make an issue

From the repo root, pointed at the atropa lore/ folder:
# build issue 1 → zine/dist/issue-001.html node zine/build.js zine/issues/issue-001.json --lore-dir <atropa>/lore
Why code-built matters: the value isn't one pretty issue — it's a machine that emits issue 1, 2, 3… each visually distinct, each reproducible byte-for-byte, none touched by hand. That's what makes a monthly cadence sustainable.