this post was submitted on 15 Mar 2024
26 points (93.3% liked)

Selfhosted

40006 readers
575 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've been using Google for the last decade and am owly moving away from it.

I'm on Fastmail (FM) right now. While I love their mailservice, the calendar and contacts integration is okey-ish, compared to Google.

Right now, my contacts are scattered across these services. New contacts that I add on my Android phone, are obviously not available on FM, and vice versa.

Therefore I'd like to setup a self hosted solution to manage contacts/calendars on a centralized place.

But right now, I can't seem to wrap my head around this topic. I often see caldav/cardav mentioned, but don't know how exactly they are related.

FYI: I'm a software developer, and I already host a bunch of services behind a reverse proxy.

Example scenarios:

  • Install a full-featured calendar app (mobile, desktop, web) -> connect to my service
  • Someone sends me a calendar invite to FM -> sync to my service
  • I add a new contact on my Android phone -> sync to my service (make it visible in FM)
  • I add a new contact in FM -> sync to my service
  • I send a new calendar invite via FM -> sync to my service
  • Bonus I send a new calendar invite via App, and it get's sent via FM to the recepients.

So my question is what self-hosted solutions (besides Nextclowd) are out there that would allow me to accomplish that?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 7 months ago (3 children)

Fastmail looks like they have CalDAV and CardDAV support (https://www.fastmail.help/hc/en-us/articles/1500000278342-Server-names-and-ports). If you actually want to use their contacts and calendar, why do you want to host another yourself? Two-way sync sounds like a pain.

You just need to connect your devices to it. Unfortunately Google thinks PIM sync is not worthwhile to have on Android unless you use their service, so you'll need some extra apps. I used DAVx5 (it's free if you get it from F-Droid), Tasks.org and OneCalendar in the past for this.

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago)

This is what I do. DAVx5 works well as long as you're ok withiut realtime sync (you can pick how fast you want it). I would love to see Fastmail build the support I to their own app but that's not where we're at.

[–] [email protected] 1 points 7 months ago (1 children)

Aaah... I think I got it now.

Caldav/cardav are the standard protocols used in this case. So every sane provider uses them. Davx5 creates a local account and interacts with the android apps (like google calendar) by pulling/pushing new events from and to the server respectively.

So, I can keep using google calendar, with my FM account instead of google 👍 noice!

[–] [email protected] 1 points 7 months ago

Right, exactly.

[–] [email protected] 1 points 7 months ago

Thx for the info, didn't know DAVx5 was free on f-droid.

why do you want to host another

That's the thing, that I don't really understand. I thought I could host a centralized caldav/cardav server, and link all the other services that have their own "implementation" of contacts/calendars. This way, if I move away from Fastmail, I could just link another mail provider, that offers their calendars/contacts.

Sorry if my questions sound dumb or newbish.