Simple owncast bot
Go to file
Siina Mashek 34927807e7 making look like old irc message 2022-04-19 14:04:38 +03:00
ameliabot Very naive and basic target error capture 2022-04-19 14:03:52 +03:00
config Initial 'rewrite' of hatbot 2022-04-19 13:27:39 +03:00
.gitignore Initial 'rewrite' of hatbot 2022-04-19 13:27:39 +03:00
ATTRIBUTION.md Initial 'rewrite' of hatbot 2022-04-19 13:27:39 +03:00
LICENSE Initial commit 2022-04-19 07:33:38 +02:00
README.md Initial 'rewrite' of hatbot 2022-04-19 13:27:39 +03:00
alias.json Initial 'rewrite' of hatbot 2022-04-19 13:27:39 +03:00
bot.py Bot now posts to correct chat url 2022-04-19 13:59:19 +03:00
commands.json making look like old irc message 2022-04-19 14:04:38 +03:00
start.sh Initial 'rewrite' of hatbot 2022-04-19 13:27:39 +03:00

ameliabot

A chatbot for owncast, inspiration from hatbot by hatniX.

Code attributions can be found in ATTRIBUTIONS.md

Requirements

  • Owncast server
  • Python 3
  • Flask
  • psycopg2

Setup

  • Install Flask and psycopg2
    • pip --user install Flask psycopg2
    • If you don't want to fiddle with psycopg2, you can install python-psycopg2 from your distribution's package manager
  • Create an Owncast webhook url pointing to your bot's location
  • Copy config-example.json to config.json and fill out the information required

Ameliabot can be run by executing start.sh or:

FLASK_APP=bot.py python3 -m flask run

Please use a proper uWSGI proxy if the bot is not on the same machine as owncast.