ical-to-gcal
v1.0.2
Published
Sync iCal to Google Calendar
Downloads
11
Readme
ical-to-gcal
Sync iCal to Google Calendar
Prerequisites
Google Calendar API
Create a Google Calendar and set up access via the API. See Using Google Calendar API on G Suite. In summary:
- Create a Google Developers project
- Create a service account, download credentials as JSON
- Allow outsiders to change secondary calendars
- Share the calendar with the service account
- Make a note of the calendar's ID
Environment
The following env vars are required:
GOOGLE_CALENDAR_ID
GOOGLE_APPLICATION_CREDENTIALS_BASE64
ICAL_URL
Set GOOGLE_APPLICATION_CREDENTIALS_BASE64
via:
echo GOOGLE_APPLICATION_CREDENTIALS_BASE64=$(jq -c '.' /path/to/creds.json | base64) >> .env
Usage
ical-to-gcal
Author
© 2018-2019 Tom Vincent [email protected] (https://tlvince.com)
License
Released under the MIT license.