abduznik38 downloadsExecute Termux commands directly via a local HTTP bridge.
A plugin that connects Obsidian to Termux via a local HTTP bridge, bypassing Android Intent restrictions. It allows you to run shell commands on your Android device directly from Obsidian.
Open Termux and run the following command to automatically set up the environment, download the server, and generate a security token. You can also copy this command directly from the Obsidian plugin settings.
curl -sL https://raw.githubusercontent.com/abduznik/obsidian-shell-termux/main/scripts/install.sh | bash
What this script does:
obsidian_server.py bridge script.~/.bashrc to auto-start the server when you open Termux.After the script finishes: It will display a Security Token. Copy this token; you will need to paste it into the Obsidian plugin settings.
8085. Ensure this matches the port in the python script if you changed it.~/.obsidian_termux_token if you lost it).Open the "Termux Terminal" view from the ribbon or command palette.
nano, vim, top, etc.) are blocked to prevent freezing.pkg install commands require the -y flag (e.g., pkg install git -y).ls -la: List files in your Termux home directory.git status: Check the status of a git repository (if you are in the correct directory).python --version: Check the installed Python version.To remove the server script and stop the background process, run the following command in Termux (also available in plugin settings):
curl -sL https://raw.githubusercontent.com/abduznik/obsidian-shell-termux/main/scripts/uninstall.sh | bash
~/bin/obsidian_server.py to change the port, and update the Obsidian plugin settings to match.