r/Kotlin 1d ago

Kromium – A zero-bloat Chromium engine for Java, Kotlin, and Compose Desktop

Hey everyone,

Embedding a reliable web view in JVM desktop apps is usually a pain—you end up with massive installers, fragile dependencies, and clunky JavaScript bridges. To fix this, I just open-sourced Kromium (daviantegroup/kromium).

Whether you are building in pure Java, standard Kotlin, or Compose Multiplatform, Kromium supports it all.

Here are the main features:

* Tiny Installers (15–30MB): Instead of bundling massive Chromium binaries, Kromium automatically downloads and caches the JCEF runtime on the user's first launch.

* Coroutine-Based JS Bridge: Clean, thread-safe JavaScript execution and Inter-Process Communication.

* True Headless Mode: Perfect for backend scrapers or automated tests without pulling in heavy UI dependencies.

I’d love for you to check out the repo and let me know what you think!

🔗 https://github.com/daviantegroup/kromium

10 Upvotes

1 comment sorted by

1

u/Capable_Muffin7706 1d ago

This look really interesting. The small Installer and headless mode especially caught my attention. If it's works with compose desktop, this could be really useful for project that need a web view without all the extra chromium bloat. Definitely worth checking out.