Automatic launch ChatBox on your own NGINX & PHP-FPM server in Android system through Termux. You don't have to pay for the domain, we'll run it in the Tor network as well as in Ngrok.
Launching a ChatBox in the Tor network
First, install app Termux in Google Play. After in Termux, we writing commands:
pkg update && pkg upgrade
pkg install git
git clone https://github.com/7ife/cbdw
cd cbdw
bash s.sh
When you have received your onion address, you can collapse the application and in any browser open address
localhost:8080
or127.0.0.1:8080
if you closed the tor, then to start it:
cd $HOME/cbdw
bash t.sh
if for some reason your device with the ChatBox turned off or rebooted, use this command to start:
cd $HOME/cbdw
bash b.sh
Launching a ChatBox in Ngrok
cd $HOME/cbdw
bash n.sh
Tested working on Android:
6.0
-ok,7.0
-ok,11.0
-ok
device: SAMSUNG A5, MEIZU PRO7, SAMSUNG S10 Lite