mikeal / dropub

P2P publishing for everyone.
https://dropub.com
219 stars 26 forks source link

Add a service worker and a manifest file for PWA #9

Open danjenkins opened 7 years ago

danjenkins commented 7 years ago

So that android users can add to homescreen and have the app act "as an app" add a manifest.json and a service worker

The app can't really do its thing unless its online but you can still have a good user experience when offline etc. Like not having the animation going while offline etc, when coming online animation starts etc.

jeanlucaslima commented 7 years ago

As a PWA maybe even define files client side that you were serving before. Looking into this.

mikeal commented 7 years ago

I'm not sure how well this would work with the current design.

Each url is unique that that fileset/torrent. There would need to be some sizable design changes that:

Right now it's designed as a content addressable url, we'd need to move it to be more of an "app."