A place for all our bot adventures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

969 B

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