cdc - a CardDAV Completer
For use with aerc, mutt, etc.
Installation
Use go get bnbl.io/cdc
to install. Next, simply create a configuration file at
$XDG_CONFIG_DIR/cdc/confg
, which by default is $HOME/.config/cdc/config
.
endpoint = "https://carddav.example.com/dav/users/[email protected]/Default"
username = "[email protected]"
password-cmd = "pass [email protected]"
Usage
Search for contacts by running cdc search-term
. cdc writes results in a format
which is understood by aerc's and mutt's address book features. To configure
aerc to use cdc for completion, add the following to ~/.config/aerc/aerc.conf:
[compose]
address-book-cmd=cdc '%s'
Contributing
Patches may be set to ~benburwell/[email protected].