talira

Google Calendar Command Line Interface

open sourceMITself-hostablefree

gcalcli is a command-line client for Google Calendar, written in Python on the Calendar API v3. It prints agendas for a date range and weekly or monthly calendar grids in colour, searches events and finds conflicts, quick-adds events from a sentence or adds them with full details, edits and deletes them interactively, and imports ICS or vCal files, including invites from Exchange. The remind command runs a command such as notify-send for upcoming events when called from cron. You sign in with OAuth using your own Google Cloud project's client ID. It's MIT licensed and installs from PyPI, Homebrew, Debian and Ubuntu, Void Linux and Nix.

Problems it solves

  • check today's Google Calendar agenda from the terminal
  • add an event to my Google Calendar without opening the browser
  • show my week's meetings as a calendar grid in the terminal
  • import an .ics invite from Outlook into my Google Calendar from the command line
  • get a desktop notification before each meeting from a cron job
  • script my Google Calendar from shell scripts
  • find conflicting events in my calendar

Features

  • agenda for a date range
  • weekly and monthly calendar grids (calw, calm)
  • search events and find conflicts
  • quick add from a sentence and detailed add
  • interactive edit and delete
  • ICS and vCal import, including Exchange invites
  • remind command for upcoming events
  • coloured output and shell completion
  • config and flag files
  • filter calendars by name with regular expressions

Limitations

  • Needs your own Google Cloud OAuth client ID: it has no shared API token1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what gcalcli does.

  1. khal Standards-based CLI and terminal calendar that syncs with CalDAV through vdirsyncer

Compare gcalcli with the top 3