PWA + webdav
Table of Contents
have one issue with file system access: it does not have it. Every file can only be stored in localStorage or some indexDB. An app with persistent storage need(with history, statistics, records or notes) would require an online server. This is the solution roam research, notion and a bunch of web apps goes along with.
webdav, on the other hand, allows native-like file system access on the directory being served. One particular use case, mobile application of org-mode, have many examples of this sort, as org-mode relies heavily on PC emacs. organise , for instance provides dropbox and webdav login, where changes to file are pushed to the remote webdav/dropbox directory instantly.
This put forwards a pattern: we can plug-in webdav persistent file system into PWA as primary storage, and localStorage only as flush buffer, to have some offline storage support, while having the storage easily accessible to PC environment.
1. side note
the issue of ios’s lack of offline support is not resolved(or rather untouched)with this method