Send messages to matrix from command line
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead of eras:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
COPYING
README.md
config.ini.template
matrix-send.py

README.md

matrix-send

Send messages to matrix from command line. Usage example:

$ ./matrix-send.py "Hello world!"

Configuration

Copy the config.ini.template file to ~/.config/matrix-send/config.ini and fill the fields:

[DEFAULT]
endpoint=https://matrix-server:8448/_matrix/
access_token=
channel_id=
msgtype=m.notice

Getting the access_token and channel_id values

Please, refer to matrix' documentation: https://matrix.org/docs/guides/client-server.html