Skip to content

Record and screenshot Twitch streams in Telegram

License

Notifications You must be signed in to change notification settings

Helltar/twitchviewer_bot

Repository files navigation

botpic

qr_code

Installation

Docker Compose

mkdir twitchbot && cd twitchbot && \
wget https://raw.githubusercontent.com/Helltar/twitchviewer_bot/master/{.env,compose.yaml,compose.with-postgres.yaml}

Edit the .env file and specify the required tokens, database address, and credentials for PostgreSQL:

If you already have an external PostgreSQL database, use the compose.yaml file. In this configuration, PostgreSQL is not included as a container, and the bot will connect to your external database using the details provided in the .env file:

docker compose up -d

If you do not have an external PostgreSQL instance, use the compose.with-postgres.yaml file. This configuration will set up a separate PostgreSQL container, running alongside the bot:

docker compose -f compose.with-postgres.yaml up -d

Commands

  • /clip - Start recording clips from all channels or a specific channel
  • /screenshot - Take a screenshot from all channels or a specific channel
  • /list - View your favorite channels
  • /add - Add a new channel to your favorites
  • /cancel - End the recording process started using the /clip command