/tuvix

A Matrix client in Erlang

Primary LanguageErlangGNU General Public License v3.0GPL-3.0

tuvix

A bot for Matrix written in Erlang

tuvix.jpg

Running with rebar3

assuming you have rebar3 installed and configured to use Hex.pm, you may want to:

rebar3 update
rebar3 compile

before starting. it should install the jsone dependency. now that the tuvix app is setup properly, it seems like the following shell command will compile tuvix as well.

rebar3 shell
1> Pid = tuvix:start("https://matrix.foo.bar", "userid", "pwd").

This will spawn a process that logs in and begins polling for events in the Matrix bot dev chat room