Today's Deep-Dive: DAViCal
Ep. 346

Today's Deep-Dive: DAViCal

Episode description

In this episode of The Deep Dive, we explore how dependent our daily lives have become on digital calendars—and what it really means to rely on big tech platforms to manage something as essential as our time.

The focus is on DAViCal, an open-source calendar server that implements the CalDAV protocol. At its core, DAViCal acts as a self-hosted cloud for calendar data. Instead of locking users into proprietary ecosystems, it relies on open standards that ensure interoperability across a wide range of applications—including Mozilla Calendar, Evolution, Apple Calendar (iCal), and iOS.

The episode breaks down two key standards:

  • CalDAV – the communication protocol (like a rulebook) that allows calendar apps to talk to a server.
  • iCalendar – the standardized data format (like a note card) used to store events and tasks.

This combination guarantees compatibility and freedom from vendor lock-in.

A major theme of the discussion is digital sovereignty. DAViCal is licensed under the GPL (General Public License), meaning users are free to use, study, modify, and share the software. This ensures transparency, long-term sustainability, and full control over sensitive calendar data.

The episode also highlights enterprise-level features that make DAViCal comparable to Microsoft Exchange or Google Workspace:

  • Granular delegation of access – allowing assistants or team members to manage schedules without sharing passwords.
  • Free/busy scheduling – enabling automatic availability checks for efficient meeting planning.

From a technical standpoint, DAViCal requires:

  • A PostgreSQL database (for robust, enterprise-grade data handling)
  • A PHP-capable web server (to process requests and interact with the database)

The developers recommend running it on open-source operating systems like Linux or FreeBSD, noting that such infrastructure performs best in open environments.

Beyond the software itself, the episode emphasizes the strength of its community-driven model. Contributions go far beyond coding—documentation, translations, user support, and feature design are all essential. This reflects the broader philosophy behind the project: open collaboration over corporate control.

The episode concludes by zooming out to a bigger question: If you can reclaim control over your calendar through open standards like CalDAV, what about other parts of your digital life—such as contacts (CardDAV) or email?

Ultimately, DAViCal represents more than just a tool. It embodies a commitment to digital independence, interoperability, and long-term ownership of your own data.

Gain digital sovereignty now and save costs

Let’s have a look at your digital challenges together. What tools are you currently using? Are your processes optimal? How is the state of backups and security updates?

Digital Souvereignty is easily achived with Open Source software (which usually cost way less, too). Our division Safeserver offers hosting, operation and maintenance for countless Free and Open Source tools.

Try it now!

Download transcript (.srt)
0:00

Welcome to the Deep Dive.

0:01

So we all pretty much live our lives

0:04

by the digital calendar, right?

0:05

I mean, it's the foundation for everything.

0:08

It really is professional, personal, it's all in there.

0:10

But the thing is, when we rely on the huge apps

0:13

from the big tech companies,

0:15

we're kind of surrendering control.

0:17

You get locked into one ecosystem.

0:19

And what happens when you need something

0:21

that just works everywhere with everything?

0:25

Exactly, something that respects open standards

0:28

and gives you back the keys to your own schedule.

0:30

And that's precisely our mission today.

0:32

We're gonna find that open source backbone

0:34

for time management.

0:36

Our sources are all focused on a tool called Davial.

0:39

Davial. Yeah.

0:40

It's a calendar server that implements something called

0:42

the CalVive protocol.

0:44

And look, if you're new to server tech, don't worry,

0:47

we're gonna unpack what all this means, why it matters,

0:49

and well, what kind of power you actually get

0:51

by hosting your own system.

0:52

And before we jump into all that,

0:54

we do want to acknowledge the supporter of this deep dive,

0:57

Safe Server.

0:58

Safe Server handles the hosting of this software

1:00

and supports you in your digital transformation.

1:03

You can find more information at www.safe-server.de.

1:07

Okay, so let's unpack this.

1:08

We're diving into Davicals.

1:10

If someone is completely new to this world, what?

1:13

What is this tool?

1:14

At its core, Davical is a dedicated server

1:18

just for calendar sharing.

1:20

Think of it like your own private self-hosted cloud

1:23

for all your events.

1:25

But the real magic isn't the software itself.

1:28

It's the fact that it speaks a standardized language

1:30

that almost every calendar app in the world already understands.

1:33

And that language is CalDev-y.

1:35

CalDev, so that's the key to breaking

1:37

that proprietary, that lock-in.

1:39

Exactly.

1:40

That's the coup.

1:41

So for someone who doesn't speak fluent server,

1:43

how do we visualize CalDev?

1:45

And I see its sibling, iCalendar, mentioned here too.

1:48

Right, okay, so think of CalDev as the protocol.

1:50

It's like the official rule book.

1:52

Rule book, I like that.

1:53

Yeah, it's the standard set of instructions

1:54

that tells your calendar app,

1:56

whether you're using Apple's Calendar,

1:58

Evolution on Linux, whatever,

1:59

how to talk to the server and share data reliably.

2:02

And iCalendar, what's its role?

2:04

iCalendar is the standardized data format.

2:06

So if CalDev is the rule book for how to file things,

2:10

iCalendar is the standardized note card

2:12

you write the information on.

2:13

Ah, I see.

2:14

Every event, every task is written

2:16

on one of these standard note cards.

2:19

That way, CalDev knows exactly how to file it

2:21

and retrieve it,

2:22

and any app can read it without confusion.

2:24

And this is where it gets really interesting,

2:26

because that standardization,

2:27

that's what guarantees interoperability.

2:29

Exactly.

2:30

The sources list an amazing variety of clients it supports,

2:33

Mozilla Calendar, Evolution.

2:35

But also, and this is important,

2:37

closed source products like Apple's iCal and even iOS.

2:41

Yes, the whole point is that they are committed

2:43

to supporting the widest possible

2:45

CalDev client software.

2:47

Devco wasn't built to be another proprietary system,

2:50

it was built to implement the open consensus standard

2:52

better than anyone else.

2:54

And it does all this as free software,

2:55

licensed under the GPL.

2:57

We hear that acronym a lot, GPL.

2:59

For our listener, why is that specific license

3:02

so important here?

3:03

It's vital.

3:04

GPL means it's not just free as in price,

3:07

it's free as in liberty.

3:09

You have the freedom to use it, to study how it works,

3:12

you can even modify it for your own needs,

3:14

and then share those changes.

3:16

So it's about transparency and control.

3:18

Totally.

3:19

When you're talking about something as core

3:21

as your calendar, that level of control is, well,

3:26

it's a hair amount for security and just knowing

3:28

it'll be around for the long term.

3:29

That immediately gets around all the privacy worries that

3:32

come with the big tech platform.

3:34

Yeah.

3:34

OK, let's get into the features.

3:36

What makes this an enterprise level tool?

3:39

There are two headline features that really elevate it.

3:41

They make it comparable to Microsoft Exchange or Google

3:44

Workspace.

3:45

OK, what's the first one?

3:46

Delegation of access.

3:48

This is the ability to grant really specific read

3:50

and write access to other people without sharing

3:53

your main password.

3:54

So like an executive assistant could manage your schedule?

3:57

Exactly.

3:57

They can see your general availability in book meetings,

4:00

but they never have to see private appointments

4:02

unless you explicitly grant them that access.

4:04

It's that level of granular control.

4:06

That's a huge deal.

4:07

You're not just sharing a link.

4:09

You're granting specific administrative rights.

4:12

OK, what's the second killer feature?

4:15

The ability to schedule meetings and automatically see

4:18

everyone's free and busy time.

4:20

Ah, the holy grail of office logistics.

4:22

Right, it's so critical.

4:24

The CalDev protocol just handles it.

4:26

It checks across all the users on the server,

4:28

gets their availability instantly,

4:30

and shows it to you.

4:31

No more guessing games.

4:33

You get that professional utility

4:34

without the massive licensing fees.

4:37

So if someone is listening and is convinced,

4:39

what are the technical requirements?

4:41

What do you need to actually run this?

4:43

You basically need two main components on your server.

4:46

First, you need a PostgreSQL database server.

4:48

PostgreSQL specifically, why not something more common maybe?

4:52

Well, this choice really speaks to the reliability needed.

4:55

All that calendar data, the events, the delegation rules,

4:58

the access controls, it's highly structured.

5:01

PostgreSQL is, well, it's an enterprise-grade database.

5:05

It's known for being super robust.

5:07

So it's a vault.

5:08

It's a solid digital vault, yeah.

5:10

It handles all that complexity really well, which is essential.

5:12

And the second component.

5:13

A web server that can run PHP, specifically version 5 or higher.

5:18

PHP is the go-between.

5:20

You got it.

5:21

It's the scripting layer that processes all the instructions coming

5:24

from your calendar apps and talks to the PostgreSQL database.

5:27

The source has mentioned that the configuration can look intimidating

5:30

on the Wiki, but that it's often simpler than it seems.

5:33

That's a great point.

5:34

I mean, it's built to be configurable for huge, complex companies.

5:38

But for a person or a small team, the configuration

5:41

will usually need very few of those advanced settings.

5:45

The default is pretty solid.

5:46

I love this next detail because it gives us a peek

5:49

into the developers' philosophy, their preference for operating systems.

5:52

Oh, yeah.

5:53

They don't hold back, do they?

5:55

Not at all.

5:56

It says you can run it on Linux, FreeBSD, Mac OS X.

6:00

But then there's this very pointed warning about Microsoft Windows.

6:03

They're pretty explicit.

6:04

They use Debian Genial Linux themselves.

6:06

And they say, quote, we definitely do not recommend using Windows for this

6:11

unless you are completely hobbled by silly internal IT policies

6:14

and have to do so.

6:15

And look, it's not just them being snarky.

6:18

It's a bit philosophical, sure, but it's also very practical.

6:21

Oh, so.

6:22

This kind of open source infrastructure just

6:24

it thrives in a native open source environment like Linux.

6:28

Trying to shoehorn it onto a proprietary OS

6:31

often just creates headaches that defeat the whole purpose

6:34

of simple, reliable self-hosting.

6:36

Use the right tool for the job.

6:38

Exactly.

6:38

OK, so before Kaldav was the standard, there was WebDV.

6:42

Does DavidGal still have any connection to that older protocol?

6:46

It does for backward compatibility.

6:48

You can set up access via WebDV, but the sources

6:51

are very clear that this is not recommended.

6:54

Why not?

6:54

It's kind of like having a fax machine hooked up

6:56

to your email.

6:57

I mean, it works for legacy stuff,

6:58

but you wouldn't use it for modern communication.

7:00

Kaldav is just so much better optimized for calendar data.

7:03

That makes sense.

7:04

Let's shift from the code to the community.

7:06

The project was started by Andrew McMillan, but in 2014,

7:10

it moved to a full community support model.

7:12

And what's so fascinating there is just how broad

7:14

the definition of contribution is.

7:16

It shows you how mature the project is.

7:19

A healthy open source project needs so much more

7:21

than just coders.

7:23

So if a listener is inspired by this but isn't a Python guru,

7:26

how can they practically help out a project like Davical?

7:30

The sources have a wonderful list.

7:32

Honestly, one of the most valuable things

7:33

is writing and refining documentation.

7:36

A great guide is often more important

7:38

than a perfect piece of code for getting people to use it.

7:40

And just helping other people out on the mailing list

7:43

or on IRC.

7:44

Absolutely.

7:45

The IRC channel that's hashtag Davical on IRC.aftc.net

7:50

is a great place to start.

7:52

Or translating the interface into another language,

7:55

that's a huge contribution.

7:56

And they even invite people to help design future

7:58

functionality.

7:59

It's not just about maintenance.

8:01

It's an invitation to actually shape

8:02

the future of this thing.

8:03

It really is a fantastic example of a community driven project

8:07

that provides real enterprise grade value without the cost

8:10

or the vendor lock in.

8:12

The cost is just effort and attention.

8:13

But the payoff is, well, it's complete control.

8:17

Precisely.

8:18

You're not just downloading software.

8:19

You're engaging with a philosophy

8:21

of digital sovereignty.

8:23

Which brings us to the end of this deep dive.

8:25

We've navigated Davical.

8:27

We've defined CallDave and iCalendar.

8:30

And we understand why Postgresql and the GPL license

8:33

are so foundational.

8:35

You should now have the basic knowledge

8:39

to understand and maybe even take control

8:42

of your own calendar infrastructure.

8:44

And to connect that to the bigger picture for you,

8:46

the listener, if CallDave lets you own your schedule,

8:49

it makes you ask a question, doesn't it?

8:51

What about the other parts of your digital life?

8:53

Like contacts.

8:54

Exactly.

8:55

Contacts, which is often handled

8:56

by a similar protocol called Cardavy.

8:58

And of course, email.

8:59

Understanding these underlying standards,

9:01

that's really the first step toward true digital

9:04

transformation.

9:05

It ensures no tech giant can ever

9:06

hold your schedule or your network hostage.

9:08

An excellent point.

9:09

If you're ready to take that next step,

9:10

you can find all the details on the Devical installation

9:13

page and their wiki.

9:15

Thank you for joining us on this deep dive.

9:18

And a final thank you to our supporter, SafeServer.

9:21

SafeServer handles the hosting of the software

9:23

You can find more info at www.safeserver.de.

9:23

You can find more info at www.safeserver.de.