Elektrine lite

← Feed

@danb@fosstodon.org

Post #1306423

2026-03-05 10:13 UTC

@thomasjsn 🤦 Didn't notice that one, thanks, will fix! The images are generated via a PHP script which is ran as part of deployment. It scans over the source post files and creates a PNG for each. Not in an open repo but happy to share the script if you'd like.

Replies (1)

  • @thomasjsn@fosstodon.org 2026-03-05 10:25

    @danb Thanks for offering, but no need to share, I'm more interested in the build process steps 🙂 So you assume that all posts have an image in /blog/images/social/YYYY/slug.png and generate these on deployment?

    Open ##1306424