README.md
165 lines · 4308 bytes
1<div align="center">
2 <h1><img width="200" height="200" src="docs/iamb.svg"></h1>
3
4[](https://github.com/ulyssa/iamb/actions?query=workflow%3ACI+)
5[][crates-io-iamb]
6[](https://matrix.to/#/#iamb:0x.badd.cafe)
7[][crates-io-iamb]
8[](https://snapcraft.io/iamb)
9
10
11
12</div>
13
14## About
15
16`iamb` is a Matrix client for the terminal that uses Vim keybindings. It includes support for:
17
18- Threads, spaces, E2EE, and read receipts
19- Image previews in terminals that support it (sixels, Kitty, and iTerm2), or using pixelated blocks for those that don't
20- Notifications via terminal bell or desktop environment
21- Send Markdown, HTML or plaintext messages
22- Creating, joining, and leaving rooms
23- Sending and accepting room invitations
24- Editing, redacting, and reacting to messages
25- Custom keybindings
26- Multiple profiles
27
28_You may want to [see this page as it was when the latest version was published][crates-io-iamb]._
29
30## Documentation
31
32You can find documentation for installing, configuring, and using iamb on its
33website, [iamb.chat].
34
35## Configuration
36
37You can create a basic configuration in `$CONFIG_DIR/iamb/config.toml` that looks like:
38
39```toml
40[profiles."example.com"]
41user_id = "@user:example.com"
42```
43
44If your homeserver is located on a different domain than the server part of the
45`user_id` and you don't have a [`/.well-known`][well_known_entry] entry, then
46you can explicitly specify the homeserver URL to use:
47
48```toml
49[profiles."example.com"]
50url = "https://example.com"
51user_id = "@user:example.com"
52```
53
54## Installation (from source)
55
56Install Rust and Cargo using [rustup], and then run from the directory
57containing the sources (ie: from a git clone):
58
59```
60cargo install --locked --path .
61```
62
63## Installation (via `crates.io`)
64
65Install Rust (1.83.0 or above) and Cargo, and then run:
66
67```
68cargo install --locked iamb
69```
70
71See [Configuration](#configuration) for getting a profile set up.
72
73## Installation (via package managers)
74
75### Arch Linux
76
77On Arch Linux a [package](https://aur.archlinux.org/packages/iamb-git) is available in the
78Arch User Repositories (AUR). To install it simply run with your favorite AUR helper:
79
80```
81paru iamb-git
82```
83
84### FreeBSD
85
86On FreeBSD a package is available from the official repositories. To install it simply run:
87
88```
89pkg install iamb
90```
91
92### Gentoo
93
94On Gentoo, an ebuild is available from the community-managed
95[GURU overlay](https://wiki.gentoo.org/wiki/Project:GURU).
96
97You can enable the GURU overlay with:
98
99```
100eselect repository enable guru
101emerge --sync guru
102```
103
104And then install `iamb` with:
105
106```
107emerge --ask iamb
108```
109
110### macOS
111
112On macOS a [package](https://formulae.brew.sh/formula/iamb#default) is available in Homebrew's
113repository. To install it simply run:
114
115```
116brew install iamb
117```
118
119### NetBSD
120
121On NetBSD a package is available from the official repositories. To install it simply run:
122
123```
124pkgin install iamb
125```
126
127### Nix / NixOS (flake)
128
129```
130nix profile install "github:ulyssa/iamb"
131```
132
133### openSUSE Tumbleweed
134
135On openSUSE Tumbleweed a [package](https://build.opensuse.org/package/show/openSUSE:Factory/iamb) is available from the official repositories. To install it simply run:
136
137```
138zypper install iamb
139```
140
141### Snap
142
143A snap for Linux distributions which [support](https://snapcraft.io/docs/installing-snapd) the packaging system.
144
145```
146snap install iamb
147```
148
149### Conda (Linux, macOS, Windows)
150
151A Conda [package](https://prefix.dev/channels/conda-forge/packages/iamb) is available on conda-forge. To install it simply run:
152
153```
154pixi global install iamb
155```
156
157## License
158
159iamb is released under the [Apache License, Version 2.0].
160
161[Apache License, Version 2.0]: https://github.com/ulyssa/iamb/blob/master/LICENSE
162[crates-io-iamb]: https://crates.io/crates/iamb
163[iamb.chat]: https://iamb.chat
164[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
165[rustup]: https://rustup.rs/