alohaquanhoang Thanks for suggesting this.
Can you describe how do you imagine UI in Orion working for this?
alohaquanhoang Thanks for suggesting this.
Can you describe how do you imagine UI in Orion working for this?
Also, a button overlay for the window to have window buttons would be nice
Still looking for description of the UI that would be activating this feature.
Vlad Here to add my vote for this feature as I think it would be fantastic.
As some context, this is in addition from normal PWA's which can be installed from Chrome's url bar. Both Chrome and Edge have the option to create any webpage as a standalone app with its own icon in the dock, menubar name, etc. The benefit of this is the ability to have seperate apps for each site, but still use extensions installed in the normal browser. Here is a video showing an example of making this feedback site an app: Chrome Example - Streamable
iOS has this feature too, available using the Share Menu of Safari. It works best on pages that are PWA's as it creates them as a seperate app, rather than just acting as a bookmark to a Safari page. Here is an example video using Starbucks's Webapp: iOS Example - Streamable
Orion's implementation could copy from the iOS version by creating a new "Create App" option in the share menu. This would create a standalone app in ~/Orion Apps/
. These apps would just be permanently in Focus Mode (possibly with a small titlebar just for window controls as suggested by @Fortrikka).
Example of the Share Menu:
And the app would look like this when launched (just the site in focus mode):
brianholderness Still need a small titlebar for controls. How would you drag the window?
brianholderness Fantastic input Brian! Thank you.
Fortrikka You can already drag the window in Focus mode, just by using the very top of the window; but, as I mentioned, some type of small, thin titlebar for the window would work great. (Possibly even using the color tint of the website like Chrome and iOS do for their implementations.)
One thing that I really like about Chrome and other Chromium based browsers is their ability to save certain web pages are stand-aline PWAs. Firefox, for some reason, has decided not to do it. Safari, on iOS, has the feature but not on the desktop. Would be great to have this on Orion.
One of the reasons this is important to me is because of the resource consumption of Electron apps.
I feel that having PWA support would make Orion a usable alternative to Electron apps. A particular feature I would like is enabling "Low Battery Mode" specifically for the progressive web apps (separate from the main browser).
What would be really amazing is if we could enable some of these UI changes for normal sites, even if they've chosen not to support PWA (like Discord).
I've made a more specific proposal in a separate issue, to have "isolated background sites" (Or: Progressive Web Apps for all)
Electron apps are infamous for being resource-intensive. They use noticeably more RAM and battery than their corresponding website versions (especially Electron vs Orion).
As a particular, on any given day, the 12-hour battery consumption of Discord is about 2x that of IntelliJ (a java-based IDE) and 4x that of Firefox or Orion. It is consistently in my "Apps using significant battery consumption". Across all platforms, Discord's RAM consumption rivals Firefox and IntelliJ.
I am aware that Discord is a particularly bad example. However, other Electron apps like Spotify, VS Code, and Mailspring display many of these tendencies too
For Electron apps that have web versions (Discord/Spotify), Progressive Web Apps serve as a potential alternative to their Electron versions.
They offer:
However, as I understand it, progressive web apps have to be enabled by the website author themselves. Discord has chosen not to do that.
What would be absolutely amazing, is if we could have some of these PWA features enabled for normal sites
In particular, I would like to have Discord enabled in the background (in a separate user-visible window) and specifically instructed to use low battery mode (independent of the main browser)
A lot of this is probably hard. I'm basically asking you to make Orion support "background sites" as an alternative to Electron. Something like Progressive Web Apps, even for websites that weren't designed for it in the first place
However, think of the potential! Even if users don't choose to use Orion as their main browser, they are almost certain to be tempted by this feature. Who in their right minds wouldn't want a lighter alternative to Discord & Spotify?
This can probably be split up into several different steps. Most of these don't have to be done in any particular order:
I've mentioned Progressive Web Apps support, but really this is somewhat of a different feature.
Unlike PWA support, the implementation of this feature doesn't really have to be separate from that of a regular tab. The main request is a change in UI.
These sites could be preconfigured in preferences, the only real requirement is that they have
This wouldn't be a full-featured alternative to Electron or PWA, but it would significantly improve the UI (and resource usage) of using website apps like Discord & Spotify.
Let me know what you think
Some other relevant feature requests - one around notifications in particular.
https://orionfeedback.org/d/512-allow-notifications-similar-to-that-of-chrome-or-safari
https://orionfeedback.org/d/400-progressive-web-apps
https://orionfeedback.org/d/425-misc-possible-bits-of-missing-webkit-functionality
Orion appears to support service workers just now (https://orionfeedback.org/d/974-maybe-bug-service-worker-processes-stay-open-after-last-tab-is-closed). Maybe based on your points here, service workers should last "longer" than after the tab closes? How should Orion ensure websites can't choose to run forever for tracking or other nefarious purposes?
Take a look at pinned tabs for helping avoid unintentionally closing your discord tab - maybe that could be adapted to do what you need?
Low battery mode "per-tab" could be an interesting idea, but I am not sure what it does specifically - does it not just "sleep" a backgrounded tab? Or would that be sufficient?
FWIW, there are a number of apps which do this.
I have used Flotato - I think it uses WebKit.
A few others:
Fluid.app (WebKit)
Unite (WebKit)
Coherence X (chromium)
macOS also can do this all on its own (albeit with fewer options): https://www.chriswrites.com/turn-any-website-into-an-iphone-or-ipad-app-with-automator/
Maybe based on your points here, service workers should last "longer" than after the tab closes? How should Orion ensure websites can't choose to run forever for tracking or other nefarious purposes?
For the service workers to persist, these tabs would have to be enabled manually. They are basically like pinned tabs, except they have the option to run in the background or a separate window.
Take a look at pinned tabs for helping avoid unintentionally closing your discord tab - maybe that could be adapted to do what you need?
Yes. I use pinned tabs in Firefox. This is very similar to what I want, except I would also like:
I've found that containerized browsers are heavenly. The concept is basically the SSB (Single Site Browser) concept but turned around such that you have a web browser that is used based on some concept that you feel is useful.
The organizational and compartmentalization benefits are absolutely astronomical and I cannot imagine living without the functionality now after living with this for around 5 years.
The idea is that I can keep all of these browsers in a folder or in my Dock (macOS) or fire them up with something like Spotlight, Alfred or LaunchBar.
Some examples that I use it for:
Vlad thanks for getting back to me, two things:
I can go through this and help with the process in more detail if you'd like. I think this would be a big home run for Orion and frankly I would pay for this functionality since Epichrome was the only one that did things right, but the developer had to abandon it due to his frustration with Google and Brave and not being able to control their choices whatsoever.