Fork of the aerc email client (https://sr.ht/~rjarry/aerc)
Go to file
Reto Brunner 20ec2c8eeb compose: use a proper header instead of a string map
Prior to this commit, the composer was based on a map[string]string.
While this approach was very versatile, it lead to a constant encoding / decoding
of addresses and other headers.

This commit switches to a different model, where the composer is based on a header.
Commands which want to interact with it can simply set some defaults they would
like to have. Users can overwrite them however they like.

In order to get access to the functions generating / getting the msgid go-message
was upgraded.
2020-11-14 15:40:13 +01:00
commands compose: use a proper header instead of a string map 2020-11-14 15:40:13 +01:00
completer Strip trailing newline from address book entries without names 2020-01-09 14:32:22 -05:00
config compose: use a proper header instead of a string map 2020-11-14 15:40:13 +01:00
contrib Add contrib/_incr_version 2020-05-19 12:12:18 -04:00
doc Document pin-tab and unpin-tab commands 2020-11-08 16:24:07 +01:00
filters Strip carriage returns (^M) when filtering emails 2019-08-20 16:05:20 +09:00
lib compose: use a proper header instead of a string map 2020-11-14 15:40:13 +01:00
models models: add RFC822 headers to OriginalMail 2020-11-14 15:40:13 +01:00
templates Fix headers in built-in templates 2020-04-24 12:59:49 -04:00
widgets compose: use a proper header instead of a string map 2020-11-14 15:40:13 +01:00
worker remove models.Address in favor of go-message Address 2020-11-14 15:40:13 +01:00
.build.yml Update .build.yml 2020-07-29 15:27:51 -04:00
.gitignore Subsitute prefix in aerc.conf for install 2019-05-26 10:27:22 -04:00
LICENSE Add README.md, update license (MIT -2019) 2019-01-13 20:09:07 -05:00
Makefile version bump: 0.5.2 2020-11-14 00:23:43 +01:00
README.md Format config path in README 2020-07-05 12:24:39 +02:00
aerc.go Sort command completions 2020-06-13 10:12:53 +02:00
go.mod compose: use a proper header instead of a string map 2020-11-14 15:40:13 +01:00
go.sum compose: use a proper header instead of a string map 2020-11-14 15:40:13 +01:00

README.md

aerc

aerc is an email client for your terminal.

A short demonstration can be found on https://aerc-mail.org/

Join the IRC channel: #aerc on irc.freenode.net for end-user support, and #aerc-dev for development.

Building

Install the dependencies:

Then compile aerc:

$ make

aerc optionally supports notmuch. To enable it, you need to have a recent version of notmuch, including the header files (notmuch.h). Then compile aerc with the necessary build tags:

$ GOFLAGS=-tags=notmuch make

Installation

# make install
$ aerc

On its first run, aerc will copy the default config files to ~/.config/aerc on Linux or ~/Library/Preferences/aerc on MacOS and show the account configuration wizard.

If you redirect stdout to a file, logging output will be written to that file:

$ aerc > log

Resources

Send patches and questions to ~sircmpwn/aerc@lists.sr.ht.

Subscribe to release announcements on ~sircmpwn/aerc-announce

Bugs & todo here: ~sircmpwn/aerc2