Sign inSign up

pbrisbin/google-contacts

By pbrisbin

•Updated about 11 years ago

Query Google contacts from Mutt

Image
1

987

pbrisbin/google-contacts repository overview

⁠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 [email protected]

Note: multiple emails may be passed at once.

⁠Usage

docker run --rm --volumes-from gc-config \
  pbrisbin/google-contacts mutt-query [email protected] query

⁠Configuring Mutt

set query_command = "docker run ... [email protected] '%s'"

Tag summary

Content type

Image

Digest

sha256:fe22f8741…

Size

222.2 MB

Last updated

about 11 years ago

docker pull pbrisbin/google-contacts