kristoff-it / zine

Fast, Scalable, Flexible Static Site Generator (SSG)
https://zine-ssg.io
552 stars 25 forks source link

automatic social media image generation #17

Open kristoff-it opened 7 months ago

kristoff-it commented 7 months ago

So we have a build system on hand, and it can also download packages and build them, etc.

Shouldn't be terribly hard to make it generate programmatically image preview of pages.

The contributor-friendly part of this task is implementing a social media image generation program. Integration with the rest of the Zine ecosystem, while not particularly hard, might be less contributor-friendly but it's also something that I can take on once the meat of the work is complete.

That said, it's not exactly trivial to design a flexible (but not overcomplicated) library to generate images as it will probably involve some kind of scripting layer to define lines, where to print text / place images, etc.

In the case that some "scripting" is required, the first option that should be considered is Scripty.