Debian Codegraph @

README.md

raw
1 # aerc
2
3 ![logo](https://git.sr.ht/~rjarry/aerc/blob/master/contrib/logo.svg)
4
5 [![builds.sr.ht status](https://builds.sr.ht/~rjarry/aerc.svg)](https://builds.sr.ht/~rjarry/aerc)
6 [![GitHub macOS CI status](https://github.com/rjarry/aerc/actions/workflows/macos.yml/badge.svg)](https://github.com/rjarry/aerc/actions/workflows/macos.yml)
7
8 [aerc](https://sr.ht/~rjarry/aerc/) is an email client for your terminal.
9
10 This is a fork of [the original aerc](https://git.sr.ht/~sircmpwn/aerc)
11 by Drew DeVault.
12
13 A short demonstration can be found on [https://aerc-mail.org/](https://aerc-mail.org/)
14
15 Join the IRC channel: [#aerc on irc.libera.chat](http://web.libera.chat/?channels=aerc)
16 for end-user support, and development.
17
18 ## Usage
19
20 On its first run, aerc will copy the default config files to `~/.config/aerc`
21 on Linux or `~/Library/Preferences/aerc` on MacOS (or `$XDG_CONFIG_HOME/aerc` if set)
22 and show the account configuration wizard.
23
24 If you redirect stdout to a file, logging output will be written to that file:
25
26 $ aerc > log
27
28 Note that the default HTML filter additionally needs `w3m` to be installed
29 along with optional `unshare` (from `util-linux`) or `socksify` (from
30 `dante-utils`).
31
32 ### Documentation
33
34 Also available as man pages:
35
36 - [aerc(1)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc.1.scd)
37 - [aerc-accounts(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-accounts.5.scd)
38 - [aerc-binds(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-binds.5.scd)
39 - [aerc-config(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-config.5.scd)
40 - [aerc-imap(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-imap.5.scd)
41 - [aerc-jmap(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-jmap.5.scd)
42 - [aerc-maildir(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-maildir.5.scd)
43 - [aerc-notmuch(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-notmuch.5.scd)
44 - [aerc-patch(7)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-patch.7.scd)
45 - [aerc-search(1)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-search.1.scd)
46 - [aerc-sendmail(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-sendmail.5.scd)
47 - [aerc-smtp(5)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-smtp.5.scd)
48 - [aerc-stylesets(7)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-stylesets.7.scd)
49 - [aerc-templates(7)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-templates.7.scd)
50 - [aerc-tutorial(7)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/aerc-tutorial.7.scd)
51 - [carddav-query(1)](https://git.sr.ht/~rjarry/aerc/tree/master/item/doc/carddav-query.1.scd)
52
53 User contributions and integration with external tools:
54
55 - [wiki](https://man.sr.ht/~rjarry/aerc/)
56
57 ## Installation
58
59 ### Binary Packages
60
61 Recent versions of aerc are available on:
62
63 - [Alpine](https://pkgs.alpinelinux.org/packages?name=aerc)
64 - [Arch](https://archlinux.org/packages/extra/x86_64/aerc/)
65 - [Debian](https://tracker.debian.org/pkg/aerc)
66 - [Fedora](https://packages.fedoraproject.org/pkgs/aerc/aerc/)
67 - [openSUSE](https://build.opensuse.org/package/show/openSUSE:Factory/aerc)
68 - [macOS through Homebrew](https://formulae.brew.sh/formula/aerc)
69 - [Slackware](https://slackbuilds.org/result/?search=aerc)
70
71 And likely other platforms.
72
73 ### From Source
74
75 Install the dependencies:
76
77 - go (>=1.25) *(Go versions are supported until their end-of-life; support for
78 older versions may be dropped at any time due to incompatibilities or newer
79 required language features.)*
80 - [scdoc](https://git.sr.ht/~sircmpwn/scdoc)
81 - GNU make
82
83 Then compile aerc:
84
85 $ gmake
86
87 aerc optionally supports notmuch. To enable it, you need to have a recent
88 version of [notmuch](https://notmuchmail.org/#index7h2), including the header
89 files (notmuch.h). The `notmuch` build tag should be automatically added. To
90 check if it is, run the following command:
91
92 $ ./aerc -v
93 aerc 0.14.0-108-g31e1cd9af565 +notmuch (go1.19.6 amd64 linux)
94 ^^^^^^^^
95
96 If it is not, you can force it before building:
97
98 $ gmake GOFLAGS=-tags=notmuch
99
100 If you have notmuch headers available but do not want to build notmuch support
101 in aerc, force GOFLAGS to an empty value:
102
103 $ gmake GOFLAGS=
104
105 To install aerc locally (no need to be root):
106
107 $ gmake install PREFIX=~/.local
108 $ mandb -q ~/.local/share/man
109
110 By default, aerc will install config files to directories under `/usr/local/aerc`,
111 and will search for templates and stylesets in these locations in order:
112
113 - `${XDG_CONFIG_HOME:-~/.config}/aerc`
114 - `${XDG_DATA_HOME:-~/.local/share}/aerc`
115 - `/usr/local/share/aerc`
116 - `/usr/share/aerc`
117
118 At build time it is possible to add an extra location to this list and to use
119 that location as the default install location for config files by setting the
120 `PREFIX` option like so:
121
122 # gmake PREFIX=/custom/location
123 # gmake install PREFIX=/custom/location
124 # mandb -q /custom/location/share/man
125
126 This will install templates and other config files to `/custom/location/share/aerc`,
127 and man pages to `/custom/location/share/man`. This extra location will have lower
128 priority than the XDG locations but higher than the fixed paths.
129
130 ## Contributing
131
132 Anyone can contribute to aerc. Please refer to [the contribution
133 guidelines](https://git.sr.ht/~rjarry/aerc/tree/master/item/CONTRIBUTING.md)
134
135 ## Resources
136
137 Ask for support or follow general discussions on
138 [~rjarry/[email protected]](https://lists.sr.ht/~rjarry/aerc-discuss).
139
140 Send patches and development related questions to
141 [~rjarry/[email protected]](https://lists.sr.ht/~rjarry/aerc-devel).
142
143 Instructions for preparing a patch are available at
144 [git-send-email.io](https://git-send-email.io)
145
146 Subscribe to release announcements on
147 [~rjarry/[email protected]](https://lists.sr.ht/~rjarry/aerc-announce)
148
149 Submit *confirmed* bug reports and *confirmed* feature requests on
150 [https://todo.sr.ht/~rjarry/aerc](https://todo.sr.ht/~rjarry/aerc).
151
152 Send security vulnerability reports via emails to
153 [~rjarry/[email protected]](~rjarry/[email protected])
154 encrypted with the GPG key located at
155 [`contrib/signing-key.asc`](https://git.sr.ht/~rjarry/aerc/tree/master/item/contrib/signing-key.asc)
156 (fingerprint `DC07 18E3 22E2 C760 5EBD C831 4695 7EC0 8FD0 FE90`).
157
158 [License](https://git.sr.ht/~rjarry/aerc/tree/master/item/LICENSE).
159
160 [Change log](https://git.sr.ht/~rjarry/aerc/tree/master/item/CHANGELOG.md).