Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
/ twitch-rec Public archive
forked from DrillRider/twitch-rec

Python3 script to record twitch streams with streamlink

License

Notifications You must be signed in to change notification settings

fl4shback/twitch-rec

 
 

Repository files navigation

twitch-rec

twitch-rec will record your favorite streamer so you don't have to rely on VODs when you missed a stream.

Getting Started

Sample docker-compose.yml file to build image and spin-up a container. Clone the repo and change the placeholders.

version: '3'
services:
  twitch-rec:
    container_name: twitch-rec
    build: .
    restart: always
    volumes:
      - ./recordings:/app/recordings
    environment:
      STREAMER: xxxxx
      QUALITY: best
      INTERVAL: 15
      CLIENT_ID: xxxxx
      CLIENT_SECRET: xxxxx
      PUSHOVER_TOKEN: xxxxx
      PUSHOVER_USER: xxxxx
      DISCORD_WEBHOOK: xxxxx
      TZ: Europe/Paris

Things to change in docker-compose.yml:

  • volume path "recordings" to the folder you want to store the vids at
  • STREAMER
  • CLIENT_ID
  • CLIENT_SECRET
  • PUSHOVER_TOKEN
  • PUSHOVER_USER
  • DISCORD_WEBHOOK

CLIENT_ID and CLIENT_SECRET can be created at dev.twitch.tv/console/apps.

If you don't use pushover, just delete both lines. Same goes for Discord

Contributing

Feel free to contribute and bring in your ideas to enhance this tool or to add more notification possibilities.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Python3 script to record twitch streams with streamlink

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 97.1%
  • Dockerfile 2.9%