rchat // speedie's website

speedie's website

🏠 Home πŸ’Ύ Projects πŸ“˜ Blog πŸ“• Guides πŸ“§ Email 🐧 Dotfiles πŸ“° RSS πŸ’°Donate

rchat

rchat is a command-line rautafarmi instance client with Vim keybinds written in Bash. (also works in zsh)

image

It is very customizable and is customized through editing with an editor.

Features

Installation

To install rchat, If you run Arch Linux or any distributions based on it, you can simply get it from the AUR (although it may be slightly outdated). Package is maintained by nezbednik and as of 0.4, is fully up-to-date. If you use 'yay', run 'yay -S rchat'. Then you can just begin using it.

If you run Gentoo Linux, you can add my overlay using layman and then just emerge it. The ebuild is maintained by me so it should be up-to-date.

I recommend installing it by cloning the repository.

cd ~

git clone https://github.com/speediegq/rchat

cd rchat

make install

Usage

See Installation, then simply run it in a terminal. To join the default instance, simply type ':j'.

To set a different instance, type ':set instance' and then enter your instance. If the instance is invalid or you wanna set it back, type ':set instance default'.

From here, you can read the documentation by typing ':help'.

Patches

rchat doesn't come with features I believe a lot of people won't use. If you need more, you can use the GNU 'patch' command with one of these .diff files below.

Xresources

This patch enables .Xresources support for rchat. It allows setting the following values:

If you use rchat 0.5, use the 0.5 patch.

If you use rchat 1.0 or 1.1, use the 1.0 patch.

Simply apply as usual.

Author: speedie

rchat-xresources-0.5.diff

rchat-xresources-1.0.diff

rchat-xresources-1.2.diff

rchat-xresources-1.3-r2.diff

Notifications

image

This patch enables support for notifications in rchat using 'notify-send'. Make sure to install 'libnotify-send' before using.

Author: speedie

rchat-notification-0.5.diff

rchat-notification-1.0.diff

rchat-notification-1.3-r2.diff

Open URL

This patch adds a ':open' feature which opens the last URL displayed in your terminal.

Really simple, but also extremely useful if you want to view links quickly.

1.1 version likely compatible with 1.0!

Author: speedie

rchat-openurl-1.1.diff

rchat-openurl-1.2.diff

Art

image

This patch adds support for art in rchat that runs before you join an instance. The art is placed in $HOME/.config/rchat/rchat_art and will run if present. The file can contain ANSI escape codes if you want colors.

Author: speedie

rchat-art-1.2.diff

Tput colors

image

This patch replaces the ANSI escape codes with tput commands. This allows for more colors and also allows you to separate your rchat color scheme from your terminal color scheme (Useful if you use Pywal).

Author: speedie

rchat-tputcolors-1.3-r2.diff

Hide status

image

This patch removes the rchat (vernum), separator and instance status from the chat area. This means messages are going to fill up the entire terminal window minus one line (used for the Insert mode).

Author: speedie

rchat-hidestatus-1.41.diff