dab-cli

Crates.iodab-cli
lib.rsdab-cli
version0.3.0
created_at2025-04-19 22:16:37.289625+00
updated_at2025-08-27 15:37:30.487596+00
descriptionAndroid package manager CLI tool
homepagehttps://github.com/cesarferreira/xxx
repositoryhttps://github.com/cesarferreira/xxx
max_upload_size
id1641181
size475,199
CΓ©sar Ferreira (cesarferreira)

documentation

README

dab - Droid Automation Box πŸ“¦πŸ€–

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, permissions, etc)
  • πŸ“„ 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

# πŸ›‘οΈ 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

Commit count: 0

cargo fmt