Skip to content

Latest commit

 

History

History
300 lines (226 loc) · 9.79 KB

File metadata and controls

300 lines (226 loc) · 9.79 KB

Cover Image

🚀 AV FILE TO LINK PRO 🚀

Demo Bot    Support Group

🚀 ALL VARIABLES

📌 Mandatory Variables (Zaroori Hain)
  • API_ID - Get from my.telegram.org
  • API_HASH - Get from my.telegram.org
  • BOT_TOKEN - Get from @BotFather
  • ADMINS - User IDs of Admins (Space separated)
  • OWNER_USERNAME - Your Telegram Username (without @)
  • DATABASE_URI - MongoDB Connection String from MongoDB Atlas
  • BIN_CHANNEL - Private Channel ID for Files (Start with -100)
  • LOG_CHANNEL - Private Channel ID for Logs (Start with -100)
  • URL - Your App URL (e.g. https://av-bot.koyeb.app/)
⚙️ Feature Settings (True/False)
  • IS_VERIFY - Enable 1st Verification (True/False)
  • IS_SECOND_VERIFY - Enable 2nd Verification (True/False)
  • IS_SHORTLINK - Enable Shortener System (True/False)
  • FSUB - Enable Force Subscribe (True/False)
  • ENABLE_LIMIT - Enable File Limits (True/False)
  • MAINTENANCE_MODE - Enable Maintenance Mode (True/False)
🔗 Shortener & Links
  • SHORTLINK_URL - Domain of 1st Shortener (e.g. mdiskshortner.link)
  • SHORTLINK_API - API Key of 1st Shortener
  • SHORTENER_WEBSITE2 - Domain of 2nd Shortener
  • SHORTENER_API2 - API Key of 2nd Shortener
  • TUTORIAL_LINK_1 - Video Tutorial for 1st Verify
  • TUTORIAL_LINK_2 - Video Tutorial for 2nd Verify
  • CHANNEL - Your Updates Channel Link
  • SUPPORT - Your Support Group Link
🌐 Server Config (Optional)
  • PORT - Default 8080 (Best for Koyeb/Render)
  • URL - Your App URL (e.g. https://av-bot.koyeb.app/)
  • WORKERS - Number of Workers (Default: 4)
  • AUTH_CHANNEL - Force Subscribe Channel IDs (Space separated)

ALL .env

⚙️ Setting up things :

📍 If you're on Cloud (Heroku/Render/Koyeb): Add these in the Environment Variables settings.

🖥️ If you're hosting locally (VPS): Create a file named .env in the root directory and add all the variables there.

📝 Example of .env file:

API_HASH=d927c13beaaf5110f25c505b7c071273
BOT_TOKEN=70968:AAGqBywYUNDPLihDt4U2j4IF0GDo
ADMINS=5977931010 123456789
OWNER_USERNAME=BOT_OWNER26
DATABASE_URI=mongodb+srv://AVBOTz:password@cluster0.uyhm.mongodb.net/?retryWrites=true&w=majority
BIN_CHANNEL=-1002114619001
LOG_CHANNEL=-1002114619001
PORT=8080
URL=https://av-bot-pro.koyeb.app/

🛠️ ALL COMMANDS

📋 Tap On Me For Commands
start             - Check if the bot is running
help              - Show the help menu
about             - Show about info
files             - List your uploaded files
del_files         - Delete your uploaded files
plan              - Show available premium plans
myplan            - Show your current plan
batch             - Enable advance batch mode for multiple files
link              - Get support group link
password          - Set password for your links
ban               - Ban a user [FOR ADMINS ONLY]
unban             - Unban a user [FOR ADMINS ONLY]
broadcast         - Send broadcast message [FOR ADMINS ONLY]
pin_broadcast     - Pin broadcast message [FOR ADMINS ONLY]
restart           - Restart the bot [FOR ADMINS ONLY]
stats             - Show bot statistics [FOR ADMINS ONLY]
blocked           - List of blocked users [FOR ADMINS ONLY]
add_premium       - Grant premium access to a user [FOR ADMINS ONLY]
remove_premium    - Remove premium access [FOR ADMINS ONLY]
premium_user      - List all premium users [FOR ADMINS ONLY]
add_point         - Add referral points to user [FOR ADMINS ONLY]
remove_point      - Remove referral points from user [FOR ADMINS ONLY]
check_pass        - Check all saved passwords [FOR ADMINS ONLY]
delete_pass       - Delete a specific password [FOR ADMINS ONLY]
file_stats        - Check overall file statistics  [FOR ADMINS ONLY]
delfile           - Delete all files of a specific user [FOR ADMINS ONLY]

🚀 ALL DEPLOYMENT METHODS

📦 Tap On Me For Deployment

🔹 DEPLOY ON RENDER


DEPLOY ON RENDER


🔹 DEPLOY ON KOYEB


DEPLOY ON KOYEB


🔹 DEPLOY ON HEROKU


DEPLOY ON HEROKU


🔹 DEPLOY ON VPS

# 1. Clone Repository
git clone [https://github.com/Botsthe/AV-FILE-TO-LINK-PRO.git](https://github.com/Botsthe/AV-FILE-TO-LINK-PRO.git)
cd AV-FILE-TO-LINK-PRO

# 2. Install Requirements
pip3 install -U -r requirements.txt

# 3. Create .env file and fill details (or edit info.py)
nano .env

# 4. Run Bot
python3 bot.py

🌟 ALL FEATURES

🔹 Tap to View User & Web Features
  • 🚀 High-Speed Streaming: Instant Direct Download & Stream Links.
  • 🔐 Password Protection: Users can set passwords for their links.
  • 🎬 Custom Web Player: HTML5 Player with Thumbnail support.
  • 🌓 Smart Web UI: Auto Dark/Light Mode with Particle Animations.
  • 📂 Batch Processing: Convert multiple files into links at once.
  • 🛡️ Web Security: Anti-Inspect & Safe Browsing Layer.
  • 📢 Force Subscribe: Users must join channel to access files.
  • ℹ️ File Info: Shows Name, Size, and Type details.
  • 📱 Mobile Optimized: Responsive design for all devices.
  • 🚫 Ad-Free Experience: Clean links without annoying ads.
🔸 Tap to View Admin & Premium Features
  • 💎 Premium System: Manage Premium Users with Expiry dates.
  • 💰 Referral System: Point-based system for user rewards.
  • 🔗 Dual Shortener: Support for 2 Shorteners for monetization.
  • 💧 Watermarking: Custom Text Watermark on Web Player.
  • 🛠 Maintenance Mode: Toggle bot On/Off during updates.
  • 📊 Advanced Stats: View Total Users, Files, and Storage usage.
  • 🚫 Ban/Unban: Block specific users or channels easily.
  • 📢 Broadcast: Send text or forwarded messages to all users.
  • 🔑 Password Manager: Check or Delete user passwords.
  • 🗑 Bulk Delete: Delete all files of a specific user.
  • ☁️ Multi-Deploy: Ready for Koyeb, Render, Heroku & VPS.

👨‍💻 DEVELOPER & CREDITS

👑 OWNER & DEVELOPER: 𝙰𝙼𝙰𝙽 𝚅𝙸𝚂𝙷𝚆𝙰𝙺𝙰𝚁𝙼𝙰

GitHub   Telegram   Website


💖 SUPPORT & DONATION

If you like this project, please consider donating to keep the servers alive!

Every donation helps in maintaining the bot and adding new features!


📜 LICENSE

This project is licensed under the GNU General Public License v3.0.

License


📌 IMPORTANT NOTE

𝘊𝘰𝘱𝘺𝘪𝘯𝘨 𝘰𝘳 𝘚𝘦𝘭𝘭𝘪𝘯𝘨 𝘵𝘩𝘪𝘴 𝘳𝘦𝘱𝘰 𝘪𝘴 𝘴𝘵𝘳𝘪𝘤𝘵𝘭𝘺 𝘱𝘳𝘰𝘩𝘪𝘣𝘪𝘵𝘦𝘥.

This project is protected by Copyright © 2025 AV BOTZ.
Any violation will be reported immediately.


Powered by AV BOTZ © 2025