Welcome to the Uploader Bot! This Python-based bot is specifically designed for content creators 📸 who need to upload multiple files and thumbnails in bulk to Telegram 📱. It automates the process, saving you time and effort! 🎯
- 🔄 Auto-Zip: Automatically compresses folders and their contents into
.zipfiles. - 📝 Make: Generates a
.txtfile that contains folder details for structured uploads. - ⚡ Uploader: Uploads files and thumbnails in batches via Telegram Bot.
- 🔧 Network Handling: If the bot encounters network issues or crashes, it saves the progress and resumes from where it left off. No uploads are lost! 🔄
- Introduced cooling-down time between uploads to prevent excessive CPU usage and avoid Telegram flood wait issues.
- Boosted upload speed for smoother performance.
- Added real-time counters to track:
- Uploaded files.
- Remaining files.
- Failed uploads.
- Implemented AI-based error detection and recovery, reducing interruptions during uploads.
- Enhanced color scheme for better readability and reduced eye strain.
- Release History:
Version 1.0: December 3, 2024 (Initial Release)Version 2.0: January 2, 2025 (Major Update)Version 2.1: January 2, 2025 (Current Update)
- License: Licensed under the License.
- This bot is strictly for private use. Redistribution, publication, or selling is prohibited.
- Before using, ensure you have the proper rights to utilize this bot.
- Real-time Upload Progress: Displays uploaded, remaining, and failed counts.
- Cooling-Down Time: Automatically pauses uploads briefly to prevent system overload and Telegram limits.
- Enhanced Console Output: Optimized color-coded terminal messages for a professional and comfortable experience.
- AI Error Handling: Automatically detects and resolves errors during uploads.
To get started, you'll need the following:
- 💻 Python 3.7+
- 📱 Telegram API credentials (API ID & Hash)
- 📦 Pyrogram v2 library
- 🔧 Additional Python libraries:
tqdm,colorama,decouple
git clone https://github.com/ankit-chaubey/uploader-bot.git
cd uploader-botEnsure you have Python 3.7+ installed, then install all the required libraries:
pip install -r requirements.txt
If you don't have a requirements.txt file, here’s what it should include for the new libraries:
pyrogram==2.x
tqdm
colorama
decouple
-
Visit Telegram's API Development Tools and log in with your phone number.
-
Create a new application to get your API ID and API Hash.
-
Add your credentials to config.py or set them as environment variables.
API_ID = 'your_api_id_here'
API_HASH = 'your_api_hash_here'
BOT_TOKEN = 'your_bot_token_here'
📝 Usage Instructions
Step 1: Run autozip.py
This script will automatically zip each folder and place the .zip file inside the respective folder.
python autozip.py
Step 2: Run make.py
This will generate a txt file for each folder, containing details of the files and thumbnails for easy batch uploading.
python make.py
Step 3: Run uploader.py
Finally, run the bot to upload your files and thumbnails in batches. The bot will also handle network issues, ensuring that uploads resume from where they left off in case of any interruptions.
python uploader.py
The bot is designed to handle network interruptions. If there's a crash or disconnect, it saves the progress so uploads can continue from where they were interrupted. This ensures no data loss during the upload process! 🔄
This bot is private and not yet publicly available for everyone. However, if you really need it and think it would benefit you, feel free to contact me. I'll review your request and may provide access if I feel it's the right fit! 💌
This project is licensed under the License. See the LICENSE file for more details. 📜
Contributions are welcome! If you have suggestions or would like to improve the bot, feel free to fork the repository and submit a pull request. Let's make this bot even better together! 💪
For any questions or if you'd like to request access to the bot:
- Email: m.ankitchaubey@gmail.com
- Telegram: @ankit_chaubey
Thank you for checking out the Uploader Bot! Happy uploading! 🚀🎉