What's your experience with Electron alternatives

LemmyHead@lemmy.ml to Linux@lemmy.ml – 115 points –

Electron is a widely hated framework on Linux, but what about the alternatives like Neutralinojs?

In their own words: In Electron and NWjs, you have to install Node.js and hundreds of dependency libraries. Embedded Chromium and Node.js make simple apps bloaty — in most scenarios, framework weights more than your app source. Neutralinojs offers a lightweight and portable SDK which is an alternative for Electron and NW.js. Neutralinojs doesn't bundle Chromium and uses the existing web browser library in the operating system (Eg: gtk-webkit2 on Linux). Neutralinojs implements a secure WebSocket connection for native operations and embeds a static web server to serve the web content. Also, it offers a built-in JavaScript client library for developers.

Do you experience alternatives like Njs to blend more in the desktop layout, install less junk, use less memory, are more compatible with Wayland,...?

62

You are viewing a single comment

https://tauri.app/ is very popular and does not need electron. It uses the OS native we view.

And 2.0 will support Android and iOS

I wanna use Rust to build mobile apps so bad. I don't really know what I want to build, but I want to use Rust to do it

I have been using Tauri for a personal project of mine and I absolutely love it