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

  • SteveTechEnglish
    arrow-up
    2
    arrow-down
    0
    ·
    6 months ago
    edit-2
    6 months ago
    link
    fedilink

    It starts to break down on Wayland though, screen sharing doesn’t work, drag and drop looks to work but errors when sending, and probably other things.

    Edit: Yes I’m already running it with --ozone-platform-hint=auto

    • acockworkorange
      arrow-up
      2
      arrow-down
      1
      ·
      6 months ago
      link
      fedilink

      Well, Wayland support is something new for most distros. Can’t really fault the app for not being ahead of the curve.

      • SteveTechEnglish
        arrow-up
        3
        arrow-down
        0
        ·
        6 months ago
        link
        fedilink

        Yeah, but also I really didn’t expect Zoom to have working screen sharing on wayland before discord.