Skip to content

Akash8t2/Orangecarrier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

""" Orange Carrier Telegram Bot

πŸš€ A Python bot that logs into multiple Orange Carrier accounts, fetches CDR records, and sends them directly to a Telegram group/channel.


✨ Features

  • βœ… Multi-account support (parallel login & CDR fetch)
  • βœ… Sends new call records (CLI, To, Time, Duration, Type) to Telegram
  • βœ… Prevents duplicate messages
  • βœ… /start command support
  • βœ… Hourly heartbeat message ("Bot active hai...")
  • βœ… Heroku-ready (Procfile, runtime.txt, app.json included)

πŸ›  Deployment

  1. Clone Repo: git clone https://github.com/Akash8t2/Orangecarrier.git cd Orangecarrier

  2. Set Environment Variables:

    • BOT_TOKEN β†’ Your Telegram Bot Token
    • CHAT_ID β†’ Telegram Group/Chat ID (e.g., -100123456789)
    • ACCOUNTS β†’ JSON list of Orange Carrier accounts

    Example ACCOUNTS: [ {"email": "user1@example.com", "password": "pass1"}, {"email": "user2@example.com", "password": "pass2"} ]

  3. Deploy to Heroku: Use the Deploy Button:

    πŸš€ Deploy to Heroku

Click the button above to instantly deploy this bot to Heroku and get it running in minutes!


πŸ“‚ Project Structure

Orangecarrier/ │── orange_bot.py # Main bot script │── requirements.txt # Python dependencies │── Procfile # Heroku process definition │── runtime.txt # Python runtime version │── app.json # Heroku deploy config


⚑ Tech Stack

  • Python 3.10+
  • httpx (HTTP client)
  • BeautifulSoup4 (HTML parsing)
  • python-telegram-bot (Telegram API)

πŸ“¬ Contact

πŸ‘€ Author: Akash πŸ’¬ Telegram: @botcasx πŸ“¦ GitHub: https://github.com/Akash8t2


πŸ“œ License

MIT License Β© 2025 Akash """

About

πŸ”§ Short GitHub Repo Description A multi-account Orange Carrier CDR fetcher with Telegram bot integration. Fetches CDR records from multiple Orange Carrier accounts, sends them to a Telegram group, supports /start command, and hourly heartbeat messages. Ready for Heroku deployment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors