bml-tg-notify/README.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

2021-05-13 22:40:24 +05:00
# BML-TG-NOTIFICATION
## Push Notification BML Transcations to Telegram
### Requriements
`curl` `jq`
- Install with whatever package manager you use.
2021-05-13 22:57:53 +05:00
### There's catch!
- BML do NOT allow you to be logged in more than 1 device at a time, So when this script runs and if you were using Mobile App or Website you will be logged out! \
Which is why I have added a delay to change how often script logs into account and check for new transactions, This can be configured when you set up. \
You either get fast notification but with less time to use app to do whatever you do OR take as much as time you want to use app but slow notifications.
### Is it safe?
- Probably, I will not take resposibilty to whatever you do with this script, Understand how this works before proceeding.
2021-05-13 22:40:24 +05:00
### Setup
```
git clone https://github.com/shihaamabr/bml-tg-notify.git
cd bml-tg-notify
chmod +x bml-tg-notify.sh
2021-05-13 22:57:53 +05:00
mv env.sample .env
2021-05-13 22:40:24 +05:00
```
2021-05-13 22:57:53 +05:00
- Edit the contents of .env to your config `nano .env`
- Optionally edit delay `echo XX > delay` where XX is the time in seconds you want to delay script run, By default this is set to 160. Please note that if the XX value is less than a certain value, your IP could blocked by CloudFlare for DoS attack.
2021-05-13 22:40:24 +05:00
```
./bml-tg-notify.sh
```
### Bugs
- You tell me :)