Matrix Bot

A command line tool for sending messages to a matrix chatroom.

Unsafe Rust forbidden

Config

Run matrix-notify generate to create an example config file named matrix-notify.toml in the current directory.

The config file will need to be modified to suit your connection.

```cfg baseurl = "https://example.org" localusername = "matrix-bot" full_username = "@matrix-bot:example.org"

optional, will be used to generate a token by logging in

password = "Plaintext password"

optional, will be populated by login automatically if using password

token = "access_token from previous api calls" ```

Usage

bash matrix-bot --help bash matrix-bot --room "\!roomid:matrix.org" --message "Lorem ipsum dolor sit amet"