Sign inSign up

frew/goobook

By frew

•Updated almost 11 years ago

Search your google contacts from the command-line or mutt.

Image
0

902

frew/goobook repository overview

⁠GooBook Container

⁠Usage

touch ~/.goobook_auth.json

docker run -it --rm                                 \
  --volume ~/.goobook_auth.json:/.goobook_auth.json \
  --volume ~/.goobook_cache:/.goobook_cache         \
  --user $(id -u)                                   \
  frew/goobook                                      \
  authenticate --noauth_local_webserver

docker run -it --rm                                 \
  --volume ~/.goobook_auth.json:/.goobook_auth.json \
  --volume ~/.goobook_cache:/.goobook_cache         \
  --user $(id -u)                                   \
  frew/goobook                                      \
  query mom

⁠Description

If you use mutt or maybe just like using the commandline in general and use Google Contacts, you may like goobook⁠.

⁠Volumes

There is one absolutely required volume and one recommended volumes you should set up to use this:

  1. /.goobook_auth.json - this is the file containing your username and password. required

Generate this file with the first two commands in the Usage section.

  1. /.goobook_cache - this is where the cache for the command is stored.

If you don't use this volume all of your commands will take forever.

⁠Shortcut Usage

I recommend putting the following script in your path to make usage of this container easier:

#!/bin/dash

exec docker run -it --rm                            \
  --volume ~/.goobook_auth.json:/.goobook_auth.json \
  --volume ~/.goobook_cache:/.goobook_cache         \
  --user $(id -u)                                   \
  frew/goobook                                      \
  "$@"

Tag summary

Content type

Image

Digest

sha256:5c4fa2d7b…

Size

15.7 MB

Last updated

almost 11 years ago

docker pull frew/goobook