Lobstersseen ×5NEW
Open Graph images with Astro and Typst(eaj.no)
The article discusses using Typst, a markup language tool, in conjunction with Astro to generate Open Graph images for blog articles. Previously, the author manually searched for images on websites like Unsplash, but now uses a pipeline to generate image cards at build-time. Typst can produce high-quality documents, including PNGs, and accepts input variables that can be used to customize the output. By leveraging Typst's capabilities, the author can automatically generate image cards with the blog post title and other relevant information, making it easier to create visually appealing links to articles.