2 unstable releases
0.2.0 | Apr 22, 2025 |
---|---|
0.1.0 | Apr 19, 2025 |
#727 in Command line utilities
306 downloads per month
315KB
773 lines
dab - Droid Automation Box 📦🤖
A fast, interactive command-line tool for automating and managing your Android device from your computer.

Features
- 🚀 Open installed apps
- 🗑️ Uninstall apps you don't need
- 🧹 Clear app data and cache
- 💀 Force kill stubborn apps
- 📦 Download APK files
- 🔍 Show app info (version, permissions, etc)
- 🛡️ Grant or revoke app permissions (multi-select from known permissions)
- 🤖 Show device info (model, Android version, etc)
- 🌐 Show network info (IP, WiFi, etc)
- 🩺 Device Health Check (battery, storage, RAM, network)
- 📶 Enable ADB over Wi-Fi (connect wirelessly to your device)
- 🔌 Switch ADB back to USB mode (revert to cable connection)
- 📸 Take screenshots
- 🎥 Record screen
- 🔎 Searchable app selection (find your app in a snap)
- 🚀 Launch URLs or deep links in your Android device (open YouTube, browser, or any app via deep link)
Usage
Run the interactive UI:
dab
Or use direct commands:
# 🚀 Open an app
dab open
# 🗑️ Uninstall an app
dab uninstall
# 🧹 Clear app data
dab clear
# 💀 Force kill an app
dab force-kill
# 📦 Download APK (optionally specify output path)
dab download
dab download --output /path/to/save.apk
# 🔍 Show app info
dab app-info
# 🛡️ Grant permissions to an app (multi-select)
dab grant
# 🛡️ Revoke permissions from an app (multi-select)
dab revoke
# 🤖 Show device info
dab device
# 🌐 Show network info
dab network
# 📸 Take a screenshot
dab screenshot --output /path/to/screen.png
# 🎥 Record the screen
dab record --output /path/to/demo.mp4
# 📶 Enable ADB over Wi-Fi (no more cables!)
dab wifi
# 🔌 Switch ADB back to USB mode
dab usb
# 🩺 Device Health Check (battery, storage, RAM, network)
dab health
# 🚀 Launch a URL or deep link
dab launch <URL>
Example:
$ dab launch https://cesarferreira.com # URL that opens in your default browser
$ dab launch recipes://recipe/12345 # DEEP LINK to the "recipes app"
$ dab launch https://www.youtube.com/watch?v=dQw4w9WgXcQ # opens youtube
$ dab launch wathever you want # urls that deep link, apps, wathever
Requirements
- Rust (1.70+ recommended)
- ADB (Android Debug Bridge) in your PATH
- An Android device or emulator with USB debugging enabled
Installation 🥓
From crates.io
cargo install dab-cli
From Source
# Clone the repository
git clone https://github.com/cesarferreira/dab.git
cd dab
# Build and install
cargo install --path .
License
MIT
Dependencies
~13–26MB
~400K SLoC