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

Feature Suggestion - use workbox and the Preact CLI to make this a PWA #2109

Open
jcreek opened this issue Mar 26, 2023 · 3 comments
Open

Feature Suggestion - use workbox and the Preact CLI to make this a PWA #2109

jcreek opened this issue Mar 26, 2023 · 3 comments

Comments

@jcreek
Copy link

jcreek commented Mar 26, 2023

This would enable users with modern browsers to install an app directly from the browser, without having to actually install an app. Details on this can be seen here.

I've done this with just workbox on a number of commercial projects, as well as (one open source one)[https://github.com/jcreek/SelectionWheel] which you can play with here. The Mac app does not like being resized, crashing every time I even try to minimise it, which made me wonder what technology was being used for it. I assumed it was just a wrapper around a PWA but it's more complex, probably unnecessarily so.

Converting this to be a PWA would mean the standard web version can be used on desktop and mobile with the full app experience, even in appearing in the Start menu on Windows, for example.

I took a quick look at the code and there doesn't seem to be a bundler in place in this repo, so it wouldn't be a one-to-one process to bring over my previous experience, but if it is something that would be useful then I'd be happy to take a look at it.

@NotTsunami
Copy link
Contributor

Alternatively, there is a pending PR for a switch from nw.js to Electron for the desktop client. There is a chance that might fix the resizing crash you've described. I think Electron, especially more modern versions, are much rigoursly more tested. Hoping it gets merged.

@Zarel
Copy link
Member

Zarel commented Apr 11, 2023

I actually have been planning on making the Preact app a PWA, but that is, as it turns out, a lot of work which does not seem like it will be completed anytime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@Zarel @NotTsunami @jcreek and others