Laverna / laverna

Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
https://laverna.cc/index.html
Mozilla Public License 2.0
9.19k stars 801 forks source link

Feature Request: WebDAV for storage #104

Open MrDrMcCoy opened 10 years ago

MrDrMcCoy commented 10 years ago

This is by far the sexiest self-hostable notes service. However, it's of little use to those of us that are trying to take our entire cloud private if it depends on Dropbox for permanent storage. Would it be possible to add support for WebDAV as a storage backend so that users of OwnCloud, Funambol, Pydio, etc. can use Laverna with our own backends?

andtheWings commented 10 years ago

@nakedhitman I agree that WebDAV support would be a nice option, however there is already the capability to self-host your storage using RemoteStorage. If you visit their webpage, they share the code for setting up a self-hosted server using a variety of different languages (node.js, C, PHP, Ruby, etc).

MrDrMcCoy commented 10 years ago

@andtheWings I actually looked at that already. While I'm more than willing to set up my own RemoteStorage server, I have been able to find exactly zero documentation on their website for setting up the server portion of the service. If you would be so kind as to point me to said documentation, I will go about my merry way and preach the good news of how to replace Evernote with a self-hosted Laverna/RemoteStorage server. Short of that, Laverna is useless to me.

andtheWings commented 10 years ago

It looks like the Node.js and C implementations have pretty good documentation on their Github readme files.

MrDrMcCoy commented 10 years ago

Digging further into their Github repos, I found they have a nicely-documented "starter kit". I will play with that tonight and report my findings.

andtheWings commented 10 years ago

@nakedhitman Is RemoteStorage an acceptable alternative to WebDav? How did your tinkering with the starter kit go?

Danie10 commented 10 years ago

Point is many of us will have something like ownCloud already. WebDAV gives the flexibility to support many of our existing cloud storage services. I would not want to create yet another storage service just for note taking.

1337sup3rh4x0r commented 10 years ago

I think actually this whole syncing data to some storage might be against the philosophy of laverna being an unhosted app. But still, considering people running laverna on an own server of any kind, saving notes to local storage would be nice, so that you can basically access your notes from anywhere.

KDocProf commented 10 years ago

+1 For WebDav.

jasonhoekstra commented 9 years ago

+1 for WebDAV to be sync'ed with ownCloud

uda commented 9 years ago

+1 For general WebDAV. Although remoteStorage support exists at some degree, most hosting and self-hosting services support only WebDAV.

gnotaras commented 9 years ago

+1 for Webdav.

dedeibel commented 9 years ago

cool UI, +1 for webdav

darkphase commented 8 years ago

+1 webdav... we should't (ever) fiddle with the storage over HTTP...

With those projects, DAV shouldn't be too much problem https://github.com/aslakhellesoy/webdavjs https://github.com/sara-nl/js-webdav-client https://github.com/mikedeboer/jsDAV

RemoteStorage C implementation (why do we need run another http server?) stores data on people's home directories.

PHP implementation uses your own http server but needed rewrite rules (only for apache as far as I see), and a separate webfinger implementation.

stativ commented 8 years ago

I wanted to implement it on my own, but I gave up because soon I grew convinced JavaScript is a terrible language and I want to keep my sanity a little longer.

Anyway, here are some of my findings, hopefully they will help someone implement this functionality:

jancborchardt commented 7 years ago

Ah, just saw this comment! :) This library by @perry-mitchell must be what they did to integrate Nextcloud and Buttercup as I mentioned in https://github.com/Laverna/laverna/issues/635 cc @sallar @brantje

@wwebfor @wwwredfish let us know how we could help that Laverna can use Nextcloud as sync server. :)

sallar commented 7 years ago

Hi! We are using our own modules (open source) for integrating WebDAV: https://github.com/perry-mitchell/webdav-fs + https://github.com/sallar/dropbox-fs + https://github.com/perry-mitchell/any-fs built for this purpose in https://github.com/buttercup/buttercup :) Let me know if we can help

jancborchardt commented 6 years ago

There’s also now a great blog by @perry-mitchell on how to Connect your web app to Nextcloud with WebDAV-fs. :)

funilrys commented 6 years ago

Hello there, Please report to https://github.com/Laverna/laverna/issues/971#issuecomment-411423965 which explain the state of this project.

Have a nice day/night, Cheers, Nissar