Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

RoxyBasicNeedBot/File-Rename-4GB-Bot-Auto-Rename-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Roxy Rename Bot Logo

π—₯𝗒𝗫𝗬 π—₯π—˜π—‘π—”π— π—˜ 𝗕𝗒𝗧

Redefining Telegram File Management & Automation.
It’s high-performance, feature-packed, and fully optimized for files up to 4GB.

Official Website β€’ Features β€’ Deploy β€’ Configuration β€’ Support

Latest Version Forks Stars License Python Language MongoDB Telegram

Roxy Rename Bot isn’t just another generic rename wrapper. It’s a fully custom-built Telegram automation bot with advanced media handling capabilities, because we think your files should be renamed, customized, and managed exactly the way you expect. If you want something that actually feels good to use, this is it.


Important

System Requirements: A valid Telegram Bot Token from @BotFather, API ID, and API Hash are required. A Premium STRING_SESSION is mandatory for supporting files above 2GB up to 4GB.


✨ Features

⚑ Playback & Media Handling

  • πŸ“‚ Multi-Threaded Rename Engine: Processes multiple renaming requests concurrently with low latency and high reliability.
  • πŸš€ 4GB Super-Sized Uploads: Uses custom Pyrogram Premium User string sessions to bypass Telegram's default 2GB upload limit.
  • πŸ–ΌοΈ Permanent Custom Thumbnails: Save individual customized thumbnails (`.jpg`/`.png`) to bind to renamed files automatically.
  • ✍️ Dynamic Custom Captions: Embed placeholders like `{filename}`, `{filesize}`, `{duration}`, and `{ext}` into caption layouts.
  • 🏷️ Automated Prefix & Suffix: Configure static prefixes or suffixes to prepend or append to all renamed items.

🎬 Advanced Video Tools (FFmpeg Engine)

  • πŸ”€ Multi-Format Subtitle Muxer: Embed external SubRip (`.srt`) or Advanced SubStation Alpha (`.ass`) tracks directly into videos.
  • βœ‚οΈ Frame-Accurate Video Trimming: Cut video files to precise lengths using start/end timestamp configurations.
  • 🎡 Lossless Audio Extraction: Separate and extract audio tracks from any video and save them as high-quality `.mp3`/`.m4a` files.
  • πŸ—œοΈ Smart Video Compressor: Reduce file weights drastically while retaining crisp video fidelity.
  • 🎨 Custom Video Watermarking: Burn persistent text overlays or logos onto output files.

πŸ€– Automation & Smart Filters

  • πŸ€– Custom Extension Autorenaming: Create custom rules based on format types to process inputs without prompts.
  • πŸ“ Metadata Injector & Editor: Overwrite or embed title, artist, album, description, and copyright metadata tags.
  • πŸ”ž NSFW Content Scanner: Uses Hugging Face API models to scan, detect, and filter out sensitive or adult images and clips.
  • 🍿 TMDb Auto-Metadata: Fetches descriptions, cover arts, casting details, and ratings automatically for movie files.

πŸ›‘οΈ Administration & Premium Management

  • πŸ“Š Interactive Admin Dashboard: Control systems, monitor live resource usage, and review real-time activity statistics.
  • πŸ“’ Multi-Channel Force Sub: Block bot usage until users subscribe to up to two customizable Telegram channels.
  • πŸ’³ Tiered Subscription Options: Group users into plans (Trial, Bronze, Silver, Gold, Platinum, Diamond) with custom limits.
  • πŸ—‘οΈ Auto-Delete Storage Saver: Schedules automatic deletion of processed files to keep host resources clean.

πŸš€ DEPLOY ME

Koyeb Render
Deploy to Koyeb Deploy to Render
Railway Heroku
Deploy on Railway Deploy to Heroku

βš™οΈ ENVIRONMENT VARIABLES CONFIG (.env)

Deploy the bot locally or on cloud servers by setting up the environment. Copy .env.example to .env and fill in the parameters:

cp .env.example .env
Key Description
API_ID Your Telegram API ID from my.telegram.org (Required)
API_HASH Your Telegram API Hash from my.telegram.org (Required)
BOT_TOKEN Your Telegram Bot Token from @BotFather (Required)
DB_URL MongoDB connection URL (Required)
DB_NAME Database name (Default: Roxy_Rename_Bot)
ADMIN Telegram User IDs of administrators (Space-separated)
STRING_SESSION Premium session string for 4GB upload support (Optional)
FORCE_SUB Username or ID of the first force join channel (Optional)
FORCE_SUB2 Username or ID of the second force join channel (Optional)
TMDB_API_KEY TMDb API Key for movies auto-info (Optional)
NSFW_API_KEY HF API Key for adult filter (Optional)

πŸ–₯️ LOCAL RUN

Ensure Python 3.10+ and FFmpeg are installed on your machine.

  1. Install dependencies:
    pip install -r requirements.txt
  2. Start the bot:
    python bot.py

🀝 Acknowledgments

We stand on the shoulders of open-source giants:

  • Digital Rename Bot by DigitalBotz for the base project codebase.
  • Pyrogram / Pyrofork for the Telegram client framework.
  • FFmpeg for video processing engines.

Roxy Rename Bot Banner

If Roxy Rename Bot elevated your Telegram experience, please consider giving us a ⭐

About

πŸ€– Telegram bot to auto-rename files up to 4GB with custom patterns, thumbnail injection, metadata editing & multi-format support. Supports documents, videos & audio. Set rename rules once, bot handles the rest β€” built with Python, Pyrogram & MongoDB.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages