Hacker GitHub

← All repos

vercel/satori

View on GitHub ↗ ★ 14,153 TypeScript

Enlightened library to convert HTML and CSS to SVG

12 mentions on Hacker News by 10 people: 3 stories, 9 comments · first 2022-10-10 · latest 2025-11-12

Mentions per year 12 mentions · busiest year 2022 (7)
20082026
  1. ▲ 6
    Enlightened library to convert HTML and CSS to SVG
    story by sadeshmukh · 2025-11-12 · 0 comments
  2. ▲ 1
    Convert HTML and CSS to SVG
    story by alazsengul · 2025-07-22 · 0 comments
  3. You could use https://github.com/vercel/satori which supports Node 16+.
  4. …If others are interested in this, I would by happy to write a blog post about the process. [0]: https://github.com/vercel/satori [1]: https://github.com/shepherdjerred/glitter/blob/main/assets/p... [2]:…
  5. …application. I've used it on the backend to generate match reports for League of Legends [1] [0]: https://github.com/vercel/satori [1]: https://github.com/shepherdjerred/glitter-boys
    comment by shepherdjerred · 2023-12-07 · in SVG Tutorial
  6. …a really interesting top down approach, starting with Chromium and pairing a minimal bit out of it. https://github.com/vercel/satori is another interesting recent project that goes bottoms up to achieve something similar. Def a lot smaller…
    comment by transitivebs · 2022-11-14 · in Forking Chrome to turn HTML into SVG
  7. Vercel put out https://github.com/vercel/satori which does similar things (albeit with JSX and a slightly different use case).
    comment by alexchantastic · 2022-11-14 · in Forking Chrome to turn HTML into SVG
  8. …have to parse it again, and it's using it as JSON, check the "Use without JSX" section in the docs: https://github.com/vercel/satori#use-without-jsx
  9. …and CSS[0]. You can even check the demo page[1], it has examples with HTML and inline styles. [0]: https://github.com/vercel/satori#html-elements [1]: https://og-playground.vercel.app
  10. …a lot like it will embed the _font_ required to render the _text_ - but it kinda does the opposite. https://github.com/vercel/satori#font-embedding [0] https://github.com/facebook/yoga
  11. ▲ 244
    Show HN: Satori – Convert HTML and CSS to SVG
    story by steventey · 2022-10-10 · 59 comments
  12. this is a gamechanger! also https://github.com/vercel/satori is such a good name!