Pretty sure PWAs can run in the background.
Comment on RAM prices soar, but popular Windows 11 apps are using more RAM due to Electron, Web components
A_norny_mousse@feddit.org 6 days agoAll major browsers can do this - with the exception of running something in the background I guess. But that is exactly the sort of usage scenario where an Electron app is the worst choice. Coding a separate utility with no GUI would be the sane thing to do here, not put whole browser stacks into memory.
BrianTheeBiscuiteer@lemmy.world 6 days ago
ExLisper@lemmy.curiana.net 6 days ago
You’re actually right, by now browsers have APIs to do most of the things apps do. Technically you could convert most apps to websites. I guess as a user I just don’t want all my apps to open a tab in my browser. I want to move apps between virtual desktops and monitors independently and I don’t want my app’s window to be clattered by all the menus from my browser. On mobile I also prefer switching between apps than between different tabs. For me the best compromise is:
A_norny_mousse@feddit.org 6 days ago
All this is already possible with most browsers.
ExLisper@lemmy.curiana.net 6 days ago
Do you know any websites that integrate into Linux desktop and Android like native apps? I mean I can run it from cmd/icon, and it opens as new window without any decorations? I never saw it but if it’s works fine it’s an interesting option.
dafta@lemmy.blahaj.zone 6 days ago
Those are called Progressive Web Apps (PWA). You can use firefox to add the website to your desktop like this: developer.mozilla.org/en-US/docs/…/Installing
Once you do, when you open the app it should have just the website without the tabs and everything else firefox does.