The Bulk Upload Bot is an advanced Telegram bot designed to automate the process of uploading large numbers of PDFs and videos. It leverages the power of parallel file transfers to ensure super-fast uploads, making it an ideal solution for content creators, educators, and anyone in need of distributing large files efficiently.
- Parallel File Transfers: Utilizes a sophisticated script to upload files in parallel, significantly speeding up the process.
- Video and PDF Support: Seamlessly handles both video and PDF files, ensuring a wide range of content can be uploaded.
- Automatic Thumbnail Generation: Generates thumbnails for videos to provide a preview of the content.
- Sanitized Filenames: Cleans up filenames to ensure compatibility with various operating systems and Telegram's file handling.
- Environment Variable Configuration: Easy setup with
.env
file to manage API keys and tokens. - Asynchronous Operations: Built with
asyncio
anduvloop
for non-blocking I/O operations, ensuring the bot remains responsive.
- Clone the repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt
. - Create a
.env
file with your TelegramAPI_ID
,API_HASH
, andBOT_TOKEN
. - Run the bot using
python bot.py
.
- Start the bot with the
/start
command. - Send a
.txt
file with the URLs of the videos and PDFs you wish to upload, formatted asfilename:url
. - The bot will download and upload the files to the chat.
- Telethon
- yt-dlp
- ffmpeg
- cv2 (OpenCV)
- dotenv
Contributions are welcome! Please fork the repository and submit a pull request with your proposed changes.
Distributed under the MIT License. See LICENSE
for more information.
For support or queries, please open an issue in the GitHub repository.
Enjoy your experience with Bulk Upload Bot for Telegram!