Simple container that lets you send matrix messages via http post request
3 files in the settings
folder are needed
- admin.json
Should contain auser_id
field that names the owner of this Bridge,
adevice_ids
Array that lists all device ids whom the bridge trusts (for encryption)
aroom_id
field that lits the room id to which messages are posted - matrixaccount.json
Should contain the account info the bridge is using
auserid
filed that names the account the bridge uses
and ahomeserver
filed that names the matrix server to use - for the first run only pw.txt is need
Which contains only one line that contains the password of the account named inmatrixaccount.json
- on first loggin credentials.json is created so that the pw.json file is no longer need
If the container is running, a simple http post request is enough to send a message
curl -X POST -i 'http://<dockerHostIP>:8080/notify' --data '{ "msg": "<THIS_IS_THE_MESSAGE>" }'