Skip to content
View Ownermood's full-sized avatar

Block or report Ownermood

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Ownermood/README.md

πŸ¦… GOLDEN EAGLE BOT β€” ULTIMATE EDITION

The most powerful Telegram Uploader / Downloader bot.
Smooth like butter Β· Futuristic Β· Professional Β· DRM & Non-DRM β€” A to Z.


✨ Features

Category What it does
πŸ“„ TXT Leech Extract & upload every video / pdf link from a .txt file
πŸ” DRM Decrypt Widevine / ClearKey DRM streams via mp4decrypt (Bento4)
🎞️ Non-DRM HLS (m3u8), MPD, direct MP4, YouTube, and more
🎬 YouTube /y2t (YT β†’ txt), /ytm (YT β†’ mp3), cookies support
πŸ“ Converters /t2t (text β†’ txt), /t2h (txt β†’ html)
πŸ’§ Watermark Custom video watermark text overlay
🎚️ Quality 144p β†’ 1080p selectable per session
πŸ‘₯ Premium System /add, /remove, /users, /plan with expiry tracking
πŸ“’ Broadcast /broadcast text/photo/video/doc to all users
πŸ“Š Live Health Futuristic auto-refreshing status dashboard

πŸ€– Commands

Users

/start    Bot status check & welcome
/y2t      YouTube β†’ .txt converter
/ytm      YouTube β†’ .mp3 downloader
/t2t      Text β†’ .txt generator
/t2h      .txt β†’ .html converter
/stop     Cancel running task
/cookies  Update YT cookies
/id       Get chat / user ID
/info     User details
/logs     View bot activity

Owner / Admin

/add <id> <days>   Grant premium access
/remove <id>       Revoke access
/users             List all premium users
/broadcast         Reply to a msg to broadcast it
/broadusers        List all broadcasting users
/reset             Reset & re-register commands

βš™οΈ Environment Variables

Copy .env.example β†’ .env and fill in:

Variable Required Description
API_ID βœ… From https://my.telegram.org
API_HASH βœ… From https://my.telegram.org
BOT_TOKEN βœ… From @BotFather
OWNER / OWNER_ID βœ… Your numeric Telegram ID
OWNER_ID2 ⬜ Second admin ID
MONGO_URL βœ… MongoDB Atlas connection string
DATABASE_NAME ⬜ Default: eagle
CREDIT / CREDIT_LINK ⬜ Branding

πŸš€ Deployment

Heroku (recommended β€” worker dyno, runs 24/7)

  1. Create app β†’ set stack to container
  2. Add all env vars above
  3. Deploy this repo, then scale the worker dyno:
    heroku stack:set container -a your-app
    git push heroku main
    heroku ps:scale worker=1 -a your-app

Render

  • Use the included render.yaml (Docker-based web service).

Local

pip install -r sainibots.txt
cp .env.example .env      # fill in values
python3 modules/main.py

🩺 Health Dashboard

Once deployed, open your app URL to see a live, glassmorphic status page:

  • βœ… green = bot connected (shows username, ID, uptime)
  • ⏳ amber = still starting
  • ❌ red = connection error (with reason)

GET /health returns JSON for uptime monitors.


πŸ› οΈ Architecture

modules/
β”œβ”€β”€ main.py            ← entry point, all command/callback handlers
β”œβ”€β”€ auth.py            ← premium user management
β”œβ”€β”€ broadcast.py       ← broadcast engine
β”œβ”€β”€ db.py (root)       ← MongoDB layer
β”œβ”€β”€ drm_handler.py     ← DRM decrypt engine (Widevine/ClearKey)
β”œβ”€β”€ saini.py           ← core download/upload helper
β”œβ”€β”€ html_handler.py    ← .txt β†’ .html
β”œβ”€β”€ youtube_handler.py ← YouTube/cookies
β”œβ”€β”€ text_handler.py    ← text β†’ .txt
β”œβ”€β”€ topic_handler.py   ← topic-in-caption logic
β”œβ”€β”€ utils.py           ← progress bar & helpers
└── vars.py            ← config & message templates

πŸ¦… Built for speed. Tuned for power. Smooth like butter.

Popular repositories Loading

  1. Ownermood Ownermood Public

    Config files for my GitHub profile.

    Python

  2. Uploder Uploder Public

    Python

  3. uploder-txt uploder-txt Public

    Forked from ownermood2/Own-Uploder-

    Python

  4. Saini-txt-direct Saini-txt-direct Public

    Forked from mlwbd/Saini-txt-direct

    Python

  5. Ultroid Ultroid Public

    Forked from TeamUltroid/Ultroid

    Advanced Multi-Featured Telegram UserBot, Built in Python Using Telethon lib.

    Python

  6. quiz quiz Public

    Forked from ownermood2/miss

    Python