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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@snipkode/apkit

v0.3.0

Published

Standalone CLI for SaaS APK Builder - Build Android apps with ease

Readme

Apkit CLI

Standalone CLI for SaaS APK Builder - Build Android apps with ease.

🚀 Installation

# Install globally
npm install -g @snipkode/apkit

# Or use via npx
npx @snipkode/apkit <command>

📦 Usage

Create New Project

# Create from default template
apkit create my-app

# Create from custom template
apkit create my-app --template [email protected]:user/template.git

# Create using HTTPS
apkit create my-app --https

Initialize in Existing Project

# Navigate to your Android project
cd my-android-project

# Initialize Apkit
apkit init

# Start developing
./dev.sh

Commands

| Command | Description | |---------|-------------| | apkit create | Create new project from template | | apkit init | Initialize Apkit in current directory | | apkit dev | Run development mode with hot reload | | apkit build | Build debug APK | | apkit build:release | Build release APK with signing | | apkit build:aab | Build AAB for Google Play Store | | apkit doctor | Check environment setup | | apkit keystore | Create/manage signing keystore | | apkit clean | Clean build artifacts | | apkit install | Install APK to connected device | | apkit serve | Serve IDE UI (coming soon) |

Examples

# Development mode with hot reload
apkit dev

# Build debug APK
apkit build

# Build release APK (signed)
apkit build:release

# Build AAB for Play Store
apkit build:aab

# Check environment
apkit doctor

# Create keystore
apkit keystore --create

# Clean build
apkit clean --all

📁 Structure

packages/cli/
├── bin/
│   └── apkit.js          # CLI entry point
├── src/
│   └── scripts/          # Embedded shell scripts
│       ├── build.sh
│       ├── dev.sh
│       ├── keystore.sh
│       ├── setup-check.sh
│       ├── install-apk.sh
│       └── clean.sh
├── package.json
└── README.md

🔧 Development

# Navigate to CLI package
cd packages/cli

# Install dependencies
npm install

# Link globally for testing
npm link

# Test CLI
apkit --help
apkit init

🎯 How It Works

  1. apkit init copies embedded scripts to your project's scripts/ directory
  2. Wrapper scripts in project root call the scripts in scripts/
  3. All build logic is in the shell scripts - CLI is just an orchestrator
  4. Scripts are self-contained and can run independently

📝 Script Options

build.sh

  • --debug, -d - Build debug APK (default)
  • --release, -r - Build release APK
  • --aab, -a - Build AAB bundle
  • --no-sign - Skip signing
  • --install, -i - Auto-install after build

dev.sh

  • --no-inotify - Use polling instead of inotify
  • --interval <sec> - Polling interval
  • --package <pkg> - App package name

keystore.sh

  • --create, -c - Create new keystore
  • --info, -i - View keystore info
  • --check, -t - Check signing tools
  • --sign, -s - Sign APK manually

📋 Requirements

  • Java 17+
  • ADB (Android Debug Bridge)
  • Gradle wrapper (included in Android projects)
  • Optional: inotify-tools for instant file watching

Install on Termux:

pkg install openjdk-17 git android-tools inotify-tools apksigner

🔮 Future Features

  • apkit create <name> - Create new project from template
  • apkit serve - Serve IDE UI for web-based development
  • Custom templates - Support for project templates
  • Plugin system - Extend CLI with custom commands

📄 License

MIT