<commit_before>make-aliases
============

This hack exports Contacts from a CardDAV server and writes a mutt aliases
file.

To use:

echo 'machine contacts.icloud.com login <EMAIL> password <PASSWORD>' >> ~/.netrc
./make-aliases

If you have a NICKNAME in your vCards, this will become the alias. Else, the
local part of the email address is used.

CAVEATS
-------

1. This is a hack.
2. You must have curl installed.
3. Only tested with iCloud.
4. As no XML parser is used, changes in server replies will break this.
5. No dupe checking for aliases.<commit_msg>fix README syntax<commit_after>make-aliases
============

This hack exports Contacts from a CardDAV server and writes a mutt aliases
file.

To use:

    echo 'machine contacts.icloud.com login <EMAIL> password <PASSWORD>' >> ~/.netrc
    ./make-aliases

If you have a NICKNAME in your vCards, this will become the alias. Else, the
local part of the email address is used.

CAVEATS
-------

1. This is a hack.
2. You must have curl installed.
3. Only tested with iCloud.
4. As no XML parser is used, changes in server replies will break this.
5. No dupe checking for aliases.
{'fraction_non_alphanumeric': 0.09859154929577464, 'fraction_numerical': 0.008802816901408451, 'mean_word_length': 3.458823529411765, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1233201', 'n_tokens_mistral': 353, 'n_tokens_neox': 347, 'n_words': 173}