I’m rather thinking of writing a scheduled Python script to sync Vikunja task’s with start/due dates as Nextcloud Caldav events.
Maybe there’s going to be a way to add it as a Nextcloud app?
Each Vikunja time entry (start, end, or due date) corresponds to a Nextcloud calendar event with a unique UID format: vikunja-{task_id}-{date_type}. The script ensures:
Sync: Creates or updates Nextcloud events when a Vikunja task has a date.
Deletion: Deletes Nextcloud events if the corresponding Vikunja date is missing.
Event Absence: If a Nextcloud event is missing, it’s marked as deleted in the sync log.
Task Deletion: Removes associated Nextcloud events when a Vikunja task is deleted.
This ensures a consistent, bidirectional sync between Vikunja tasks and Nextcloud events.