Skip to content

Nikamura/klaid-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Klaid - Media Download Telegram Bot ๐ŸŽฅ๐Ÿค–

Telegram bot written in Node.js for downloading videos and image galleries from the internet and serving them as native media in Telegram. Uses yt-dlp for videos and gallery-dl for image galleries. Ensures privacy as users do not need to visit websites to download content.

klaid logo

Features ๐ŸŒŸ

  • Supports Telegram groups. (/dl [URL] command)
  • Original message deletion.
  • Converts videos to MP4 automatically.
  • Image gallery downloads (Instagram carousels, Reddit galleries, etc.) via gallery-dl.
  • Automatic detection โ€” tries video first, falls back to gallery.
  • Whitelisting domains for automatic downloading in groups.
  • Multiple media downloads from single message.

Installation ๐Ÿ› ๏ธ

  1. Clone the repository:

    git clone https://github.com/Nikamura/klaid-bot.git
  2. Navigate to the project directory:

    cd klaid-bot/
  3. Install dependencies:

    pnpm install
  4. Set up your environment variables (refer to .env.example for required keys).

  5. Start the bot:

    pnpm run start

Usage ๐Ÿš€

  1. Start chat with Telegram bot.
  2. Send bot a video or gallery link.
  3. Receive the media!

or

  1. Add Telegram bot to your group chat.
  2. Send a command /dl (or /download) [URL] [URL] or a message with whitelisted domains.
  3. Receive the video or gallery!
  4. optional Make Bot user an admin in your group chat for request message cleanup.

Contributing ๐Ÿค

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License ๐Ÿ“

This project is open-source and available under the MIT License.

Credits โค๏ธ

Built with passion by Karolis Mazukna.

About

Klaid - Media Download Telegram Bot ๐ŸŽฅ๐Ÿ–ผ๏ธ๐Ÿค–

Topics

Resources

License

Stars

Watchers

Forks

Contributors