@mathix maybe you can make it clear on the website that this doesn't create app/play store apps, as most people probably think about them when they read "turn any website into an app".
From the github readme[0]:
> FTWA uses the --app='https://app.example' parameter with Chromium-based browsers to launch a website in "app mode".
> [...]
> When choosing linux as target OS, FTWA generate a shell script that will create a .desktop file and it's icons.
* The Firefox (BETA) entry does not work on default Ubuntu installs, where Firefox is a Snap. Yes, snap bad, bla bla bla, but it still remains one of the most likely way Firefox will be installed on Ubuntu. This comes from the fact that your script attempts to locate the profile folder in ~/.mozilla/firefox, whereas snaps stores them in ~/snap/firefox/common/.mozilla/firefox/.
* New profiles unfortunately don't share logins on Firefox, which means your app is disconnected at first. Not a big deal, but could maybe be changed by copying some things from the default profile ?
* Firefox does not display _any_ titlebar when ran in this way.
Love the idea. There's many times where I'd like something to have a bit more "privilege" on my toolbar than what a regular tab (even pinned) gets.
Since Mozilla has started to provide an official Debian-style repository there is no reason to use snap on Ubuntu any more. Well, except if some users don't know or don't care to switch.
- Yes I could create a second firefox preset for snap installs
- I would prefer not to touch such sensible files, but will give instructions on how to do it manually
I just switched to Firefox and struggled with this exact functionality. The posted site ships a script for curl|sh that creates a new firefox profile with a custom userChrome.css.
I ended up writing a firefox extension to open up URLs in a new "popup" window[1]: https://addons.mozilla.org/en-US/firefox/addon/web-app-maker.... I just checked it on Windows (usually using linux) and the popup window type does not allow the maximize button to work. Oh well...
There's an excellent extension that makes this pretty simple to manage. Additionally the windows it creates have some pwa specific settings, like how links should be handled.
For people who want a "separate window" on Chrome osX (at least), you can go on the website, click on the "..." next to your profile picture, then "Cast, save and share" > "Install website as app"
It does the same, but runs as a "separate app" so that cmd+Q only exits the app
Yes, it's pretty much the same for macOS I guess. On linux it's pretty different, I was using .desktop files over PWAs for years because of their bad UI on Linux.
So I did this, turned out it's not only just Firefox without the browser UI, but it also bricked my actual Firefox browser and now it doesn't connect to the internet.
I would like to have the complete opposite. Turn any app into a website so that I don't need to download them, and can just access them through my browser.
1. Does this make the apps show up as separate windows in Alt+Tab and a Dock etc? (FWIW I use GNOME + Dash to dock + Wayland)
2. Let's say you have a mail app and you click a link. Does that link open in the separate default browser?
I remember trying these command line options for Brave/Chrome, but I couldn't find a way where both of the above were working and thus they didn't feel like proper apps. I've only been using this for something like Apple Music, where I never click on any link that takes me outside. For everything else, like mail and notes, I've been using pinned tabs, but that feels suboptimal too.
2. This could do the trick for you https://askubuntu.com/a/251738/1163389 make it point to the desktop file that ftwa created in this folder: ~/.local/share/applications
This was just a side project, I was using .desktop files to launch some websites and thought it was still pretty unknown by most people. So I created this website.
Why did you build this with a server? Since you suggest folks introspect the script anyway, you could simply generate it in the browser and have the user download it. Then you could run this at zero-cost.
This is really cool! Any chance of adding support for the Arc browser? Right now, Chrome allows for some websites (WhatsApp, Spotify, YouTube Music) to be made into "apps" already via PWAs. Arc - which is based on chromium, for some mysterious reason, chooses to not support PWAs so this would be extremely useful for Arc!
harryvederci|1 year ago
@mathix maybe you can make it clear on the website that this doesn't create app/play store apps, as most people probably think about them when they read "turn any website into an app".
From the github readme[0]:
> FTWA uses the --app='https://app.example' parameter with Chromium-based browsers to launch a website in "app mode".
> [...]
> When choosing linux as target OS, FTWA generate a shell script that will create a .desktop file and it's icons.
[0]: https://github.com/mathix420/free-the-web-apps?tab=readme-ov...
mathix|1 year ago
sigh_again|1 year ago
* The Firefox (BETA) entry does not work on default Ubuntu installs, where Firefox is a Snap. Yes, snap bad, bla bla bla, but it still remains one of the most likely way Firefox will be installed on Ubuntu. This comes from the fact that your script attempts to locate the profile folder in ~/.mozilla/firefox, whereas snaps stores them in ~/snap/firefox/common/.mozilla/firefox/.
* New profiles unfortunately don't share logins on Firefox, which means your app is disconnected at first. Not a big deal, but could maybe be changed by copying some things from the default profile ?
* Firefox does not display _any_ titlebar when ran in this way.
Love the idea. There's many times where I'd like something to have a bit more "privilege" on my toolbar than what a regular tab (even pinned) gets.
usr1106|1 year ago
mathix|1 year ago
- Yes I could create a second firefox preset for snap installs - I would prefer not to touch such sensible files, but will give instructions on how to do it manually
hackernudes|1 year ago
There is an official thread here with people discussing how the single-page-as-an-app functionality should work: https://connect.mozilla.org/t5/discussions/how-can-firefox-c...
I ended up writing a firefox extension to open up URLs in a new "popup" window[1]: https://addons.mozilla.org/en-US/firefox/addon/web-app-maker.... I just checked it on Windows (usually using linux) and the popup window type does not allow the maximize button to work. Oh well...
[1]https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
Zetaphor|1 year ago
https://github.com/filips123/PWAsForFirefox/
dddw|1 year ago
oulipo|1 year ago
It does the same, but runs as a "separate app" so that cmd+Q only exits the app
mathix|1 year ago
chakintosh|1 year ago
mathix|1 year ago
gingersnap|1 year ago
mathix|1 year ago
albert_e|1 year ago
I wanted Udemy app to be available for smart TV platforms like FireTV stick or SamsungTV.
Udemy makes an android and ios app but not for TVs.
Teachable is another online learning platform that ignores Android altogether and makes only an ios app.
LMS vendors like Docebo that have become very popular (AWS Skill Builder, Databricks academy, etc) have very poor mobile support.
Wonder if there is a way to make it work using tools like these. Any pointers in that direction would be appreciated.
low_tech_punk|1 year ago
I believe the PWAs will correctly show up in the OS native app launchers.
mathix|1 year ago
otsaloma|1 year ago
1. Does this make the apps show up as separate windows in Alt+Tab and a Dock etc? (FWIW I use GNOME + Dash to dock + Wayland)
2. Let's say you have a mail app and you click a link. Does that link open in the separate default browser?
I remember trying these command line options for Brave/Chrome, but I couldn't find a way where both of the above were working and thus they didn't feel like proper apps. I've only been using this for something like Apple Music, where I never click on any link that takes me outside. For everything else, like mail and notes, I've been using pinned tabs, but that feels suboptimal too.
mathix|1 year ago
2. This could do the trick for you https://askubuntu.com/a/251738/1163389 make it point to the desktop file that ftwa created in this folder: ~/.local/share/applications
doubleorseven|1 year ago
EffrafaxOfWug|1 year ago
https://github.com/linuxmint/webapp-manager
frizlab|1 year ago
janaagaard|1 year ago
brunorsini|1 year ago
Eager to try your product! Have you considered including it on SetApp?
mathix|1 year ago
marban|1 year ago
mathix|1 year ago
dschep|1 year ago
aragilar|1 year ago
yamrzou|1 year ago
mathix|1 year ago
gwbas1c|1 year ago
They removed the option last August. It's really disappointing to me, because I'm a very heavy user.
lugao|1 year ago
mathix|1 year ago
meel-hd|1 year ago
mathix|1 year ago
BSDobelix|1 year ago
prasoonds|1 year ago
bethemoly|1 year ago
jetofff|1 year ago
mathix|1 year ago
T3RMINATED|1 year ago
[deleted]