Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve Web UI as a Progressive Web App #6253

Closed
mdezzi opened this issue Apr 25, 2023 · 6 comments · Fixed by #10405
Closed

Serve Web UI as a Progressive Web App #6253

mdezzi opened this issue Apr 25, 2023 · 6 comments · Fixed by #10405
Labels
enhancement New feature or request pinned

Comments

@mdezzi
Copy link

mdezzi commented Apr 25, 2023

Describe what you are trying to accomplish and why in non technical terms
It would be great to serve the web ui as a PWA so that i can "install" frigate on my mobile device or in windows to create a desktop icon, or frigate app in my app drawer.

Describe the solution you'd like
I am not familiar with the in-depth technical changes that are required, but as i understand it, most web UI's can be converted to a PWA by adding a manifest file. Examples of web ui's that are available as PWA's that i am familiar with are: Overseerr, Mealie, jsonformatter.com, regex101. Reddit, SoundCloud, Twitter, Youtube Music are also served as PWA's.

Describe alternatives you've considered
I have tried creating shortcuts to my webUI on both android and windows. On android, it does not allow you to "install" the app and appear in the app drawer. On windows, it just opens the link in whatever default web browser, and doesnt allow you to open in its own app window.

Additional context

@mdezzi mdezzi added the enhancement New feature or request label Apr 25, 2023
@NickM-27
Copy link
Sponsor Collaborator

This is already supported on mobile, I have frigate as an app on my android and iOS.

@mdezzi
Copy link
Author

mdezzi commented Apr 25, 2023

@NickM-27 I am confused. You installed frigate via google play/apple app store? Or you were able to install as a PWA? When i open a PWA supported web ui in chrome on android it gives me the option to install the app. I dont see that when i open my frigate web ui. (I am on v0.12.0)

@NickM-27
Copy link
Sponsor Collaborator

I just used the add to homescreen option in chrome. It shows up in my app drawer and on my homescreen and I can launch it as if it was an app that was installed.

@mdezzi
Copy link
Author

mdezzi commented Apr 25, 2023

That might be device/launcher specific, because when i do that it only puts it on my home screen (not app drawer), and opens in chrome. I am on a Pixel 6A and tried with Pixel Launcher as well as Nova Launcher.

@NickM-27
Copy link
Sponsor Collaborator

weird, it opens as its own app and no address bar or anything for me

@mdezzi
Copy link
Author

mdezzi commented Apr 26, 2023

I was able to find this guide for packaging an existing web app as a PWA: https://docs.pwabuilder.com/#/studio/existing-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants