bots/StreamBot
2021-01-22 00:17:37 +01:00
..
avatar.png following camelcase style :) 2021-01-22 00:17:37 +01:00
README.md following camelcase style :) 2021-01-22 00:17:37 +01:00
streambot.py following camelcase style :) 2021-01-22 00:17:37 +01:00
streambot.sleekxmpp.py following camelcase style :) 2021-01-22 00:17:37 +01:00

xmpp.streambot

This is the home of Varia's xmpp.streambot!

When the streambot is listening ... it saves all images that are sent to the muc members@muc.vvvvvvaria.org and streams them to vvvvvvaria.org/stream/.

archivist.py was written by Ruben van der Ven during Relearn 2017.

streambot.py is based on archivist.py. It is a custom Varia bot that will communicate one day with our Pelican plugins-custom/stream plugin. :)

run streambot on the server

To start the streambot:

sudo systemctl start streambot.service

To check its status:

sudo systemctl status streambot.service

To stop it:

sudo systemctl stop streambot.service

Error logs go to:

sudo journalctl -xe

git hooks (disabled at the moment)

There are git-hooks enabled that will stop and (re)start streambot on every commit.

pre-receive: streambot is stopped

post-update: the repository is updated with a pull, streambot is started