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

  • moreeni@lemm.ee
    link
    fedilink
    arrow-up
    21
    ·
    3 months ago

    Qt and Electron are different technologies that achieve somewhat different goals

      • jbk@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        They have like 3 different, official codebases and clients (and so many 3rd party ones) for so many platforms. No other app I know of is like that, not really a great example imo

    • bizdelnick@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      4
      ·
      3 months ago

      Qt and Electron are different technologies

      Yes.

      that achieve somewhat different goals

      No.

      • moreeni@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        3 months ago

        You can’t get a website working as a “native” application with Qt, which is exactly what is Electron’s goal.

        • bizdelnick@lemmy.ml
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          3 months ago

          There is a browser working natively in any system. I don’t see any point in bundling a web app together with a browser and calling it a “native” app. The only difference is that you have no address bar in that case.