This is 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 aimed at edge rendering, but at the tradeoff of significantly more random compatibility / rendering issues.
Both approaches have their tradeoffs.