|IamTheFij 4af4f84147 Add Gravatar fallback and improve logging||1 year ago|
|google_photo_to_vcard||1 year ago|
|.gitignore||1 year ago|
|Makefile||1 year ago|
|Readme.md||1 year ago|
|khard-wrapper||1 year ago|
|khard.conf||1 year ago|
|requirements.txt||1 year ago|
|vdirsyncer-wrapper||1 year ago|
|vdirsyncer.conf.example||1 year ago|
A set of scripts to download profile images from Google and write them to vcards. Useful for completing the migration from Google to Nextcloud or ownCloud.
As a fallback, if a user doesn’t have a Google profile photo, the script will check Gravatar.
To run, you first need to set up a few config files
To get people info from your Google account, you first need to create an application from the Google Cloud Console and then download your credentials.
This is the config that will allow you to sync to and from your remote VCard directory. The following instructions are for Nextcloud, but you can refer to the official documentation for more instructions.
Edit ./vdirsyncer.conf.example adding your server url, username, and password in the
[storage my_contacts_remote] section.
Once your configuration is set up, you should be able to download and add photos to all your contacts by executing:
It’s then worth taking a look and making sure that the results are as you expected. When you’re happy with them, you can push the contacts back up to your remote server by running: