

GitHub - termux/termux-api: Termux add-on app which exposes device functionality...
source link: https://github.com/termux/termux-api
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Termux API
This is an app exposing Android API to command line usage and scripts or programs.
When developing or packaging, note that this app needs to be signed with the same key as the main Termux app for permissions to work (only the main Termux app are allowed to call the API methods in this app).
Installation
Termux:API application can be obtained from F-Droid.
Additionally we provide per-commit debug builds for those who want to try out the latest features or test their pull request. This build can be obtained from one of the workflow runs listed on Github Actions page.
Signature keys of all offered builds are different. Before you switch the installation source, you will have to uninstall the Termux application and all currently installed plugins.
License
Released under the GPLv3 license.
How API calls are made through the termux-api helper binary
The termux-api
client binary in the termux-api
package generates two linux anonymous namespace
sockets, and passes their address to the TermuxApiReceiver broadcast receiver
as in:
/system/bin/am broadcast ${BROADCAST_RECEIVER} --es socket_input ${INPUT_SOCKET} --es socket_output ${OUTPUT_SOCKET}
The two sockets are used to forward stdin from termux-api
to the relevant API
class and output from the API class to the stdout of termux-api
.
Client scripts
Client scripts which processes command line arguments before calling the
termux-api
helper binary are available in the termux-api package.
Ideas
- Wifi network search and connect.
- Add extra permissions to the app to (un)install apps, stop processes etc.
Recommend
-
118
README.md Termux Dotfiles Installation Screenshot
-
908
README.md TBomb This is a SMS Bomber for Debian Based Linux And Termux.. This Script is Only For Educational Purposes or To Prank. Do not Use Th...
-
31
buildAPKs -r--r--r-- setup.buildAPKs.bash -rwxr...
-
63
How To Editing option.json { "botName": "BOT_NAME", "ownerName": "OWNER_NAME", "BarBarKey": "YOUR_APIKEY", "ownerNumbers": "[email protected]", "languages": "ind", "botPrefix": ".", "memberLimi...
-
54
What is IP-Tracer ? IP-Tracer is used to track an ip address. IP-Tracer is developed for Termux and Linux based systems. you can easily retrieve ip address information using IP-Tracer. IP-Tracer use ip-api to track ip address.
-
25
termux-api让你的Termux访问手机系统功能 Termux可以让你的手机变成一台Linux服务器,这很好玩。但是另一方面手机拥有某些特殊的能力是一般Linux服务器所不具备的,比如打电话、发短信、照相等。 Termux 默认可以调用的手机功能不多,只有...
-
6
Termux packages This project contains scripts and patches to build packages for the Termux Android application. Quick how-to about Termux package management is available at
-
8
Dash Docs What's it This package provides an elisp interface to query and show documenation using Dash docsets. It doesn't require Dash app. Requirements s...
-
7
FCC accidentally exposes an Apple device with iOS 15.5 & 1.5GB RAM
-
16
Termux on android 5 or 6 agnostic-apollo edited this page Aug 30, 2022 ·
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK