4 Commits

Author SHA1 Message Date
afk f98f83d5df revert 512275a8b8
revert Switch to synchronous Python.

Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
2026-04-20 11:49:08 +02:00
Abdulkadir Furkan Şanlı 611a9551df Update README.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
2026-04-20 11:42:59 +02:00
Abdulkadir Furkan Şanlı 512275a8b8 Switch to synchronous Python.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
2026-04-19 19:47:28 +02:00
Abdulkadir Furkan Şanlı 3abc37bb3c Pin versions and use uv for speed.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
2026-04-19 19:37:26 +02:00
3 changed files with 13 additions and 9 deletions
+6 -3
View File
@@ -1,12 +1,15 @@
FROM python:3
FROM python:3.14
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
ENV PYTHONUNBUFFERED=1
WORKDIR /usr/src/app
COPY main.py parker.gif requirements.txt ./
COPY requirements.txt ./
RUN uv pip install --system --no-cache -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py parker.gif ./
USER 1000:1000
+5 -4
View File
@@ -1,16 +1,17 @@
# ParkerBot
ParkerBot is a Matrix bot that monitors a channel for YouTube links and
generates weekly playlists from them.
generates weekly playlists from them. It also sends YouTube link titles to the
channel it's in.
## Running locally
1. Clone the repo
2. Install the dependencies, preferably in a venv:
```shell
python3 -m venv venv
source ./venv/bin/activate
pip3 install -r requirements.txt
uv venv --python 3.14 --seed
source .venv/bin/activate
uv pip install -r requirements.txt
```
3. Copy [example.env](example.env) to `.env`, customize it.
4. Source `.env`:
+2 -2
View File
@@ -1,3 +1,3 @@
matrix-nio == 0.24.0
google-auth-oauthlib
google-api-python-client
google-auth-oauthlib == 1.3.1
google-api-python-client == 2.194.0