Add live progress polling for downloads

This commit is contained in:
2026-01-04 13:09:26 +01:00
parent 7e9cbd94b6
commit 55dcd1f4fa
5 changed files with 557 additions and 24 deletions

View File

@@ -3,6 +3,7 @@
Dieses Projekt lädt Links über:
- **yt-dlp** (YouTube & unterstützte Video-Plattformen)
- **aria2c** (direkte HTTP/HTTPS-Links, z.B. .mkv/.mp4)
- **hoster** (aria2c mit optionalen HTTP-Headern, z.B. Cookies)
Danach:
- erzeugt es eine **MD5** und speichert sie als Sidecar
@@ -17,8 +18,13 @@ Danach:
1) `.env.example` -> `.env` kopieren und Werte setzen.
2) SSH Key ablegen: `data/ssh/id_ed25519` (chmod 600)
3) `docker compose up -d --build`
4) WebUI: `http://<host>:8080`
4) WebUI: `http://<host>:8081`
## Proxies
- Proxies werden **nur** an yt-dlp/aria2 übergeben (pro Job), beeinflussen also nicht SFTP/Jellyfin.
- `PROXY_LIST` enthält eine Zeile pro Proxy: `socks5://IP:PORT`, `http://IP:PORT`, ...
- Die Proxy-Listen werden 2× täglich aus den TheSpeedX-Quellen geladen und ins richtige Format gebracht.
## Hoster-Engine
- Engine `hoster` nutzt **aria2c** und akzeptiert zusätzliche HTTP-Header (z.B. `Cookie:` oder `User-Agent:`) im Formular.
- Ein Header pro Zeile. Leere Zeilen/Kommentare werden ignoriert.