Giving Up Apple Reminders: Self-Hosted Task Sync via Vikunja and CalDAV
iCloud Reminders syncs seamlessly right up until you want to touch the data yourself. CalDAV let a self-hosted task manager slot into the same native iOS experience while the REST API picked up everything CalDAV couldn't carry.
Table of contents
iCloud Reminders works. That's the annoying part. Syncing lists across an iPhone, a laptop, and whatever else is signed into the same Apple ID is genuinely seamless - right up until you want to do anything with that data yourself. There's no API you control, no way to hook it into home automation, and no way to move it off Apple's infrastructure without starting over. For a homelab where almost everything else is self-hosted, task data being the one thing permanently locked inside iCloud had started to stick out.
Picking something that still has to feel native
The constraint that actually mattered wasn't finding a good self-hosted task manager - there are plenty - it was finding one that could replace Reminders without changing how task capture actually happens day to day. Typing a to-do into a dedicated app you only remember to open once a week doesn't survive contact with real use. It had to show up as a reminders list on the phone, the same way it always had.
Vikunja fit: it's open-source, self-hostable, and ships with both a REST API and native CalDAV support out of the box. It went onto a small dedicated container with a SQLite backend - this isn't a workload that needs a separate database server, and keeping the whole thing to one file simplifies backups considerably.
The part that actually solves the problem: CalDAV
CalDAV is the whole trick. Rather than asking anyone to install a new app, you add it to iOS the same way you'd add any CalDAV account - as a server under Settings, with a URL, a username, and a password. Once it's added, Vikunja's lists show up as ordinary reminders lists in Apple's own Reminders app. Nothing about the day-to-day experience changes; the backend underneath it does.
Turning this on server-side is a single configuration flag:
service:
enablecaldav: trueThat's the entire server-side cost of native iOS integration. Everything else - task text, due dates, completion state - round-trips through the standard CalDAV protocol without any custom glue code.
Where CalDAV runs out of road
CalDAV speaks the lowest common denominator of "tasks with due dates," which is exactly what makes it compatible with Apple's own client, and exactly why it can't carry everything Vikunja actually supports. Labels, custom projects/sub-projects, saved filters, and anything Vikunja-specific beyond the base task model either don't round-trip through CalDAV at all or show up flattened into something Reminders can display but not fully represent.
For a single person managing a personal task list, that gap barely matters day to day - a flat list with due dates covers most of it. It starts to matter the moment you want to do anything programmatic with the data.
The REST API picks up the rest
Vikunja's REST API covers everything CalDAV leaves out: creating and labeling tasks, managing projects, querying and filtering programmatically. In practice this is the half that makes the migration worth it rather than just a lateral move - it's what let me wire task creation and completion into a voice-assistant automation (built on Home Assistant and a workflow engine) that Apple's own ecosystem had no equivalent hook for. CalDAV got the native phone experience; the REST API is what makes the task data actually mine to build on.
A rough edge worth flagging
One honest gap from the initial setup: the deployment doesn't yet pin a persistent JWT signing secret in its config, which means every service restart invalidates all existing sessions and API tokens at once. It's not a data-loss risk - everyone just has to log back in - but it's a sharp edge for anything depending on a long-lived API token, and it's next on the list to close before it causes a worse-timed surprise.
Was it worth leaving something that already worked?
Yes, mainly because the switch didn't actually cost the native experience it was supposed to preserve. The phone-side behavior is identical to what it replaced; what changed is that the data underneath it is now a SQLite file on a box I control, reachable over an API I can build on, instead of a black box tied to an account I don't.