Public Repository

Last pushed: 2 years ago
Short Description
Query Google contacts from Mutt
Full Description

Google Contacts

Present here is a (limited) Google Contacts API client library, an executable
that uses that library to query contacts from within Mutt.

OAuth Setup

  • Register a project in Google's API Console
  • Enable the Contacts API for the project
  • Create OAuth2 credentials for the project
  • Note your Client ID and Secret

Setup

docker run --name gc-config -it \
  -e GOOGLE_OAUTH_CLIENT_ID=... \
  -e GOOGLE_OAUTH_CLIENT_SECRET=... \
  pbrisbin/google-contacts config you@gmail.com

Note: multiple emails may be passed at once.

Usage

docker run --rm --volumes-from gc-config \
  pbrisbin/google-contacts mutt-query you@gmail.com query

Configuring Mutt

set query_command = "docker run ... you@gmail.com '%s'"
Docker Pull Command
Owner
pbrisbin