Closed GregPK closed 11 years ago
That isn't possible in a browser. However, there is an open request regarding support for owncloud (import/export/synchronization): #122
Hah! My bad - I saw the fileMgr
in the developer section and assumed it was a server-side node component rather that a client side localStorage wrapper.
Just for the record - am I right to imagine that in a self-hosted version one could write such a module? Only it would probably kind of not be in the spirit of StackEdit...
In fact you can implement a synchronization provider in StackEdit that connects to a local service. But you will have to implement download, upload, check changes, and optionally html file chooser... things that are implemented by Google Drive and Dropbox.
That's what I thought :). Having my curiosity satisfied, I'll close the issue. Thanks for the information.
@benweet How would one implement a custom WebDAV synchronization provider? Is implementing a custom provider and adding it to syncSvc.js enough? I assume that it's not, since CouchDB's provider and stuff involves more code than that.
The new Native File System proposal looks to be a good fit for this request. Currently supported on Chrome, it allows transparent synchronization with local files. Blog: https://web.dev/native-file-system/ Specs: https://wicg.github.io/native-file-system/ Sample: https://googlechromelabs.github.io/text-editor/
The new Native File System proposal looks to be a good fit for this request. Currently supported on Chrome, it allows transparent synchronization with local files. Blog: https://web.dev/native-file-system/ Specs: https://wicg.github.io/native-file-system/ Sample: https://googlechromelabs.github.io/text-editor/
That sounds like a perfect addition to StackEdit. @gliviu would you mind opening a new more concrete issue which asks for support for such native file system in chrome?
Would it be hard to setup StackEdit to work only on the files on the machine that it's been installed?
The use case is that I have a private server to which I want to have access from various places, without the use it third party services like Google or Dropbox.
So basically instead of choosing files to sync from external services, they would be chosen from the hard drive of the server.
PS. Great job on StackEdit!