Sync an iCal/ICS calendar file into a DecSync CC directory, so it can be picked up by calendar apps that support DecSync (e.g. Etar, DAVx⁵ with DecSync).
- Python 3.8+
libdecsync(native library for DecSync)
Install Python dependencies:
pip install -r requirements.txtpython main.py <ics_file> \
--decsync-cc-dir <path_to_decsync_dir> \
--decsync-collection <calendar_name> \
--decsync-cc-app-id <app_id> \
[--default-alarm-minutes <minutes>]Arguments:
| Argument | Default | Description |
|---|---|---|
ics_file |
— | Path to the .ics file to import |
--decsync-cc-dir |
— | Path to the DecSync CC directory |
--decsync-collection |
— | Name of the target calendar collection |
--decsync-cc-app-id |
— | App ID to identify this sync client |
--default-alarm-minutes |
15 |
Default reminder added to events without an alarm |