Matrix bot that generates YouTube playlists from links in a channel.
Go to file
Abdulkadir Furkan Şanlı a2cb80c377
Dockerfile: run as user 1000 by default.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
2024-01-22 00:10:29 +01:00
.gitignore Update README.md and .gitignore 2024-01-21 10:47:20 +01:00
compose.yml Dockerize. 2024-01-21 10:38:05 +01:00
Dockerfile Dockerfile: run as user 1000 by default. 2024-01-22 00:10:29 +01:00
example.env Dockerize. 2024-01-21 10:38:05 +01:00
LICENSE Add LICENSE 2024-01-19 14:14:46 +01:00
main.py Fix YouTube shortlink incompatibility, remove 'graceful' SIGTERM. 2024-01-21 12:29:34 +01:00
README.md Update README.md 2024-01-21 10:48:27 +01:00
requirements.txt Dockerize. 2024-01-21 10:38:05 +01:00

ParkerBot

ParkerBot is a Matrix bot that monitors a channel for YouTube links and generates weekly playlists from them.

Running locally

  1. Clone the repo
  2. Install the dependencies, preferably in a venv:
    python3 -m venv venv
    source ./venv/bin/activate
    pip3 install -r requirements.txt
    
  3. Copy example.env to .env, customize it.
  4. Source .env:
    source .env
    
  5. Execute the app:
    ./main.py
    

Running as a container

  1. Customize the compose.yml if necessary, you might want to change the data volume's path or make it a named volume.
  2. Copy example.env to .env and customize it.
  3. Run the container, this is an example with podman-compose:
    podman-compose up -d