this post was submitted on 06 Apr 2024
115 points (95.3% liked)

Linux

48328 readers
589 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] nyan@sh.itjust.works 8 points 7 months ago (6 children)

Which is why Electron reminds me of a little kid who's just done some extremely difficult but utterlly pointless thing.

Websites belong in a browser. If it doesn't work in any random standards-compliant browser, then you should be delivering it as a true native application, not some horrific fiji-mermaid-esque hybrid.

[–] moreeni@lemm.ee 4 points 7 months ago* (last edited 7 months ago) (4 children)

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.

Sometimes, web developers would want to go further with their app and deliever "native" functionality. Sometimes, a person wants to build an app but only happens to know how to build a website.

It's a much more complicated matter than just some idiots deciding "let's build an utterly pointless thing and then let other idiots build horrific fiji-mermaid-esque hybrids!!".

https://asylum.madhouse-project.org/blog/2018/10/26/Walking-in-my-shoes/

[–] wewbull@feddit.uk 10 points 7 months ago (1 children)

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 1 points 7 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

load more comments (2 replies)
load more comments (3 replies)