README.md

147 lines · 3889 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.76.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### Gentoo
 84
 85On Gentoo, an ebuild is available from the community-managed
 86[GURU overlay](https://wiki.gentoo.org/wiki/Project:GURU).
 87
 88You can enable the GURU overlay with:
 89
 90```
 91eselect repository enable guru
 92emerge --sync guru
 93```
 94
 95And then install `iamb` with:
 96
 97```
 98emerge --ask iamb
 99```
100
101### macOS
102
103On macOS a [package](https://formulae.brew.sh/formula/iamb#default) is available in Homebrew's
104repository. To install it simply run:
105
106```
107brew install iamb
108```
109
110### NetBSD
111
112On NetBSD a package is available from the official repositories. To install it simply run:
113
114```
115pkgin install iamb
116```
117
118### Nix / NixOS (flake)
119
120```
121nix profile install "github:ulyssa/iamb"
122```
123
124### openSUSE Tumbleweed
125
126On openSUSE Tumbleweed a [package](https://build.opensuse.org/package/show/openSUSE:Factory/iamb) is available from the official repositories. To install it simply run:
127
128```
129zypper install iamb
130```
131
132### Snap
133
134A snap for Linux distributions which [support](https://snapcraft.io/docs/installing-snapd) the packaging system.
135
136```
137snap install iamb
138```
139
140## License
141
142iamb is released under the [Apache License, Version 2.0].
143
144[Apache License, Version 2.0]: https://github.com/ulyssa/iamb/blob/master/LICENSE
145[crates-io-iamb]: https://crates.io/crates/iamb
146[iamb.chat]: https://iamb.chat
147[well_known_entry]: https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient