ical-to-gcal

1.0.2 • Public • Published

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:

  1. Create a Google Developers project
  2. Create a service account, download credentials as JSON
  3. Allow outsiders to change secondary calendars
  4. Share the calendar with the service account
  5. 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 git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i ical-to-gcal

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

8.9 kB

Total Files

5

Last publish

Collaborators

  • tlvince