#apk #download #android #cli #latest-version

bin+lib downapk

Program to download APKs of given Android package

21 releases (4 breaking)

new 0.6.3 Apr 15, 2024
0.6.2 Jan 21, 2024
0.5.4 Jan 21, 2024
0.4.8 Jan 20, 2024
0.1.6 Jan 18, 2024

#902 in Command line utilities

Download history 44/week @ 2024-01-13 57/week @ 2024-01-20 2/week @ 2024-02-17 13/week @ 2024-03-09 1/week @ 2024-03-16 106/week @ 2024-03-30 21/week @ 2024-04-06

129 downloads per month

MIT license

47KB
783 lines

DownAPK

Program to download APKs of given Android package

Installation

Pre-built binaries

Download the latest binary release from here.

# Unix-like (Linux, macOS, Android)
chmod +x downapk-linux
./downapk-linux --help

# Windows
downapk-windows.exe --help

Cargo

cargo install downapk
downapk --help

Build from source

cargo build --release
./target/release/downapk --help

Usage

downapk [OPTIONS] --package-id <PACKAGE_ID>

Options

Option Description Default Value
-p, --package-id <PACKAGE_ID> Android package ID -
-o, --output-dir <OUTPUT_DIR> Optional: Output file name downloads
-a, --arch <ARCH> Optional: Architecture. Possible values: arm64-v8a, armeabi-v7a, x86, x86_64, universal all
-v, --version-code <VERSION_CODE> Optional: Version code. Possible values: latest, x.x.x (e.g. 1.0.0 latest
-t, --type <TYPE> Optional: Type of APK. Possible values: bundle, apk all
-d, --dpi <DPI> Optional: Screen DPI. Possible values: nodpi, 120-320, ..., all
-h, --help Print help -
-V, --version Print version -

Examples

  1. Download all APKs of package com.google.android.youtube of universal architecture and latest version with nodpi

    downapk -p com.google.android.youtube -t apk -a universal -d nodpi
    
  2. Download all APKs of package com.google.android.youtube of universal architecture and version 14.21.54 with nodpi

    downapk -p com.google.android.youtube -t apk -a universal -d nodpi -v 14.21.54
    

For library usage, see Rust docs with examples.

License

MIT License. See LICENSE file for details.

Author

Mohammed Rabil

Contributors

Contributors

Dependencies

~11–25MB
~357K SLoC