Thanks to visit codestin.com
Credit goes to github.com

Skip to content

illis/hbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hbook - an address book query tool for Mutt

Features

  • Will take a search query & vcard file and return a mutt alias.
  • Results are sorted by the fuzzy search filter.

Installation

Use stack:

  • stack init
  • stack install

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

About

Address book query tool for Mutt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published