Telegram bot written in Node.js for downloading short videos from internet and serving them as native videos in Telegram. Ensures privacy as users do not need to visit websites to download content.
- Supports Telegram groups. (/dl [URL] command)
- Original message deletion.
- Converts videos to MP4 automatically.
- Whitelisting domains for automatic downloading in groups.
- Multiple videos download from single message.
-
Clone the repository:
git clone https://github.com/Nikamura/klaid-bot.git
-
Navigate to the project directory:
cd klaid-bot/
-
Install dependencies:
pnpm install
-
Set up your environment variables (refer to .env.example for required keys).
-
Start the bot:
pnpm run start
- Start chat with Telegram bot.
- Send bot a video link.
- Receive the MP4 video!
or
- Add Telegram bot to your group chat.
- Send a command /dl (or /download) [URL] [URL] or a message with whitelisted domains.
- Receive the MP4 video!
- optional Make Bot user an admin in your group chat for request message cleanup.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is open-source and available under the MIT License.
Built with passion by Karolis Mazukna.