News for hackers. Stuff that matters.

shellcoders

Re:Edge browser ditches react for a faster WebUI 2.0 on Saturday June 01, 2024 @01:13PM (#40547442)
Open source WebUI 2.0 library https://github.com/webui-dev/webui ?
This is funny =)
Guys, yetanother12345 just discovered an interesting logic. It works like this:

{{ It it just me imagining things, or did these people copy the Chromium browser to output HTML? and...wait for it... they call it Electron! }}

Yesterday the website was down, now is up !!
I don't think the difference between Electron and Webui is the JavaScript thing you are talking about because Electron uses a bounded Chromium browser. Webui uses any installed web browser, so both are the same.

True differences:

1 - The big difference is that the Electron backend is ONLY JavaScript, while Webui can be used with any language, C, C++, JavaScript, Zig, Nim, V, Python, Go...

2 - Electron is big, yes, +100MB, but gives you complete control of the window, while Webui is 200Kb, but all it does is run a web browser for you and sends you click events, so you have no control over the window because the browser owns it, not your application. So, Webui is suitable only for quick software development, while "big" projects should use Electron.

3 - Any suggestions?

Yes, WebUI uses the real installed web browser, so no rewriting is needed like WebView. The lib is 200 Kb !!!