pascalw / calendar-up-next

Command line tool to print upcoming Google Calendar events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calendar-up-next

calendar-up-next is a small utility that prints upcoming (within 15 minutes) meetings in my Google Calendar. I use it as a learning project for Haskell.

It's used in combination with BetterTouchTool and looks like this:

Calendar up next in Touch bar

To use it with your Google account follow these steps:

  1. Create a Google service account in the Google API console.
  2. Share the calendar you want to query with the email address of the service account.
  3. Call the calendar-up-next binary with the following parameters:
$ calendar-up-next \
  --calendar-account <your calendar email here> \
  --service-account <service account email here> \
  --service-account-key-path /path/to/auth.pem

About

Command line tool to print upcoming Google Calendar events

License:MIT License


Languages

Language:Haskell 91.2%Language:Shell 8.8%