denlockhart.com

Stratagem Sleeves

Two-step workflow: save each stratagem as a card image once, then build a letter-size print PDF anytime.

Build print PDF

How it works

  1. Capture — fetch stratagems from Wahapedia once; saves card PNGs to data/stratagem-sources/<slug>/
  2. Build — assemble those saved cards into one US Letter PDF (2×N grid, 2.5″ × 3.5″ per card)

After capture, the web app builds PDFs instantly with no Wahapedia access. Commit the source folder to share with others.

Custom detachment

Requires the local dev server (npm run stratagem-sleeves:ui) for Wahapedia capture.

Command line

One-time capture from Wahapedia:

npm run stratagem-sleeves -- --preset tyranids-crusher-stampede --capture

Rebuild print PDF from saved cards (fast, offline):

npm run stratagem-sleeves -- --preset tyranids-crusher-stampede --build