How to set up Matrix with purple-matrix

It is possible to communicate with matrix on bitlbee via libpurple and purple-matrix

Building and Installing

Ubuntu packages

Pre-built binaries are available for Ubuntu since version 17.04 (Zesty Zapus). You should be able to install them giving the following commands in a terminal window:

$ sudo apt update
$ sudo apt install purple-matrix

ArchLinux package

There package purple-matrix-git is available for Archlinux in AUR. The package works with bitlbee-libpurple-git and perhaps bitlbee-libpurple too.

Building from source

Building the plugin from source you will need development headers/libraries for the following:

You should then be able to:

$ git clone https://github.com/matrix-org/purple-matrix.git
$ cd purple-matrix
$ make
$ sudo make install

Usage

Add the account with:

> account add matrix @<username>:<homeserver> <password>
> account matrix on

Example:

> account add matrix @username:matrix.org password
> account matrix on

Known Issues

Homeserver Port

If the homeserver you're connecting to requires a custom port, login will fail. See Github issue #115

Human friendly chatroom names

chat names in matrix-purple are identified by ID in bitlbee and not with human friendly names, see GitHub issue #55

No SSO Support

See Github issue #107