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

mybuilder-cli

v1.0.6

Published

CLI tool for self-hosted build system for React Native and Expo apps

Downloads

1,264

Readme

mybuilder-cli

Command Line Interface (CLI) for mybuild—a complete, self-hosted build system (similar to Expo EAS) designed to compile React Native & Expo projects on your own VPS.

Using this CLI, you can upload local React Native/Expo project archives to your build server, compile release APKs/AABs asynchronously in the background, and stream logs in real-time, completely bypassing the need for local Android SDK, Java (JDK), or Gradle setup.


🖥️ VPS Server Setup (One-Command Setup)

Before using the CLI, you must set up your backend API and worker on an Ubuntu VPS (recommended: minimum 4GB RAM, 2 Core CPU).

To install and run the entire build system on your VPS with a single command, SSH into your VPS and run:

curl -sL https://raw.githubusercontent.com/alemprogramer/my-app-builder/main/scripts/install.sh | bash

Once the installation completes, copy the API Server URL and API Access Key printed in the terminal.


📦 Installation

Install the package globally via npm:

npm install -g mybuilder-cli

⚙️ Setup & Configuration

Quick Setup (Automatic)

The first time you run any command, the CLI will automatically detect if it is unconfigured and prompt you for:

  1. VPS API Server URL (e.g., http://your-vps-ip:4000)
  2. API Access Key (printed at the end of your VPS installation script)

Manual Setup

You can manually configure or update the connection settings at any time:

mybuild init [url] [key]

Alternatively, just run mybuild init and answer the interactive prompts. Settings will be securely saved locally in ~/.mybuild/config.json.

To update or verify your API Access Key only:

mybuild login [key]

🚀 How to Build your Android App

  1. Navigate to the root directory of your Expo project on your laptop (the folder containing app.json or package.json):

    cd /path/to/your/expo-project
  2. Trigger the build:

    mybuild build android

    (You can select either Release APK, Release AAB, or Debug APK from the interactive menu, or specify the build type directly using the --type flag, e.g., mybuild build android --type aab)

What happens next?

  • The CLI archives your directory (automatically filtering out node_modules, .git, .expo, android, ios, and other heavy build directories).
  • The zip payload is uploaded to your VPS API Server.
  • The build task is enqueued to Redis and compiled sequentially.
  • Real-time logs from npm install, npx expo prebuild, and ./gradlew (running assembleRelease, bundleRelease, or assembleDebug based on type) are streamed directly to your terminal.
  • Once completed, a dynamic public download link for the build artifact is returned!

💻 CLI Commands Cheatsheet

Build & Control

  • Trigger Android Build:
    mybuild build android
    # or bypass the interactive menu:
    mybuild build android --type <release|debug|aab>
  • Cancel Active or Queued Build:
    mybuild cancel <build-id>

Query Status & History

  • List Last 10 Builds:
    mybuild status
  • View Single Build Details & Download Link:
    mybuild status <build-id>

View & Watch Logs

  • Print Static Build Logs:
    mybuild logs <build-id>
  • Watch Live Build Logs (Reconnect Stream): If your connection times out or disconnects, you can reconnect and stream active logs live:
    mybuild logs <build-id> -w
    (or --watch)

⚡ Direct SSH/SCP Download (Workaround)

If downloading through the browser gets throttled or fails due to network instability on port 4000, run this command in your local terminal (not on the VPS) to download the artifact directly over port 22 (SSH) into your Downloads folder:

scp root@YOUR_VPS_IP:/opt/mybuild/data/builds/<build-id>/* ~/Downloads/

📄 License

MIT


⚖️ Legal Disclaimer & Trademark Notice

mybuild and mybuilder-cli are independent, unofficial open-source projects.

  • Expo and EAS (Expo Application Services) are trademarks of 650 Industries, Inc. (referred to as Expo).
  • These projects are not affiliated with, sponsored by, endorsed by, or in any way officially connected to 650 Industries, Inc., Expo, or EAS.
  • Any references to "Expo", "EAS", or related terminology are used solely for descriptive purposes to indicate compatibility with apps developed using the Expo SDK.