this post was submitted on 03 Apr 2024
45 points (90.9% liked)
Linux
48181 readers
1308 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You mean, like ... browser?
No, really 🙃
For Firefox this exists, all other browsers have this functionality directly implemented. Chromium-based browsers can usually be started with parameter
--app=https://example.com
to start example.com in a SSB/PWA-looking window.Plus: With this you do not lose the ability to open links in new tabs and you have access to your default configuration for websites.
Wow that extension is nice! Way better than the overcomplex "Firefox PWAs" I suppose.
Yep. Technically it just creates a new tab that creates a popup with the requested URL and the created tab closes itself after the popup was created. So not really a PWA but just a popup with a website in it, but in most cases this is absolutely fine since you're online anyways, and modern browsers are good with caching.
Oh I had this recently with a normal website and it is extremely strange.
No, I dont think thats the same
Chromium has quite nice integration in Linux, even though for sure its bad, but I use it instead of Electron.
Yes, this is not a PWA system but an SSB implementation. In the context of this thread it's fine since Lemmy is useless without Internet connection, so why bother with persistent local storage and not just rely on browser cache?
On Linux you can create a simple .desktop file and place it where your system can load it. It will be automatically placed in places where your other application's desktop files are shown. On Windows you can create a shortcut and change the shortcut's icon and place the shortcut file wherever you want.
I use this technique on my private Linux machines as well as on my work laptop (Windows 10).
Persistent local storage is a question of scale. For example having old posts and comments cached, or the entire UI. It would just load faster and save tons of duplicated data that is always the same but downloaded over and over again.
Yes I know how to create the entry. Not sure about the menu chapter, but these are very possible.