项目作者: illis
项目描述 :
Address book query tool for Mutt
高级语言: Haskell
项目地址: git://github.com/illis/hbook.git
Features
- Will take a search query & vcard file and return a mutt alias.
- Results are sorted by the fuzzy search filter.
Installation
Use stack:
Usage
hbook-exe -q %search-query% -m %min-search-score% -f %vcard-filename%
- search-query - your search parameter
- min-search-score - a value between 0 (lowest match) & 5 (highest match)
- vcard-filename - location of your vcf file
Example usage with mutt
In your muttrc file:
set query_command = "hbook-exe -q '%s' -m 3 -f contacts.vcf"
Then when you hit ctrl-t when entering an address, it should pop you up with a list.
Caveats
- Originally written to learn some haskell and play around with megaparsec & hspec. Constructive criticism is welcome.
- Not currently a complete vcard implementation.
- Willing to make tweaks if it doesnt work for you
References