4 ms·
<!-- Bit of a plug but is related and might interest people --> Firefox OS inspired me to build my own Debian-based operating system that uses web technologies
by James-Livesey 4y ago
<!-- Bit of a plug but is related and might interest people -->
Firefox OS inspired me to build my own Debian-based operating system that uses web technologies for its UI and apps. It uses Electron as the runtime[0] and works both on desktop (AMD64 arch) and mobile (on the PinePhone). It's very much a work-in-progress project and is by no means complete, but it's progressing nicely over the past few months and I'm sure will become quite a complete OS functionality-wise in no time.
Feel free to check it out here if it piques your interest: https://liveg.tech/os https://liveg.tech/os
(There's also plenty of videos that I've previously made that showcase some of the key moments in its development: [1])
Capyloon IMO is also an awesome OS platform that achieves very similar goals to this project, and it'll be great to see what they build next within the world of non-mainstream web-centric operating systems!
--
[0]: A tad controversial, I know — but the rationale is that using one Electron app as the desktop environment means that you don't have to run Slack/Discord/Spotify etc. in their own Electron apps; instead, they can run as web apps that share the same Chromium instance. That way, you don't have completely separate Chromium instances/processes running at once, where they'd otherwise all be consuming lots of RAM due to their startup overhead.
[1]: Playlist: https://www.youtube.com/watch?v=pmOR2J9fDZM&list=PL3aAeH1lqy3fWFE5gIf4d_gM4B3yycYTD https://www.youtube.com/watch?v=pmOR2J9fDZM&list=PL3aAeH1lqy... — Prism is a prototype smartphone that runs LiveG OS, and gShell is the desktop environment.
- forgotpwd16 4y agoLooks cool. The fact that same shell runs on both mobile and desktop conceptually reminds me what Canonical was trying to do. Being based on web technologies, couldn't you make a browser runnable demo for the interface? Such as the Flutter-based shell https://web.dahliaos.io https://web.dahliaos.io is doing.
- James-Livesey 4y agoOh wow, didn't know that dahliaOS had this! The only barrier that I can see would prevent this from happening for gShell is that web browsers don't support the `webview` element that Electron lets you use (it's basically an iframe but without all the CORS restrictions and the likes, so you can see why browsers don't support it). I suppose one cool side-project would be to set up a service similar to Microsoft's Windows 365 that would stream a desktop environment to something like a `canvas` element — that way, we could get around all the CORS stuff. Also, yeah what Canonical did with Ubuntu and Ubuntu Touch is pretty cool in terms of convergence (apparently it's really stable, too). I do find having the sidebar UI on mobile a bit odd, but I should imagine that it'd be something to get used to. Phosh and KDE Mobile I think are both convergent, too.
- Tijdreiziger 4y agoMy first thought given the name was 'does it have anything to do with Google?' (sorry)
- aliswe 4y agoBecause of the double O?
- MaxMatti 4y agoProbably because of the g in the subdomain, kind of makes it feel like "live g[oogle]"
- James-Livesey 4y agoAhh yeah I can see how people might think that with the name "LiveG"! The previous name was historically "LiveseyGadget" (my surname + "gadget") a long time ago when I came up with some of the ideas, but for all intents and purposes, this got shortened to the now-official name "LiveG" and the meaning behind the name essentially dropped to be more of an open project.
- criddell 4y agoI don't intend for this to be critical. You've created something pretty impressive and are giving it away which is awesome. But since you've acknowledged the decision as controversial I'll say it - web technologies for UI kind of suck compared to just about anything else. They are hard to reason about, they are fragile, slow, and heavy. They are a house of cards build on shifting sands. Now I know there are people here who hold the exact opposite opinion. They've worked extensively with Carbon/NextSTEP/Cocoa/UIKit, or OS/2 PM, or Win32/WinRT, or even Swing/JavaFX and then moved on to web UIs and love it. I don't get it though. I sometimes wonder if the web UI fans are mostly people who want to work and play on Linux and that's about the only way software makes it onto or off of that platform these days - as Electron apps.
- zagrebian 4y ago> web technologies for UI … slow, and heavy It’s not the web platform features that are slow and heavy. It’s all the JavaScript on top of it. You can make a UI on the web with just HTML and a bit of CSS. Nothing beats that in terms of performance and small size*. But if you add several MBs of JavaScript frameworks on top of that, then it becomes what you described. *Try the HTML version of Gmail in your browser https://mail.google.com/mail/u/0/h/ https://mail.google.com/mail/u/0/h/. Just HTML and CSS. It’s the fastest email client in the world. edit: I timed it. HTML Gmail loads and fully renders in about 1 second.
- isaacaggrey 4y ago> Try the HTML version of Gmail in your browser https://mail.google.com/mail/u/0/h/ https://mail.google.com/mail/u/0/h/. Just HTML and CSS. It’s the fastest email client in the world. I use Fastmail on a regular basis and it's snappier than the HTML version of Gmail.
- zagrebian 4y agoHow long does it take to load and fully render HTML Gmail on your device? For me, it’s 1.15 seconds, and that’s from the moment I click the above link to the moment rendering is complete.