openintents / calendar-web

Private, Encrypted calendar in the cloud with Blockstack
https://cal.openintents.org
19 stars 9 forks source link

support CalDAV protocol #108

Open mikestaub opened 4 years ago

mikestaub commented 4 years ago

This will allow for maximum operability, can probably use: https://github.com/lambdabaa/dav

friedger commented 4 years ago

I thought about this a lot but I don't see hwo this would work. The gaia protocol does not support caldav. Therefore, you need a layer on top and install it on your own server. But then you are just a caldav server.

What do you think how caldav can help the app? The app is a calendar client. If you want a client for a caldav server then you can use any other server. Maybe we need some kind of plug-in for a caldav server that can sync with gaia. But then why not use caldav in the first place? The beauty of gaia is it simplicity of hosting.

Does it make sense? If yes, I would close this issue.

mikestaub commented 4 years ago

I agree that it would make this app much more complex but as of right now there is no decentralized calendar app that supports caldav which makes the switching cost from outlook, google, etc too high for normal users.

Here is an great example of a music streaming app that achieved the goal, though they do not support gaia storage: https://github.com/icidasset/diffuse

How hard do you think it would be to extend an existing caldev server to support gaia storage? A serverless app could be deployed along with the HTML that proxies the requests.

friedger commented 4 years ago

@mikestaub Ah, you would like to have both protocols implemented. I was only thinking of implementing one protocol that mixes both or something like that. I like that idea. However, then the app would handle your outlook, google credentials to authenticate to your caldav servers, wouldn't it?

For the server radicale has a hook that might be able to push changes to gaia storage: https://radicale.org/versioning/

mikestaub commented 4 years ago

It would, unless the private .ics link from google is updated by them ( like rss ) which I doubt is true.

I like the idea of using radicale. I asked the team at protonmail if they plan to support caldav in their new calendar feature and they said probably. I like the idea of users owning their own calendar data though.