diff --git a/bml-tg-notify/README.md b/bml-tg-notify/README.md index 127c2b6..061e0e6 100644 --- a/bml-tg-notify/README.md +++ b/bml-tg-notify/README.md @@ -1 +1,18 @@ -Telegra notification when you recive or send money from BML +# BM-TG-NOTIFICATION + +## Receive telegram notification when you receive money to your BML Account + +### Requriements +`curl` +- Install curl with whatever package manager you use. + +### Setup +``` +curl https://raw.githubusercontent.com/shihaamabr/sarmic/master/bml-tg-notify/bml-tg-notify.sh > bml-tg-notify.sh +curl https://raw.githubusercontent.com/shihaamabr/sarmic/master/bml-tg-notify/env > .env +``` +- edit the contents of .env to your config +``` +chmod +x bml-tg-notify.sh +./bml-tg-notify.sh +``` diff --git a/bml-tg-notify/env b/bml-tg-notify/env new file mode 100644 index 0000000..c83b59b --- /dev/null +++ b/bml-tg-notify/env @@ -0,0 +1,6 @@ +BML_USERNAME='' +BML_PASSWORD='' +BML_ACCOUNTID='' +TG_BOT_TOKEN='' +TG_CHATID='' +SLEEP=30 diff --git a/bml-tg-notify/env.sample b/bml-tg-notify/env.sample new file mode 100644 index 0000000..c83b59b --- /dev/null +++ b/bml-tg-notify/env.sample @@ -0,0 +1,6 @@ +BML_USERNAME='' +BML_PASSWORD='' +BML_ACCOUNTID='' +TG_BOT_TOKEN='' +TG_CHATID='' +SLEEP=30