apkpure
v0.0.13
Published
Download from apkpure.com in a better way
Downloads
34
Maintainers
Readme
apkpure-downloader
Search and download from apkpure.com in a better way
- Mass download.
- Smoothy CLI tool.
- Can group
.apk
files by release date.
Requirements
node
,npm
.- nvm (recommended).
- Only tested on Linux.
⬇️ Installation
- With
npm
:
npm install -g apkpure
Manually:
git clone <repository-url>
andnpm install
on it.- Use
~/.bashrc
alias like:
alias apkpure='cd /path/to/project && npm run start -- "$@"'
- Remove:
npm uninstall -g apkpure
npm cache clean --force
🔨 Usage
# download 3 last version from all favorites
apkpure --yes --last 3 --threads 4
# multi search to add new favorites
apkpure --search netflix --search whatsapp --search tiktok
Help
Usage: apkpure [flag] [flag] ...
Manage apps
--apps [?editor] Print or edit favorite apps (apkpure.com url)
--search [string] Search (multiple) apps to add to favorite
--symlink [path] Symlink output directory
--help Print this help
Download
No flags Evaluate favorite apps
--yes Evaluate favorite apps (skip confirmation)
--choose Select multiple from favorite apps
--last [n] Number of versions to download (default: all)
--threads [n] Enable parallel downloads (max: 10)
*unattended: use --yes, --last and --threads
📳 APK Files
- Link output directory with
apkpure --symlink ~/Desktop/apks-output
. - Running
which apkpure
on Linux might help figuring out your installation directory. - Get something similar to:
.env File
| Variable | Example |Description |
|------------------|-------------|-------------|
| OUTPUT_PATH
|/home/$USER/Downloads
| Overrides downloads output path. |
| OUTPUT_RELEASE_MONTH
|false
| Output files grouped by APK release month. |
| FORCE_LAST
|10
| Overrides number of versions to download. |
| FORCE_THREADS
|5
| Overrides threads to run. |
| EXECUTABLE_PATH
|/usr/bin/chrome-browser
| Overrides puppeteer executable path. |
| HEADLESS
|false
| Overrides puppeteer headless mode (running headful might consume resources). |
Regardless
I started writing a quick utility script, then I built this CLI tool with few use cases.
This utility helped me so far and I would be very happy if it do the trick also for you!
Any suggestions, improvements or bug fixes would be greatly appreciated.