Had to disable my og-image generation because my site build kept running out of memory. Has anyone come up with a solution using something like https://github.com/KiwiKilian/eleventy-plugin-og-image but generating them once so it's not done on every build? It's easy enough to do, just curious if anyone else has done it before I do it myself. #11ty
@robb I use something along these lines, I just don't run the image generation on build - I run it locally when I write a new post, and commit the results
@robb basically the dev server will spit out the OG image. it's a little annoying when I rename a post a few times, I have to `rm rf _site` and restart so it doesn't keep regenerating the OG images with the old names, but otherwise it works a treat.
@sophie Just looking at your code now, that's a good way to do it. Thank you!
@robb fwiw I generate a web site for each of these and use the screenshot API to generate the image on request. https://www.zachleat.com/web/automatic-opengraph/
@zachleat I knew I’d seen some other option for this. Will have a gander later