README.md

143 lines · 7448 bytes

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