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,…?

  • wewbull
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 months ago

    Generally, my view is if it’s an electron app it’s going to be a crap user experience.

    You are talking as if all people can make a native app with the same knowledge and amount of effort as it would take to develop a website.

    No, not all people can’t do that, but I think they should learn. It will lead to better results. Or are you saying that web developers are inherently incapable of developing native applications?

    • mamotromico@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Honestly it varies a lot. I’m the kind of user that would rather have self contained apps (even if electron) whenever possible instead of new browser tabs/windows. So unless a electron app is notoriously bad, I’d rather have it avilable than not