News for hackers. Stuff that matters.
Re:Show HN: Satori – Convert HTML and CSS to SVG in Millisec... by dsmmcken on Tuesday October 11, 2022 @11:35AM (#33164632)
That's pretty cool. I've hand rolled an og-image generator with Automattic/node-canvas for a static site (Docusaurus) at build time. Edge is cool, but doing it at build time probably makes more sense for static sites.

Looks like using Satori might have been easier to use then having to do all the canvas draw calls (which isn't all that bad either though).

Edit: Nevermind. Actually looks like this wouldn't be self hostable in a github action. vercel/og doesn't run in a node runtime?

Re:Show HN: Satori – Convert HTML and CSS to SVG in Millisec... by meowtimemania on Tuesday October 18, 2022 @03:32PM (#33252670)
Satori does run in node runtime.

vercel/og (a wrapper around Satori) does not support node