https://github.com/miafoo/tele-dlp
A simple Telegram bot that allows you to send a supported link from yt-dlp, and it will respond with the video.
https://github.com/miafoo/tele-dlp
Last synced: about 1 year ago
JSON representation
A simple Telegram bot that allows you to send a supported link from yt-dlp, and it will respond with the video.
- Host: GitHub
- URL: https://github.com/miafoo/tele-dlp
- Owner: miafoo
- Created: 2025-01-10T19:29:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-10T20:54:33.000Z (over 1 year ago)
- Last Synced: 2025-03-04T21:02:04.333Z (about 1 year ago)
- Language: TypeScript
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple Telegram bot that allows you to send a supported link from yt-dlp, and it will respond with the video.
# Prerequisites
Make sure you have node 18+ and ffmpeg installed.
Set up [Telegram bot](https://core.telegram.org/bots/api) and get an access token.
# Usage
First, download the latest version of `yt-dlp`:
```bash
npm run download
```
Then make sure `yt-dlp` is executable:
```bash
chmod 700 yt-dlp
```
Finally, run the bot:
```bash
TELEGRAM_BOT_TOKEN= npm start
```
# Config
If you would like to set an allow list, you can do:
```bash
TELEGRAM_BOT_ALLOW_LIST=username1,username2,username3
```