Open sahilshahpatel opened 1 year ago
There is potential to automate this with Selenium to take screenshots of the rendered page. Astro's ApiRoute structure for SSGs can help bake it into the process. Not sure how well it would go but worth a try!
If selenium is too heavy, there is another option outlined here, but it seems limited: https://www.yieldcode.blog/post/how-to-auto-generate-og-images/
As a first step let's just set all pages to an image of the home screen and a generic description. Later we could maybe do unique images for each page? Might be annoying though.