2 unstable releases

new 0.2.0 Apr 22, 2025
0.1.0 Apr 19, 2025

#1617 in Command line utilities

Download history 131/week @ 2025-04-15

131 downloads per month

MIT license

33KB
641 lines

dab - Droid Automation Box 📦🤖

All your automation tools in one 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)
  • 🤖 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)

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

# 🤖 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

Requirements

Installation 🥓

From Source

# Clone the repository
git clone https://github.com/cesarferreira/apm.git
cd apm

# Build and install
cargo install --path .

From crates.io

cargo install dab

License

MIT

Dependencies

~14–26MB
~400K SLoC