Skip to content

Popeye68/TXT-EXTRACTOR

Repository files navigation


⚙️ Features

  • Extracts Txt from AppxV2 & AppxV3 platforms
  • Supports Khan GS, ClassPlus, and PW (PhysicsWallah)
  • Token-based and login-based extraction supported
  • Clean UI with Telegram buttons (use /start to begin)
  • Admin-only premium controls available in modules/

🚀 How to Use

Just send /start — all features are handled via buttons.


📸 Screenshots




🔑 Required Environment Variables (.env)

You need to set the following variables for the bot to run. These are read using os.environ.get() in the code.

API_ID=123456               # Get from https://my.telegram.org
API_HASH=your_api_hash     # Get from https://my.telegram.org
BOT_TOKEN=your_bot_token   # Get from https://t.me/BotFather
OWNER_ID=123456789         # Your Telegram user ID
SUDO_USERS=123456789 987654321  # Space-separated admin user IDs
MONGO_URL=mongodb+srv://user:[email protected]/...  # MongoDB connection URI
CHANNEL_ID=-100xxxxxxxxxx  # Telegram channel ID with -100 prefix

Where to get these?
API_ID & API_HASHmy.telegram.org → API Development Tools
BOT_TOKEN@BotFather
OWNER_ID, SUDO_USERS → Get your Telegram ID from @userinfobot
CHANNEL_ID → Right-click channel > Copy ID (if bot is admin)
MONGO_URL → From your MongoDB Atlas project dashboard


☁️ Deploy to Render

Deploy to Render

☁️ Deploy to Heroku (Manual)

1. Fork this repo
2. Create a new Heroku app
3. Set buildpacks: heroku/python
4. Add env variables: API_ID, API_HASH, BOT_TOKEN, etc.
5. Deploy your app and scale worker to 1

🖥️ VPS Installation

sudo apt update && sudo apt install git python3-pip -y
git clone https://github.com/Popeye68/TXT-EXTRACTOR
cd TXT-EXTRACTOR
pip3 install -r requirements.txt

# Set your API credentials
export API_ID=123456
export API_HASH=your_api_hash
export BOT_TOKEN=your_bot_token

# Run the bot
python3 bot.py

🔧 Customize Freely

Feel free to fork this repo, add your own tweaks, and build your own version.


⭐ GitHub Buttons


Made with ❤️ by Spidy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages