Skip to content

A fast, interactive command-line tool for automating and managing your Android device from your computer.

Notifications You must be signed in to change notification settings

cesarferreira/dab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dab - Droid Automation Box 📦🤖

crates.io version crates.io downloads license

A fast, interactive command-line tool for automating and managing your Android device from your computer.

demo

Features

  • 🚀 Open installed apps
  • 🗑️ Uninstall apps you don't need
  • 🧹 Clear app data and cache
  • 💀 Force kill stubborn apps
  • 📦 Download APK files
  • 📲 Install APK/XAPK/APKM files from your computer
  • 🔍 Show app info (version, use --all for permissions)
  • 📄 Analyze local APK/XAPK/APKM files without installation
  • 🛡️ 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

# 📲 Install APK, XAPK, or APKM file
dab install /path/to/app.apk
dab install /path/to/app.xapk
dab install /path/to/app.apkm

# 📄 Analyze local APK, XAPK, or APKM file (no device needed)
dab info /path/to/app.apk
dab info /path/to/app.xapk
dab info /path/to/app.apkm

# 🔍 Show app info
dab app-info
dab app-info --all   # include permissions (-a)

# 🛡️ 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

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

About

A fast, interactive command-line tool for automating and managing your Android device from your computer.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages