Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frioux/goobook
https://github.com/frioux/goobook
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/frioux/goobook
- Owner: frioux
- License: apache-2.0
- Created: 2015-11-01T00:17:55.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2020-06-13T18:14:05.000Z (over 4 years ago)
- Last Synced: 2024-10-22T12:00:42.331Z (2 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GooBook Container
## Usage
```
touch ~/.goobook_auth.jsondocker run -it --rm \
--volume ~/.goobook_auth.json:/.goobook_auth.json \
--volume ~/.goobook_cache:/.goobook_cache \
--user $(id -u) \
frew/goobook \
authenticate --noauth_local_webserverdocker 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](https://pypi.python.org/pypi/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.
2. `/.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/dashexec docker run -it --rm \
--volume ~/.goobook_auth.json:/.goobook_auth.json \
--volume ~/.goobook_cache:/.goobook_cache \
--user $(id -u) \
frew/goobook \
"$@"
```