0perationPrivacy / VoIP

Web Base Telnyx/Twilio VoIP Interface enabling SMS, MMS and Voice calls using the providers API Keys and self-hosting the application.
https://VoIP.OperationPrivacy.com
GNU General Public License v3.0
247 stars 421 forks source link

CardDAV support #15

Open ragelfundionctrumnar opened 3 years ago

ragelfundionctrumnar commented 3 years ago

I see that import/manual edit are on the roadmap.

Instead of maintaining another another contacts list, it would be great if this app could sync with an external CardDAV server. There are a couple of (seemingly) mature DAV libs for node, though I admit that I haven't gone too far down this rabbit hole...

0perationPrivacy commented 3 years ago

Great advice, I haven't researched that either. Will get into that next after fixing all the bugs and patches.

0perationPrivacy commented 3 years ago

I looked into CardDAV, it's simply a protocol for syncing the contact list with another server. Regardless of where or what that server is (gmail, outlook, etc), it syncs to LOCAL storage, which is MongoDB in this case. So either way, step 1 is to build the local table to store it manually, to retrieve it, replace it with the phone number displayed, the frontend popups, modals, alerts, errors, validations, add/delete/edit etc.

Step-2 would be to implement CardDAV as an enhancement to sync all that to some 3rd party contact handler. Manual entry/removal would still be a must. I'm working on that next couple of days, as soon as I squash some of the issues ppl are facing.

(side note: it doesn't seem like ProtonMail has CardDAV support, it would have been nice to sync it from there if anyone kept their contacts there.)

smolbytes commented 3 years ago

Just to add to this conversation, I (and likely many others in this community) host our own Nextcloud servers - private cloud either on a local LAN or self-hosted out on a VPS with a custom domain. CardDAV is an awesome way to keep contacts synced/backed up between devices, without having to rely on third parties like Google/iCloud. It would be an awesome feature to see down the road for this app if the devs have time. 👍

raymears commented 2 years ago

Thanks for your great work. Another hand up for CardDav from me.