{"id":19946742,"url":"https://github.com/bourgeoisbear/maildir2addr","last_synced_at":"2026-01-28T19:03:46.925Z","repository":{"id":53395535,"uuid":"521410845","full_name":"BourgeoisBear/maildir2addr","owner":"BourgeoisBear","description":"Scans maildir folders for e-mail addresses, outputs results in aerc `address-book-cmd` compatible format.","archived":false,"fork":false,"pushed_at":"2022-08-05T05:39:25.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-01T07:02:34.970Z","etag":null,"topics":["abook","address-book","aerc","email","email-address","khard","maildir","maildir-format"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BourgeoisBear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-04T20:44:01.000Z","updated_at":"2023-02-25T23:59:10.000Z","dependencies_parsed_at":"2022-09-02T23:20:30.520Z","dependency_job_id":null,"html_url":"https://github.com/BourgeoisBear/maildir2addr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BourgeoisBear%2Fmaildir2addr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BourgeoisBear%2Fmaildir2addr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BourgeoisBear%2Fmaildir2addr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BourgeoisBear%2Fmaildir2addr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BourgeoisBear","download_url":"https://codeload.github.com/BourgeoisBear/maildir2addr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224370033,"owners_count":17299964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abook","address-book","aerc","email","email-address","khard","maildir","maildir-format"],"created_at":"2024-11-13T00:32:12.439Z","updated_at":"2026-01-28T19:03:41.882Z","avatar_url":"https://github.com/BourgeoisBear.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maildir2addr\n\nScans maildir folders for e-mail addresses, outputs unique results in aerc-style `address-book-cmd` format:\n\n```\n[E-MAIL1]\\t[NAME1]\\n\n[E-MAIL2]\\t[NAME2]\\n\n...\n```\n   \nThe `[E-MAIL]` column is forced to lowercase in the output.\n\nDefault settings store data in the `$HOME/.local/share/maildir2addr` directory.\n\nA file of exclude regexes can be specified with the `-e` option.\nOne regexp per line, each applied to the `[E-MAIL]` part only.\nIf this file is specified but does not exist, it will be created and populated with sane defaults.\n\n## Installation\n\n1. Install the latest Go compiler from https://golang.org/dl/\n2. Install the program:\n\n```sh\ngo install github.com/BourgeoisBear/maildir2addr@latest\n```\n\n## Usage\n\n```sh\n\nmaildir2addr [OPTION...] [MAILDIR_PATH...]\n\nOPTIONS\n\n  -e string\n        address exclusion regex file [one per line]\n         (default \"$HOME/.local/share/maildir2addr/excludes.regexp\")\n  -i string\n        address database input file\n         (default \"$HOME/.local/share/maildir2addr/addrs.tsv\")\n  -o string\n        address database output file\n         (default \"$HOME/.local/share/maildir2addr/addrs.tsv\")\n  -s    process spam messages (where X-Spam-Flag == YES)\n  -v    verbose, log details to STDERR\n\n```\n\nTo create an address book in the default location:\n\n```sh\nmaildir2addr -v /path/to/my/maildir\n```\n\nAfter issuing this command, a new tab-separated-values address file will appear at `$HOME/.local/share/maildir2addr/addrs.tsv`.\n\nThis file is suitable for use with the address autocomplete feature of several TUI mail clients.\n\n## `aerc` Integration\n\nNOTE: Replace `$HOME` with the full path to your home directory.  `aerc.conf` does not expand environment vars for `address-book-cmd`.\n\n```ini\naddress-book-cmd=grep -F -i -- \"%s\" \"$HOME/.local/share/maildir2addr/addrs.tsv\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbourgeoisbear%2Fmaildir2addr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbourgeoisbear%2Fmaildir2addr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbourgeoisbear%2Fmaildir2addr/lists"}