npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

apkpure

v0.0.13

Published

Download from apkpure.com in a better way

Downloads

34

Readme

apkpure-downloader

Search and download from apkpure.com in a better way

npm version Last Commit

  • Mass download.
  • Smoothy CLI tool.
  • Can group .apk files by release date.

Requirements

⬇️ Installation

  • With npm:
npm install -g apkpure

Manually:

  • git clone <repository-url> and npm 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.