README.md

112 lines · 3367 bytes

  1<div align="center">
  2    <h1><img width="200" height="200" src="docs/iamb.svg"></h1>
  3
  4[![Build Status](https://github.com/ulyssa/iamb/actions/workflows/ci.yml/badge.svg)](https://github.com/ulyssa/iamb/actions?query=workflow%3ACI+)
  5[![License: Apache 2.0](https://img.shields.io/crates/l/iamb.svg?logo=apache)][crates-io-iamb]
  6[![#iamb:0x.badd.cafe](https://img.shields.io/badge/matrix-%23iamb:0x.badd.cafe-blue)](https://matrix.to/#/#iamb:0x.badd.cafe)
  7[![Latest Version](https://img.shields.io/crates/v/iamb.svg?logo=rust)][crates-io-iamb]
  8[![iamb](https://snapcraft.io/iamb/badge.svg)](https://snapcraft.io/iamb)
  9
 10![Example Usage](https://iamb.chat/static/images/iamb-demo.gif)
 11
 12</div>
 13
 14
 15## About
 16
 17`iamb` is a Matrix client for the terminal that uses Vim keybindings. It includes support for:
 18
 19- Threads, spaces, E2EE, and read receipts
 20- Image previews in terminals that support it (sixels, Kitty, and iTerm2), or using pixelated blocks for those that don't
 21- Notifications via terminal bell or desktop environment
 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## Installation
 36
 37Install Rust (1.70.0 or above) and Cargo, and then run:
 38
 39```
 40cargo install --locked iamb
 41```
 42
 43See [Configuration](#configuration) for getting a profile set up.
 44
 45### NetBSD
 46
 47On NetBSD a package is available from the official repositories. To install it simply run:
 48
 49```
 50pkgin install iamb
 51```
 52
 53### Arch Linux
 54
 55On Arch Linux a [package](https://aur.archlinux.org/packages/iamb-git) is available in the
 56Arch User Repositories (AUR). To install it simply run with your favorite AUR helper:
 57
 58```
 59paru iamb-git
 60```
 61### openSUSE Tumbleweed
 62
 63On 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:
 64
 65```
 66opi iamb
 67```
 68
 69### Nix / NixOS (flake)
 70
 71```
 72nix profile install "github:ulyssa/iamb"
 73```
 74
 75### Snap
 76
 77A snap for Linux distributions which [support](https://snapcraft.io/docs/installing-snapd) the packaging system.
 78
 79```
 80snap install iamb
 81```
 82
 83## Configuration
 84
 85You can create a basic configuration in `$CONFIG_DIR/iamb/config.toml` that looks like:
 86
 87```toml
 88[profiles."example.com"]
 89user_id = "@user:example.com"
 90```
 91
 92If you homeserver is located on a different domain than the server part of the
 93`user_id` and you don't have a [`/.well-known`][well_known_entry] entry, then
 94you can explicitly specify the homeserver URL to use:
 95
 96```toml
 97[profiles."example.com"]
 98url = "https://example.com"
 99user_id = "@user:example.com"
100```
101
102## License
103
104iamb is released under the [Apache License, Version 2.0].
105
106[Apache License, Version 2.0]: https://github.com/ulyssa/iamb/blob/master/LICENSE
107[client-comparison-matrix]: https://matrix.org/clients-matrix/
108[crates-io-iamb]: https://crates.io/crates/iamb
109[iamb.chat]: https://iamb.chat
110[gomuks]: https://github.com/tulir/gomuks
111[weechat-matrix]: https://github.com/poljar/weechat-matrix
112[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient