lakesare / memcode

Spaced-repetition: with real formatting.
http://memcode.com
MIT License
330 stars 71 forks source link

Offline use for mobile, caching, resyncing #127

Open Wehzie opened 2 years ago

Wehzie commented 2 years ago

Hello I am a user looking for an alternative to Anki that is completely open source and has a modern graphical user interface.

Memcode implements a comprehensive tech stack supporting all platforms via a browser, it is open source on the front and back end, supports TeX, code, images and is simple to use.

However for mobile it could be a good feature to enable offline use. Because still only around half of the world population has access to the internet. And for many people internet may only be available in a library or cafe and data may be limited.

Therefore I am wondering how feasible it would be to store deck data offline in the browser and sync it back when online again? Especially for browsers on mobile devices.

Perhaps something along the lines of this article could be feasible? https://medium.com/swlh/how-to-make-your-web-apps-work-offline-be6f27dd28e

Hopefully not too stupid of a question; I didn't look into memcode's architecture.

lakesare commented 2 years ago

Hi, Wehzie! I very much agree we want the offline Memcode, and I already took some steps towards converting memcode into a full-fledged PWA (as described in the article you attached).

However, enabling the offline mode should take at least a week of time, and I can't afford it at the moment. Anyone is welcome to take this on though!