Simple Telegram bot to take video URLs (passed via /v [url]), and send them in-line in a group chat, or a 1-to-1 chat with your bot.
Should the video be too large to appear in-line (around 10MB), the bot will use ffmpeg to transcode the file to fit that limit.
By default the image will leverage QSV, so you will need to run this on compatible hardware, and ensure the container has access to your GPU of choice (usually via --device or similar)
You will need to create a Telegram bot via Botfather, and pass your bot's token to the container via the ENV TELEGRAM_BOT_TOKEN.
You will also need to create a cookies.txt (per https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp), and mount this to the container from the host.
Content type
Image
Digest
sha256:3169eaf42…
Size
154.3 MB
Last updated
2 days ago
docker pull aephk/telegram-bot