/caldav-to-ics-server

A Python Flask Server Reading CalDAV and Return ICS

Primary LanguagePythonMIT LicenseMIT

caldav-to-ics-server

Archived since Google Calendar subscription often fails. Davx5 can sync CalDAV to Android local calendar.

Convert CalDAV to ics file.

You can deploy on your server so that Google Calendar can subscribe it.

Usage

  1. install Python 3 requirements.
pip install -r requirements.txt
  1. Fill in config.json with your CalDAV URL, username and password.
{
  "url": "http://caldav.example.com",
  "username": "username",
  "password": "password"
}
  1. Run
python3 main.py
  1. Open http://localhost:45000/caldav.ics in your browser.

License

MIT