Sends chat messages to an XMPP account.
Run on Flask/Python3.

deadtom 4cd5b6dbd0 Add 'License' 21 tuntia sitten
.gitignore cf0162ff47 Update '.gitignore' 2 vuotta sitten
LICENSE 0be937f658 Added work so far. 2 vuotta sitten
License 4cd5b6dbd0 Add 'License' 21 tuntia sitten
README.md 30660164fb Change description 1 kuukausi sitten
TODO.md 5797d06d76 Filled in README.md. Edited TODO.md as things were completed. Changed how config.py is imported in hooks.py, and how variables from config.py are called. Edited config.py accordingly. Comments all around. 1 kuukausi sitten
config.py 9c314788af Update 'config.py' 1 kuukausi sitten
hooks.py 0e728ba8b8 Updated to work with the latest version of slixmpp 1 kuukausi sitten
wsgi.py 2b9e090d18 Update 'wsgi.py' 1 kuukausi sitten

README.md

DeadTOm's Owncast webhooks

Features so far

  • Sends messages from Owncast chat to an XMPP account.

Starting the Flask app

Start from the folder where the app lives. My preferred method is gunicorn, with the following command:

gunicorn -b 0.0.0.0:8057 -w 1 'hooks:app'

Or if running from a virtual environment, which you should be, use this command (change path as needed):

.venv/bin/python -m gunicorn -b 0.0.0.0:8057 -w 1 'hooks:app'