linagora / twake-drive

The open-source alternative to Google Drive.
GNU Affero General Public License v3.0
44 stars 12 forks source link

Mountable Drive, local storage and synchronisation #573

Open Facyla opened 1 week ago

Facyla commented 1 week ago

Is your feature request related to a problem? Please describe. Internet access is not always given, and there are plenty situations where other means that online web browser access to access Drive files and edit them, including transportation (train, flight, boat, underground, inside some buildings), low connection zones (most places besides cities), intermittent connectivity... And also for sobriety reasons related to bandwith use, and the convenient ability to use whatever authoring tool one prefers. Plus the ability to store / backup files for offline access. And also the resilience to maintain other copies of a file than a single online version.

Describe the solution you'd like Files offline access (cf. #222 ) and synchronization, just like services like Dropbox, OwnCLoud/NextCloud or other wellknown drives provide, with selective synchronization folders.

Describe alternatives you've considered A degraded alternative would be to provide an interface that enables local access to the drive content, and mount the "Drive" as a local drive, so users can access the files in the local filesystem. Implementation of this could be WebDAV, Samba or other similar online-drive access. But it's less interesting than the ability to enable offline access and sync files.

shepilov commented 1 week ago

Hi @Facyla, sorry, I didn't get the point, what is the difference for you between "sync like Dropbox" and "mounting remote folder with WebDav" ?

Facyla commented 1 week ago

sync like dropbox keeps the files locally when connectivity is not available (so we have 2 versions, the inline one and the local one, which are synced from time to time), while webDAV is an online shared drive, that is not available if connectivity is not available (so there is only a single version of the file, which may become unavailable).

However, the "dropbox-like" behaviour can be built using based on a shared drive mount (basically i would use a scripted rsync on a shared drive to mimic the dropbox behaviour).