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

DeadTOm 0e728ba8b8 Updated to work with the latest version of slixmpp 1 semana atrás
.gitignore cf0162ff47 Update '.gitignore' 2 anos atrás
LICENSE 0be937f658 Added work so far. 2 anos atrás
README.md 30660164fb Change description 1 semana atrás
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 semana atrás
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. 1 semana atrás
hooks.py 0e728ba8b8 Updated to work with the latest version of slixmpp 1 semana atrás
wsgi.py 2b9e090d18 Update 'wsgi.py' 1 semana atrás

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'