Skip to content

A high-performance tool for uploading files to Telegram with support for video streaming, folder structure preservation, and automatic format conversion.

License

Notifications You must be signed in to change notification settings

ronen1n/Telegram-Fast-Uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Fast Uploader

A high-performance tool for uploading files to Telegram with support for video streaming, folder structure preservation, and automatic format conversion.

Features

  • Fast recursive file uploads using Telethon and FastTelethon
  • Video streaming support with automatic MP4 conversion
  • Video quality selection (720p, 1080p, original)
  • Automatic thumbnail generation
  • Progress tracking with detailed status bars
  • Duplicate upload prevention
  • GPU acceleration support for video conversion (NVIDIA)
  • Subtitle handling and burning capabilities
  • Maintains folder hierarchy in Telegram messages
  • File size limit checks (2GB/4GB)
  • Comprehensive error handling

Some bugs still exists so use at your own risk

Requirements

  • Python 3.6+
  • ffmpeg (winget install ffmpeg)
  • Required Python packages:
    • telethon
    • FastTelethon (file in this git)
    • ffmpeg-python
    • tqdm
    • cryptg

Setup

  1. Clone the repository:
git clone https://github.com/ronen1n/Telegram-Fast-Uploader.git
  1. Install dependencies:
pip install -r requirements.txt
  1. Get Telegram API credentials:
    • Visit https://my.telegram.org
    • Login and go to "API development tools"
    • Create a new application
    • Copy api_id and api_hash
    • Update these values in the script

Usage

List available chats:

python Telegram_Fast_Uploader.py list-chats

Upload files:

python Telegram_Fast_Uploader.py upload <folder_path> --chat-id <chat_id>

Example:

python Telegram_Fast_Uploader.py upload "C:\Videos" --chat-id "-1002392769999"

License

MIT License - See LICENSE file for details.

About

A high-performance tool for uploading files to Telegram with support for video streaming, folder structure preservation, and automatic format conversion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages