Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alicewriteswrongs/supcontacts.py
A script to edit the output of the Googlecl contacts program for use with the sup mua.
https://github.com/alicewriteswrongs/supcontacts.py
Last synced: about 1 month ago
JSON representation
A script to edit the output of the Googlecl contacts program for use with the sup mua.
- Host: GitHub
- URL: https://github.com/alicewriteswrongs/supcontacts.py
- Owner: alicewriteswrongs
- License: gpl-3.0
- Created: 2014-10-17T00:28:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-04T20:22:16.000Z (almost 10 years ago)
- Last Synced: 2024-10-08T01:41:27.076Z (4 months ago)
- Language: Python
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Sup Addressbook
Getting the sup addressbook to work correctly proved a bit difficult.
I wanted to make my google email contacts available when composing a
mail from sup.So, I wrote a python script which takes the output of:
google contacts list --fields=name,email > sup_contacts.txtAnd properly formats it, so that in sup all addresses and names in
your google contacts will autocomplete when starting a new mail.Usage is:
./getContacts.sh
python supContacts.py sup_contactswhere, as above, `sup_contacts` is the output of the [googlecl](https://code.google.com/p/googlecl/) contact
utility (`getContacts.sh` runs the necessary command). It will save a file `contacts.txt` which you can copy to your
`.sup` directory.Note: [googlecl](https://code.google.com/p/googlecl/) is kind of strange,
if you are sending the stdout
to a file (as above) you need to hit enter once more after executing
the command, it is waiting on some input (Please specify title) and
will not start printing contacts until you do so.Happy supping!