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

pondorasti

v0.1.26

Published

CLI for pondorasti

Readme

Pondorasti CLI

🖥️ Mission control for pondorasti - A command-line tool for automated macOS setup and configuration.

Built with Bun, Yargs for command parsing, and Ink for rich terminal UI when needed.

Features

  • 🍺 Homebrew Management: Install, update, and manage Homebrew packages
  • 📂 Smart Cloning: Clone GitHub repos to organized ~/repos/<owner>/<repo> structure
  • 📦 Standalone Binary: Compiles to a single executable with embedded Brewfile
  • 🚀 Fresh Machine Setup: Bootstrap a new Mac with a single command
  • 🔧 Extensible: Easy to add new commands

Fresh Machine Setup

On a brand new Mac, download and run the standalone binary:

# Download the binary (Apple Silicon)
curl -fsSL https://github.com/pondorasti/pondorasti/releases/latest/download/pd-darwin-arm64 -o pd
chmod +x pd

# Run the full bootstrap (installs Homebrew, then all packages from Brewfile)
./pd bootstrap

The compiled binary includes the Brewfile embedded, so it works without any dependencies.

Installation (Development)

# Install Bun if you haven't already
curl -fsSL https://bun.sh/install | bash

# Clone the repository
git clone https://github.com/pondorasti/pondorasti.git
cd pondorasti

# Install dependencies
bun install

# Run commands directly
bun run packages/cli/src/index.ts <command>

# Or install globally
bun link
pondorasti <command>
# or use the short alias
pd <command>

Usage

Commands

bootstrap - Bootstrap a fresh machine

Installs Homebrew and runs brew bundle (which installs everything including Bun):

pd bootstrap

clone - Clone GitHub repositories

Clones repositories to ~/repos/<owner>/<repo> and opens a shell in the directory.

# Clone using various URL formats
pd clone https://github.com/owner/repo
pd clone [email protected]:owner/repo.git
pd clone owner/repo

# Also works with tree/blob URLs (branch/file paths are stripped)
pd clone https://github.com/owner/repo/tree/main
pd clone https://github.com/owner/repo/blob/main/src/file.ts

brew - Manage Homebrew

# Install Homebrew
pd brew install

# Run brew bundle from Brewfile
pd brew bundle

Global Options

--help, -h      Show help
--version, -v   Show version

Building

Standalone Binary

The CLI compiles to a standalone executable that includes the Bun runtime and embedded Brewfile:

cd packages/cli

# Build for current platform
bun run build

The compiled binary is ~57MB and requires no dependencies to run.

Architecture

packages/cli/
├── src/
│   ├── index.ts           # CLI entry with yargs
│   ├── commands/          # Command implementations
│   │   ├── brew.ts        # Homebrew management
│   │   ├── clone.ts       # GitHub repo cloning
│   │   └── bootstrap.ts   # Fresh machine bootstrap
│   ├── tools/             # External tool wrappers
│   │   ├── homebrew.ts    # Homebrew operations
│   │   └── bun.ts         # Bun runtime operations
│   └── utils/             # Utilities
│       ├── brewfile.ts    # Brewfile embedding & extraction
│       ├── cli-helpers.ts # CLI utilities
│       └── github.ts      # GitHub URL parsing
├── Brewfile               # Package definitions (embedded in binary)
└── package.json           # Project configuration

License

MIT