← Mon, Nov 9 digest

Zebkit – Chromium as an embeddable library

read article ↗ hn thread ↗

Zebkit packages Chromium's engine as a linkable library, allowing applications to embed web views and PDF rendering without Electron's runtime or Node.js.

summary is enough Skim this to evaluate an alternative to Electron that embeds Chromium directly, though production readiness requires weighing security and deployment challenges.

summary

Zebkit is an open-source project that packages Chromium engine components like Blink, V8, PDFium, and FFmpeg into a single linkable C library. Unlike Electron, which forces applications into a dedicated runtime and Node.js environment, zebkit lets native applications manage their own event loops and window toolkits while embedding web or PDF capabilities. Benchmarks show a 34% smaller binary size and significantly faster cold starts compared to Electron. However, commenters note that embedding a browser engine directly introduces notable security, licensing, and deployment complexities.

key points

  1. Bundles core Chromium components into a single library supporting C, Rust, Python, Go, and JavaScript without requiring Node.js.
  2. Outperforms Electron in benchmarks with a 34% smaller footprint and 66% faster cold start times using native window loops.
  3. Includes native support for Playwright APIs and Model Context Protocol (MCP) tools directly inside the application process.

who should read it

Desktop application developers seeking a lighter alternative to Electron for embedding web content or PDF rendering.

discussion skeptical

consensus

Commenters debate how zebkit differs from established alternatives like CEF, with many questioning the security risks and process stability of linking a massive browser engine directly into an app.

pushback

A few critics dismiss the project as superficial, while experienced developers highlight practical deployment hurdles like helper process notarization and FFmpeg license compliance.

best comment by netshade ↗

Nice. I'm a heavy CEF user on ZShot ( https://zshot-app.com , https://zshot-cli.com ), but strongly with you on this sort of thing should be easier to integrate.

Also, very much with you in terms of exposing those libs ( like PDFium and FFmpeg ) to consumers, it lowers the shipping burden by quite a bit and just enables so much.

A note to anyone going down this road, just as an aside: actually shipping w/ Chromium ( and especially w/ FFmpeg ) can get complicated. If you're shipping on Mac OS, you'll want to worry about notarizing all your helpers along with your main process ( I'm assuming …

An experienced embedder outlines concrete production challenges like macOS notarization, helper processes, and FFmpeg licensing compliance.

Generated by an LLM from the article and thread. Check the sources before relying on it.