Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self hosted StackEdit that operates on local files? #192

Closed
GregPK opened this issue Nov 21, 2013 · 7 comments
Closed

Self hosted StackEdit that operates on local files? #192

GregPK opened this issue Nov 21, 2013 · 7 comments

Comments

@GregPK
Copy link

GregPK commented Nov 21, 2013

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!

@benweet
Copy link
Owner

benweet commented Nov 21, 2013

That isn't possible in a browser. However, there is an open request regarding support for owncloud (import/export/synchronization): #122

@GregPK
Copy link
Author

GregPK commented Nov 21, 2013

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...

@benweet
Copy link
Owner

benweet commented Nov 21, 2013

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.

@GregPK
Copy link
Author

GregPK commented Nov 22, 2013

That's what I thought :). Having my curiosity satisfied, I'll close the issue. Thanks for the information.

@GregPK GregPK closed this as completed Nov 22, 2013
@stefnotch
Copy link

stefnotch commented Apr 25, 2018

@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.

@gliviu
Copy link

gliviu commented Dec 8, 2019

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/

@schlichtanders
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants