README.md
152 lines · 7674 bytes
1# iamb
2
3[](https://github.com/ulyssa/iamb/actions?query=workflow%3ACI+)
4[](https://crates.io/crates/iamb)
5[](https://matrix.to/#/#iamb:0x.badd.cafe)
6[](https://crates.io/crates/iamb)
7[](https://snapcraft.io/iamb)
8
9## About
10
11`iamb` is a Matrix client for the terminal that uses Vim keybindings.
12
13This project is a work-in-progress, and there's still a lot to be implemented,
14but much of the basic client functionality is already present.
15
16
17
18## Documentation
19
20You can find documentation for installing, configuring, and using iamb on its
21website, [iamb.chat].
22
23## Installation
24
25Install Rust (1.70.0 or above) and Cargo, and then run:
26
27```
28cargo install --locked iamb
29```
30
31### NetBSD
32
33On NetBSD a package is available from the official repositories. To install it simply run:
34
35```
36pkgin install iamb
37```
38
39### Arch Linux
40
41On Arch Linux a [package](https://aur.archlinux.org/packages/iamb-git) is available in the
42Arch User Repositories (AUR). To install it simply run with your favorite AUR helper:
43
44```
45paru iamb-git
46```
47### openSUSE Tumbleweed
48
49On openSUSE Tumbleweed a [package](https://build.opensuse.org/package/show/home%3Asmolsheep/iamb) is available from openSUSE Build Service (OBS). To install just use OBS Package Installer:
50
51```
52opi iamb
53```
54
55### Nix / NixOS (flake)
56
57```
58nix profile install "github:ulyssa/iamb"
59```
60
61### Snap
62
63A snap for Linux distributions which [support](https://snapcraft.io/docs/installing-snapd) the packaging system.
64
65```
66snap install iamb
67```
68
69## Configuration
70
71You can create a basic configuration in `$CONFIG_DIR/iamb/config.json` that looks like:
72
73```json
74{
75 "profiles": {
76 "example.com": {
77 "user_id": "@user:example.com"
78 }
79 }
80}
81```
82
83If you homeserver is located on a different domain than the server part of the
84`user_id` and you don't have a [`/.well-known`][well_known_entry] entry, then
85you can explicitly specify the homeserver URL to use:
86
87```json
88{
89 "profiles": {
90 "example.com": {
91 "url": "https://example.com",
92 "user_id": "@user:example.com"
93 }
94 }
95}
96```
97
98## Comparison With Other Clients
99
100To get an idea of what is and isn't yet implemented, here is a subset of the
101Matrix website's [features comparison table][client-comparison-matrix], showing
102two other TUI clients and Element Web:
103
104| | iamb | [gomuks] | [weechat-matrix] | Element Web/Desktop |
105| --------------------------------------- | :---------- | :------: | :--------------: | :-----------------: |
106| Room directory | ❌ ([#14]) | ❌ | ✔️ | ✔️ |
107| Room tag showing | ✔️ | ✔️ | ❌ | ✔️ |
108| Room tag editing | ✔️ | ✔️ | ❌ | ✔️ |
109| Search joined rooms | ❌ ([#16]) | ✔️ | ❌ | ✔️ |
110| Room user list | ✔️ | ✔️ | ✔️ | ✔️ |
111| Display Room Description | ✔️ | ✔️ | ✔️ | ✔️ |
112| Edit Room Description | ✔️ | ❌ | ✔️ | ✔️ |
113| Highlights | ❌ ([#8]) | ✔️ | ✔️ | ✔️ |
114| Pushrules | ❌ | ✔️ | ❌ | ✔️ |
115| Send read markers | ✔️ | ✔️ | ✔️ | ✔️ |
116| Display read markers | ✔️ | ❌ | ❌ | ✔️ |
117| Sending Invites | ✔️ | ✔️ | ✔️ | ✔️ |
118| Accepting Invites | ✔️ | ✔️ | ✔️ | ✔️ |
119| Typing Notification | ✔️ | ✔️ | ✔️ | ✔️ |
120| E2E | ✔️ | ✔️ | ✔️ | ✔️ |
121| Replies | ✔️ | ✔️ | ❌ | ✔️ |
122| Attachment uploading | ✔️ | ❌ | ✔️ | ✔️ |
123| Attachment downloading | ✔️ | ✔️ | ✔️ | ✔️ |
124| Send stickers | ❌ | ❌ | ❌ | ✔️ |
125| Send formatted messages (markdown) | ✔️ | ✔️ | ✔️ | ✔️ |
126| Rich Text Editor for formatted messages | ❌ | ❌ | ❌ | ✔️ |
127| Display formatted messages | ✔️ | ✔️ | ✔️ | ✔️ |
128| Redacting | ✔️ | ✔️ | ✔️ | ✔️ |
129| Multiple Matrix Accounts | ✔️ | ❌ | ✔️ | ❌ |
130| New user registration | ❌ | ❌ | ❌ | ✔️ |
131| VOIP | ❌ | ❌ | ❌ | ✔️ |
132| Reactions | ✔️ | ✔️ | ❌ | ✔️ |
133| Message editing | ✔️ | ✔️ | ❌ | ✔️ |
134| Room upgrades | ❌ ([#41]) | ✔️ | ❌ | ✔️ |
135| Localisations | ❌ | 1 | ❌ | 44 |
136| SSO Support | ✔️ | ✔️ | ✔️ | ✔️ |
137| Image preview | ✔️ | ❌ | ❌ | ✔️ |
138
139## License
140
141iamb is released under the [Apache License, Version 2.0].
142
143[Apache License, Version 2.0]: https://github.com/ulyssa/iamb/blob/master/LICENSE
144[client-comparison-matrix]: https://matrix.org/clients-matrix/
145[iamb.chat]: https://iamb.chat
146[gomuks]: https://github.com/tulir/gomuks
147[weechat-matrix]: https://github.com/poljar/weechat-matrix
148[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
149[#8]: https://github.com/ulyssa/iamb/issues/8
150[#14]: https://github.com/ulyssa/iamb/issues/14
151[#16]: https://github.com/ulyssa/iamb/issues/16
152[#41]: https://github.com/ulyssa/iamb/issues/41