I tried really hard to find an existing one, but I'd be interested to hear if I messed up and accidentally reinvented the wheel.
I tried really hard to find an existing one, but I'd be interested to hear if I messed up and accidentally reinvented the wheel.
One thing that might be nice would be an abook to ppl exporter. abook saves its information in a flat file at ~/.abook/addressbook with items like the following:
# abook addressbook file
[format]
program=abook
version=0.5.6
[0]
name=Someone Somewhere
email=someone.somewhere@gmail.com
[1]
name=Another Person
email=another_person@yahoo.com
nick=Another
[3]
name=Detailed Somebody
email=somebody@details.org
address=2222 Main Street
city=New Somewhere
state=NY
zip=10011
phone=212-111-1111
nick=person
notes=Birthday May 14th
It shouldn't be too hard to convert that, but I'm not sure (yet) about how you're storing information. (You mention vcard, but I'm not familiar with the details of that.)Great work!
You're right that an exporter shouldn't be hard to build. Might get on that once some bugs and other features are out of the way!
http://blog.karssen.org/2010/05/24/script-that-converts-a-sq...
Reminds me of when I built Logbook - store notes on Gists from CLI. The mindset is amazingly the same :) Though I offloaded most of the CLI processing to Thor, and didn't build Command/CLI abstraction into it.
You might even find it useful: https://github.com/jondot/logbook
I don't know, all I can say is you have excellent taste! :)
The semantics of contact data exposed via the Contacts API is supposed to be quite close to vcard, which would make pushing data from Google Contacts to your Git vcard repository reasonably easy, but the other way could be hairy.