Telegram bot that wraps yt-dlp, which is a fork of youtube-dl, which is a program that downloads videos from YouTube and a few hundred other sites.
Ever wanted to forward your friends that hilarious TikTok or YouTube short or a video on Twitter? This is the use case I had in mind when I wrote it
Thanks to Dependabot and GitHub Actions, this bot will always be up-to-date with the latest version of yt-dlp. Whenever new version of yt-dlp, the following will happen:
- Dependabot will open a pull request to update the version of yt-dlp in the
pyproject.toml
file - GitHub action will automatically merge this pull request
- GitHub action will automatically build a new docker image
- (Irrelevant to anyone but me) argocd-image-updater in my cluster will detect this and roll out new version
It's also a very small project, just around 200 lines of code
- Telegram has a 50MB file size limit, so this bot will not download videos larger than that
- I did not write any test, so the whole automatic update is YOLO type of thing
MIT License