ContactSync is a small nodeJS application which downloads the contacts from a CardDAV-Server and writes them to a file.
I'm using this tool to sync my online Contacts to my Phoner(Lite) installation.
- Close Phoner(Lite)! This is important, because the
phonebook.csv
is written on close and would override your freshly synced contacts. - Add the environment variables
- Run
node ./index.js
- Start Phoner(Lite) again.
Name | Description |
---|---|
CARDDAV_URL | The URL to your cardDAV server |
CARDDAV_USER | The username to login to cardDAV server |
CARDDAV_PASS | The password to login to cardDav server |
PHONEBOOK_LOC | The path to the destination file: e.g. <phoner>/phonebook.csv |
You may set those values in a .env
file.