2023-03-06
OG image
Open Graph (OG) image generation using Node.js with
- satori
- puppeteer
-
Using puppeteer is more flexible.
-
satori is faster than puppeteer
Generating og images for 52 posts took about 70 seconds with puppeteer while satori only took about 10 seconds.
HTML templates and JSX can be previewed on Tailwind Play