- The life calendar and the reached chart share one grid at the page's full printable width: each week a 22x11 box, bold year numbers every 5 years (larger every 10), week numbers 1/13/26/39/52, a clear rule every 10 years and light rules at the quarters. The reached chart has no week or year numbers; each 10-row block is labelled with its share of the list's people, 10% to 100%. - Page 1: the UPG100 series sets its own one-paragraph Jesus column (series.json strategyBody) and prints the explainer's first paragraph only (sideBoxMore), so the three columns balance and the map grows. The long text is one constant shared by both header layouts; the Country and India-state posters print it unchanged. - The points page takes, per language, the largest size tier that fits one sheet, up to the earlier two-sheet sizes. The tier comes from a character-count estimate; the render gate fails if the real page is ever taller than that estimate. |
||
|---|---|---|
| .. | ||
| data | ||
| fixtures | ||
| build-gallery.mjs | ||
| build-hd-gallery.mjs | ||
| emit-countries.mjs | ||
| export-public.mjs | ||
| generate.mjs | ||
| make-previews.py | ||
| osm-basemap.mjs | ||
| packet-strings.json | ||
| packet.mjs | ||
| pin-poster-render.mjs | ||
| poster-regions.mjs | ||
| publish-html.mjs | ||
| README.md | ||
| series.json | ||
| serve-persist.sh | ||
| serve.sh | ||
| shoot.mjs | ||
| verify-posters.mjs | ||
library/scripts/posters/ — UPG-100 poster generator
Renders one 3ft × 3ft print poster per zone (28 today) for the my-upg-100-list profile, from the profile's own data. It ships inside the repo alongside that data on purpose — reaching for the data via an env var once silently rendered stale posters (Nepal, Bangladesh, Bhutan vanished).
bun run posters -> posters:shoot -> (WebP previews) -> bun run build
HTML per zone PNG @3000² assets/previews/ app shows them
generate.mjsis the template;shoot.mjsscreenshots to PNG (Firefox only — privacy-first policy).- A template change is not visible in the app until previews are regenerated and the app rebuilt.
- Exported PNGs go to a sibling folder (
../../../upg-100-posters/), neverpublic/— Capacitor packagespublic/wholesale.
Full reference — files, env vars, gotchas, measurement discipline: ../../../documentation/architecture/poster-generation.md.