rmoriz / youtube-watcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WARNING

  • Proof of concept - DO NOT USE IN PRODUCTION!
  • Violates all YouTube Terms of Use you can imagine.
  • 0 tests, YOLO
  • almost zero input validation, probably vulnerable to the easiest XML attacks.
  • no mqtt persistence, detection of webhook duplets
  • currently not able to differentiate between new live stream, update, upload or deletion event.

diagram example

Tools used

  • Ruby 2.6 + a lot of gems
  • StreamLink
  • MQTT (Eclipse Mosquitto)
  • Docker

Why?

  • record streams
  • watch streams using VLC which plays in background (no modal shit, no ads)

Deployment

  • create mqtt accounts (mosquitto_passwd -c mqtt/password_file)
  • create .webhook.env, .pusher.env, .downloader.env based on examples
  • create hosts/external and hosts/internal based on provided examples
  • deploy external services:
    source hosts/external
    bin/deploy
  • deploy internal services:
    source hosts/internal
    bin/deploy

Which streams do you love?

Misc

Diagram made with https://monodraw.helftone.com/

About

License:GNU Affero General Public License v3.0


Languages

Language:Ruby 80.3%Language:Dockerfile 16.5%Language:Shell 3.2%