This Bot updates a Mattermost room according to the Spaceapi status.
A config like this is needed:
---
url: chat.domain.de
user: username
token: yourtokengoeshere
git clone https://github.com/section77/spaceapi2mattermost.git
cd spaceapi2mattermost
nano s77-status-bot-config.yaml
now add the config from above
sudo docker build -t spaceapi2mattermost .
sudo docker run -v ./s77-status-bot-config.yaml:/config/config.yaml:ro -d --name sapi2mm spaceapi2mattermost
to stop the container:
sudo docker stop sapi2mm
Interesting links: