I created this bot back when the old StarHub app was horrible.
Navigating to the data usage page takes a few taps and every movement was being tracked (analytics).
Since I spend more time on Telegram, why not create a bot that simplifies the experience of retrieving that information?
The main tools used were:
- mitmproxy
- [GitHub] skylot/jadx to decompile My StarHub app
How this project is deployed is through
docker build -t starhub-tg-bot .
docker run -d --name starhub-tg-bot -v `pwd`/config:/app/config:ro starhub-tg-bot
docker run -d --name starhub-tg-bot -v `pwd`/config:/app/config:ro starhub-tg-bot && docker logs -f starhub-bot
docker run -d --rm --name starhub-tg-bot -v `pwd`/config:/app/config:ro starhub-tg-bot && docker logs -f starhub-bot
I am currently using Pipenv to manage the packages required for this project.
Pipenv sets the Python version to 3.9.
Follow this guide to install Pipenv.
To install all the required packages from Pipfile:
pipenv install
To activate a shell with all the packages:
pipenv shell
To run the bot:
python3 /src/main.py