A Gray Area Art Hack Day Project

Generate custom propoganda posters using Satori

Demo

https://reposter.studio/api/generate-poster?text=LEARN&text=THE&text=ART&text=OF%20REPOSTER

Running locally

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Generating a poster using a URL

/generate-poster/?template=your-template-name&text=your-first-text&text=your-second-text

Creating a new poster template

Duplicate this poster definition

Import your PosterTemplate into the posters Map in the generate-poster route.

NOTE: This uses Satori, which has weird CSS rules. The most important one is that the only layout system it uses is flexbox, and it insists that everything is a display:flex div.