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.
Luke Murphy 41f800ac2e
Point to new bots repository
4 years ago
README.md Point to new bots repository 4 years ago
avatar.png rewrote the streambot to the slixmpp library + preperations to use the streambot to publish logs on the website 5 years ago
streambot.py silly comment 4 years ago
streambot.sleekxmpp.py rewrote the streambot to the slixmpp library + preperations to use the streambot to publish logs on the website 5 years ago

README.md

note: merged into https://git.vvvvvvaria.org/varia/bots

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