Termux-TUI Enhanced
███
░░░███
░░░███
░░░███
███░
███░
███░ █████████
░░░ ░░░░░░░░░
TERMUX DASHBOARD v2.0
A comprehensive terminal user interface for Termux with plugin system, built with Textual. Features live system monitoring, package management, 39 installable tools, 24 system commands, and 14 applications.
Star History
New Features (v2.0)
Plugin Architecture - Modular system for tools, apps, and system commands
Theme Customizer (Ctrl+T) - 8 built-in themes + custom colors
Keyboard Shortcuts (F1) - Complete reference guide
System Dashboard - Real-time metrics with graphs
Process Manager - View, search, and kill processes
Network Scanner - Ping sweep, port scan, SYN scan
Log Viewer - Browse and filter system logs
Config Editor - Edit config files with syntax highlighting
Package Manager UI - Visual pkg frontend
Global Hotkeys - Ctrl+T, Ctrl+R, Ctrl+Q, F1
Tabs Overview
Home
Live clock, battery, memory, weather
Recent commands from history
Package update/install controls
Shell command input with output log
Organized by category:
Reverse Engineering : apktool, jadx
Exploitation : metasploit, sqlmap, burpsuite
Reconnaissance : nmap, tshark
Cracking : hydra, john, hashcat
Utilities : ytdlp, ffmpeg, scrcpy, btop, glow, fzf, ripgrep, fd, bat, eza, tldr, lazydocker
Development : nodejs, golang, rust, ruby, git, docker, terraform, kubectl, helm, ansible, delta, gh, httpie
Wireless : aircrack
Networking : openssh, tor
Package Manager : termux-app-store
System (23 commands)
Battery, WiFi, Location, Telephony, Camera, Sensors
Public IP, Storage, Uptime, Processes, Connections
Speedtest, Notifications, SMS
New : CPU, GPU, Network I/O, Disk I/O, Thermal, Memory Details, Kernel, Docker, Kubernetes
Apps (14 apps)
File Browser - Full file management
Music Player - Playback, playlists, shuffle/repeat
Dialer - Contacts, call logs, dialer
YTmp3 - YouTube audio downloader
GitHub Explorer - Repository finder
Browser - Text-based web browser
Process Manager - Process list, kill, details
Network Scanner - Ping/port/SYN scanning
Log Viewer - System log browser with filters
Config Editor - Syntax-highlighted config editing
System Dashboard - Real-time metrics dashboard
Package Manager - Visual package manager
Theme Customizer - Theme editor with live preview
Shortcuts - Keyboard reference
Plugins
Enable/disable tools, apps, and system commands
View plugin status and metadata
Keyboard Shortcuts
Key
Action
Ctrl+T
Open Theme Customizer
Ctrl+R
Refresh All Data
Ctrl+Q
Quit Application
F1
Show Shortcuts Reference
Esc
Close Screen/Dialog
Tab
Next Focusable
Shift+Tab
Previous Focusable
← / →
Switch tab (while the tab bar is focused)
App-Specific Shortcuts
Process Manager : R=Refresh, K=Kill (press twice to confirm), S=Search, Enter=Details
Network Scanner : Enter=Scan, Stop=Stop
Log Viewer : R=Reload, F=Filter, C=Clear, G=Go to line
Config Editor : Ctrl+S=Save, Ctrl+R=Reload
System Dashboard : R=Refresh
Package Manager : I=Install, R=Remove (press twice to confirm), U=Update, S=Search
Music Player : tap the play / previous / next buttons (it has no key bindings)
Themes
8 built-in themes:
Jarvis (Default) - Cyan/Green on dark
Dark - Purple/Blue on dark
Light - Blue/Green on light
Dracula - Purple/Green on dark
Nord - Blue/Green on arctic
Solarized Dark - Blue/Green on solarized
Gruvbox - Orange/Green on warm dark
Monokai - Green/Blue on monokai
Customize colors in Theme Customizer (Ctrl+T) with live preview!
Installation
git clone https://github.com/your-repo/Termux-TUI.git
cd Termux-TUI
# Install dependencies
pkg install python termux-api termux-tools
pip install -r requirements.txt
# Run
python main.py
# Next Time
python Termux-TUI
Requirements
Termux (latest)
termux-api (for system commands)
termux-tools (for additional utilities)
Python 3.10+
Dependencies in requirements.txt:
textual ≥ 0.52.0
rich ≥ 13.7.0
speedtest-cli ≥ 2.1.3
requests ≥ 2.31.0
pyyaml ≥ 6.0.1
tomli ≥ 2.0.1
Architecture
Termux-TUI/
├── main.py # Main application with plugin system
├── plugins/ # Plugin system
│ ├── __init__.py # Exports
│ ├── base.py # Base plugin classes
│ ├── manager.py # Plugin manager
│ ├── tools/ # 39 tool plugins
│ ├── apps/ # 8 app plugins
│ └── system/ # 24 system command plugins
├── utils/
│ ├── constants.py # Constants, CSS, tool definitions
│ ├── helpers.py # Helper functions
│ └── apps/ # Original app implementations
│ ├── dialer.py
│ ├── file_manager.py
│ ├── music_player.py
│ ├── ytmp3.py
│ ├── github_repo_finder.py
│ ├── orion.py
│ ├── browser.py
│ └── app_utils/ # App utilities
└── requirements.txt
Plugin Development
# plugins/tools/mytool.py
from plugins.base import ToolPlugin, ToolMetadata, ToolStep
def register_plugin() -> ToolPlugin:
metadata = ToolMetadata(
id="mytool",
name="My Tool",
description="Does amazing things",
category="Utilities",
steps=[
ToolStep(command="pkg install mytool -y", description="Install mytool"),
],
verify_command="mytool --version",
)
return ToolPlugin(metadata)
PLUGIN = register_plugin()
Creating an App Plugin
# plugins/apps/myapp.py
from textual.app import ComposeResult
from textual.screen import Screen
from textual.widgets import Static
class MyAppScreen(Screen):
def compose(self) -> ComposeResult:
yield Static("Hello from My App!")
def register_plugin():
from plugins.base import AppPlugin, AppMetadata
metadata = AppMetadata(
id="myapp",
name="My App",
description="My custom app",
category="Custom",
icon="⭐",
screen_class="plugins.apps.myapp.MyAppScreen",
)
return AppPlugin(metadata)
PLUGIN = register_plugin()
Creating a System Command Plugin
# plugins/system/mycommand.py
from plugins.base import SystemCommandPlugin, SystemCommandMetadata
def register_plugin() -> SystemCommandPlugin:
metadata = SystemCommandMetadata(
id="mycommand",
name="My Command",
description="Shows something useful",
command="my-command --json",
json_output=True,
timeout=10,
)
return SystemCommandPlugin(metadata)
PLUGIN = register_plugin()
Configuration
Config file: ~/.termux_tui_config.json
{
"theme": "jarvis",
"custom_colors": {
"primary": "#00ffff",
"secondary": "#00ff41",
"background": "#0a0a0f",
"surface": "#050510",
"border": "#1a1a3e",
"text": "#00ffff",
"text_dim": "#444466",
"success": "#00ff41",
"warning": "#ffaa00",
"error": "#ff0000"
}
}
Plugin config: ~/.termux_tui_plugins.json (auto-generated)
Security Notes
Some tools install security/pentesting utilities
Use only on systems you own or have permission to test
Termux API features require Termux:API app and Android permissions
Root not required for most features
License
MIT License. Do anything. Just don’t be evil. See LICENSE.md .
Contributing
Fork the repository
Create a plugin in the appropriate plugins/ subdirectory
Test thoroughly
Submit a pull request
Credits
Built with Textual
Inspired by Termux and the Termux community
Icons from various emoji sets
评论