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

Support Unhosted protocols #8

Closed rk closed 10 years ago

rk commented 10 years ago

This is just a feature request. Dropbox support is nice, but I'd much rather have support for Unhosted. It won't necessarily be easy to implement, but I think the effort would be well worth it. Then the storage backend would be nearly implementation agnostic, and wouldn't care about where the data was hosted.

wwebfor commented 10 years ago

OK, definition of Unhosted:

Also known as "serverless", "client-side", or "static" web apps, unhosted web apps do not send your user data to their server. Either you connect your own server at runtime, or your data stays within the browser.

But Laverna webapp already is static and doesn't send user's data to our servers, also your data for default stays within the browser.

rk commented 10 years ago

I should've been clearer, sorry.

I'd like eventual support for Unhosted's remoteStorage protocols. This would allow for the same location-independent functionality I described above.

wwwredfish commented 10 years ago

Okay. We're on it.

andtheWings commented 10 years ago

I just want to agree with rk that I think it makes sense to support remoteStorage protocols. It may be more work up front, but in the long-term I think it will let you focus more on the core app rather than trying to accommodate each and every request from users for support of their fill-in-the-blank favorite cloud-storage services. Perhaps the only exceptions would be Dropbox (which you've already done) and Google Drive, for which you might want to support direct interaction with their respective APIs.

wwebfor commented 10 years ago

I think it's ready.

andtheWings commented 10 years ago

@rk I signed up for a remoteStorage commercially hosted account. In the getting started section, it says you should look for the "Connect remote storage" widget. Is there another way to hook up remoteStorage to the app?

rk commented 10 years ago

@andtheWings Whenever the Laverna.cc site has an updated build, you should see the widget. I haven't had time to play with it yet.

@wwebfor I think that was record time. :smile: Thanks, and that's pretty sweet.