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

DeadTOm 0e728ba8b8 Updated to work with the latest version of slixmpp hai 1 semana
.gitignore cf0162ff47 Update '.gitignore' %!s(int64=2) %!d(string=hai) anos
LICENSE 0be937f658 Added work so far. %!s(int64=2) %!d(string=hai) anos
README.md 30660164fb Change description hai 1 semana
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. hai 1 semana
config.py 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. hai 1 semana
hooks.py 0e728ba8b8 Updated to work with the latest version of slixmpp hai 1 semana
wsgi.py 2b9e090d18 Update 'wsgi.py' hai 1 semana

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'