README.md

129 lines · 3599 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- 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 you 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 (via `crates.io`)
 55
 56Install Rust (1.70.0 or above) and Cargo, and then run:
 57
 58```
 59cargo install --locked iamb
 60```
 61
 62See [Configuration](#configuration) for getting a profile set up.
 63
 64## Installation (via package managers)
 65
 66### Arch Linux
 67
 68On Arch Linux a [package](https://aur.archlinux.org/packages/iamb-git) is available in the
 69Arch User Repositories (AUR). To install it simply run with your favorite AUR helper:
 70
 71```
 72paru iamb-git
 73```
 74
 75### FreeBSD
 76
 77On FreeBSD a package is available from the official repositories. To install it simply run:
 78
 79```
 80pkg install iamb
 81```
 82
 83### macOS
 84
 85On macOS a [package](https://formulae.brew.sh/formula/iamb#default) is availabe in Homebrew's
 86repository. To install it simply run:
 87
 88```
 89brew install iamb
 90```
 91
 92### NetBSD
 93
 94On NetBSD a package is available from the official repositories. To install it simply run:
 95
 96```
 97pkgin install iamb
 98```
 99
100### Nix / NixOS (flake)
101
102```
103nix profile install "github:ulyssa/iamb"
104```
105
106### openSUSE Tumbleweed
107
108On openSUSE Tumbleweed a [package](https://build.opensuse.org/package/show/openSUSE:Factory/iamb) is available from the official repositories. To install it simply run:
109
110```
111zypper install iamb
112```
113
114### Snap
115
116A snap for Linux distributions which [support](https://snapcraft.io/docs/installing-snapd) the packaging system.
117
118```
119snap install iamb
120```
121
122## License
123
124iamb is released under the [Apache License, Version 2.0].
125
126[Apache License, Version 2.0]: https://github.com/ulyssa/iamb/blob/master/LICENSE
127[crates-io-iamb]: https://crates.io/crates/iamb
128[iamb.chat]: https://iamb.chat
129[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient