README.md

129 lines · 3661 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## 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- Creating, joining, and leaving rooms
 22- Sending and accepting room invitations
 23- Editing, redacting, and reacting to messages
 24- Custom keybindings
 25- Multiple profiles
 26
 27_You may want to [see this page as it was when the latest version was published][crates-io-iamb]._
 28
 29## Documentation
 30
 31You can find documentation for installing, configuring, and using iamb on its
 32website, [iamb.chat].
 33
 34## Installation
 35
 36Install Rust (1.70.0 or above) and Cargo, and then run:
 37
 38```
 39cargo install --locked iamb
 40```
 41
 42### Arch Linux
 43
 44On Arch Linux a [package](https://aur.archlinux.org/packages/iamb-git) is available in the
 45Arch User Repositories (AUR). To install it simply run with your favorite AUR helper:
 46
 47```
 48paru iamb-git
 49```
 50
 51See [Configuration](#configuration) for getting a profile set up.
 52
 53### FreeBSD
 54
 55On FreeBSD a package is available from the official repositories. To install it simply run:
 56
 57```
 58pkg install iamb
 59```
 60
 61### NetBSD
 62
 63On NetBSD a package is available from the official repositories. To install it simply run:
 64
 65```
 66pkgin install iamb
 67```
 68
 69### macOS
 70
 71On macOS a [package](https://formulae.brew.sh/formula/iamb#default) is availabe in Homebrew's
 72repository. To install it simply run:
 73
 74```
 75brew install iamb
 76```
 77
 78### Nix / NixOS (flake)
 79
 80```
 81nix profile install "github:ulyssa/iamb"
 82```
 83
 84### openSUSE Tumbleweed
 85
 86On openSUSE Tumbleweed a [package](https://build.opensuse.org/package/show/openSUSE:Factory/iamb) is available from the official repositories. To install it simply run:
 87
 88```
 89zypper install iamb
 90```
 91
 92### Snap
 93
 94A snap for Linux distributions which [support](https://snapcraft.io/docs/installing-snapd) the packaging system.
 95
 96```
 97snap install iamb
 98```
 99
100## Configuration
101
102You can create a basic configuration in `$CONFIG_DIR/iamb/config.toml` that looks like:
103
104```toml
105[profiles."example.com"]
106user_id = "@user:example.com"
107```
108
109If you homeserver is located on a different domain than the server part of the
110`user_id` and you don't have a [`/.well-known`][well_known_entry] entry, then
111you can explicitly specify the homeserver URL to use:
112
113```toml
114[profiles."example.com"]
115url = "https://example.com"
116user_id = "@user:example.com"
117```
118
119## License
120
121iamb is released under the [Apache License, Version 2.0].
122
123[Apache License, Version 2.0]: https://github.com/ulyssa/iamb/blob/master/LICENSE
124[client-comparison-matrix]: https://matrix.org/clients-matrix/
125[crates-io-iamb]: https://crates.io/crates/iamb
126[iamb.chat]: https://iamb.chat
127[gomuks]: https://github.com/tulir/gomuks
128[weechat-matrix]: https://github.com/poljar/weechat-matrix
129[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient