Skip to content
master
Switch branches/tags
Code
This branch is 2 commits ahead of eras:master.

Latest commit

By default, we keep using m.notice but we can set it, for example, to
m.text:
https://matrix.org/docs/spec/client_server/latest.html#m-room-message-msgtypes

This is interesting to, for example, prevent the special treatment
applied to the m.notice msgtype.
577dd13

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

About

Send messages to matrix from command line

Resources

License

Releases

No releases published

Packages

No packages published

Languages