Mango icon indicating copy to clipboard operation
Mango copied to clipboard

[Feature Request] Offline support

Open toxinu opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. I want to be able to read stuff when I don't have any connection (mostly on a smartphone).

Describe the solution you'd like Being able to access Mango in degraded mode with online latest library data and downloaded manga..

Describe a small use-case for this feature request Imagine you have to take the plane and you want to read some manga.

Additional context I don't really know the "state" of the frontend client but today it should be possible (probably with a large amount of work) to render an offline version of Mango using PWA with offline service workers and to allow the user to read the previously downloaded chapters/books using the CacheStorage or perhaps IndexedDB.

toxinu avatar Apr 03 '21 02:04 toxinu

Thanks for the feature request!

We do have plans for an official mobile app (https://github.com/hkalexling/Mango/projects/3#card-53810488), which should eventually support offline reading. I think doing it in for example React Native is easier than PWA. However if you are interested and have the time to contribute, feel free to submit a PR that implements this into the current web frontend.

hkalexling avatar Apr 03 '21 05:04 hkalexling

This would really be awesome, though I think the Tachiyomi path is pretty solid, however it obviously comes with limitations like relying on a second dev team being willing to apply necessary changes whenever we come across some to improve the interoperability of these two projects. Maybe the key really is having a choice, not sure PWA would be the best solution myself either, but then I must admit I know jack all about PWAs beyond being super annoyed that Firefox on Android basically doesn't want to know anything about them anymore and if you are lucky to add one to your home-screen it doesn't really.... integrate all that well... Opens up a tab in FF and I noticed Chrome isn't a saving grace either, so... ymmv

GlassedSilver avatar Sep 19 '21 13:09 GlassedSilver