::launching a telegram bot on the Android system through Termux::
Launching a telegram bot in Android via Termux. You don't have to pay for the domain and hosting, we'll run it in NodeJS in your Android device.
before starting the installation, register the bot @BotFather
for get a <bot_token> more detailed
and need get a User ID @userinfobot
for administration bot
Launching a TG Bot in the Android
First, install app Termux in F-Droidonly Android >= 7
, on Google Play does not work correctly. After in Termux, we writing commands:
pkg upd
pkg install git
git clone https://github.com/7ife/tgba
cd tgba
bash start.sh
if for some reason your device with turned off or rebooted, use this command to start:
cd tgba
bash rest.sh
Tested working on Android:
6.0
-ok,7.0
-ok,11.0
-ok
device: MEIZU PRO7, SAMSUNG S10 Lite
SAMSUNG A5Android 6.0
To make the bot work on an old Android, you need to install app Termux in Google Play