Setup your own calendar and address book DAV server
Last update
2021-03-29
2021-03-29
«Google opt out, WebDAV, CalDAV/CardDAV»
install the server and move data
install baikal (PHP+sqlite/mysql)
1 2 3 4
unzip baikal-*.zip mkdir -p baikal/Specific/db chown -R nginx:www-data baikal/ find baikal/ -mindepth 1 -type d -exec chmod 775 "{}" \;
run it on nginx/apache + php-fpm via https
point the browser to your new server and complete the initial setup
add a user and his calendars
copy calendar and address book data
- google calendar > export existing calendar to
ics
file - android > address book app > export to
vcf
file - thunderbird > calendar > add new > from internet > DAV > enter username and
https://domain.ext/davp.php
- thunderbird > calendar > import (from
ics
file to the new calendar) - android > install DAVx5 app via F-Droid, add your DAV account, check all desired items: this creates new accounts for calendar and address book
- android > calendar app > select the new DAVx5 calendar
- android > address book app > select the new DAVx5 account > settings > import > select the
vcf
file
tips
export all data to a single file
Just append ?export
to the user calendar/addressbook url:
quickly generare an ID for a calendar
1 | dd if=/dev/random count=1 bs=1M status=none | md5sum |
share a calendar with another baikal user
See this post:
- open calendar url: https://domain.ext/dav.php/addressbooks/
/ / - at the section
Share this resource
insertmailto:baikal_user_email
web UI
infcloud is a very nice cal&card html5+jquery client, use /dav.php/principals/
as the base url
calendari
- https://www.thunderbird.net/en-US/calendar/holidays/#I
- https://www.webcal.guru/it-IT/lista_eventi?calendar_id=holidays
- https://www.webcal.guru/it-IT/lista_eventi?calendar_id=holidays_good_to_know
See also: Dockerfile sample and blog post, clients list