3 ms·
Ask HN: Embedded web rendering engine in your app – alternatives to Electron?
Mozilla's web engine is called Gecko and can supposedly be embedded. I say supposedly because, Mozilla rarely ever promote this feature and their Gecko documentation warns readers the documentation is out of date:
https://developer.mozilla.org/en-US/docs/Mozilla/Gecko/Gecko_Embedding_Basics
Given the growing popularity of Electron, despite its memory-heavy and bloated file size, should Mozilla promote embedding Gecko more prominently (assuming it can beat Electron on file size and memory usage)?
What other options are there for embedding a web rendering engine in your app? Are there any lightweight solutions?
- kjksf 9y agohttps://sciter.com/ https://sciter.com/ is a light-weight html/css/script engine There's also https://github.com/litehtml/litehtml https://github.com/litehtml/litehtml
- charlesdm 9y agoThere's Chromium Embedded Framework, which is the same thing Electron uses to embed things. I've used it in a few projects and it's quite powerful. If you go Mac only, you can use WKWebView -- it's actually super lightweight, and I've also used it quite successfully in a project. Results are great.