A PHP Single Page Web Application to execute Termux:API commands remotely from any device
- Termux App and Termux:API installed with all necessary permissions granted.
php
,php-apache
andapache2
package must be installed in Termux app.
- Configure your webserver in Termux as shown here or you may setup in your own way.
- Place the api.php file in the configured DocumentRoot folder.
- Run the server using
apachectl start
. - You can now browse the file from any connected device and execute commands.