1.0 KiB
1.0 KiB
ParkerBot
ParkerBot is a Matrix bot that monitors a channel for YouTube links and generates weekly playlists from them.
Running locally
- Clone the repo
- Install the dependencies, preferably in a venv:
python3 -m venv venv source ./venv/bin/activate pip3 install -r requirements.txt
- Copy example.env to
.env
, customize it. - Source
.env
:source .env
- Execute the app:
./main.py
Running as a container
- Customize the compose.yml if necessary, you might want to change the data volume's path or make it a named volume.
- Copy example.env to
.env
and customize it. - Run locally as described above at least once on a machine with a web browser.
This is needed to get a valid
token.pickle
for YouTube. Copy it to the data directory where you want to run the container. - Run the container, this is an example with
podman-compose
:podman-compose up -d