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

pushai

v2.0.4

Published

Ship commits at the speed of thought.

Readme

Installation

Run instantly (no global install)

npx pushai

# or: pnpm dlx pushai | yarn pushai | bunx --bun pushai

Install globally

npm install -g pushai

# or: pnpm add -g pushai | yarn global add pushai | bun install -g pushai

After global installation, you can use the shorthand pushai or pai to see available commands.

Quick Start

1. Configure your provider

pai config

Choose:

  • AI provider
  • API key
  • Model

PushAI stores your API key securely using your system keychain.

2. Generate and push commits

pai commit

PushAI will:

  • Detect your Git repository
  • Stage changes
  • Analyze diffs
  • Generate a conventional commit message
  • Let you review/edit/regenerate
  • Commit and push to remote

Features

| Feature | Description | | -------------------------- | ---------------------------------------------------------- | | Multi-Provider Support | Works with Gemini, OpenAI, Hugging Face, and more | | Conventional Commits | Generates clean feat:, fix:, refactor: style commits | | Interactive Flow | Approve, edit, regenerate, or cancel before pushing | | Smart Git Detection | Detects missing repositories and offers initialization | | Timed Loading States | Progressive feedback for slow AI or Git operations | | Custom Messages | Skip AI generation entirely with -m | | Dry Run Mode | Preview commits without committing or pushing | | Secure API Keys | Uses system keychain via keytar | | Provider Explorer | View available providers and supported models | | Config Editor | Open and edit config directly from your terminal |

Commands

| Command | Description | | --------------- | ------------------------------------------- | | pai commit | stage changes, generate a message, and push | | pai config | configure AI providers and API keys | | pai list | browse available providers & models | | pai reset | clear saved configuration and API keys | | pai --version | output the version number | | pai --help | display help for command |

Flags

commit

| Flag | Description | | ----------------------- | ------------------------------------------------ | | -d, --dry | generate message only, no commit/push | | -p, --push | skip confirmation, commit and push automatically | | -m, --msg <message> | use custom commit message (skip generation) |

config

| Flag | Description | | ------------------------- | ----------------------------------------- | | -e, --edit | edit the configuration file manually | | -p, --provider <name> | set AI provider (e.g. gemini, openai) | | -m, --model <model> | set model ID directly | | -k, --key <apiKey> | save or update your API key | | -s, --show | display the current configuration |

reset

| Flag | Description | | ------------- | -------------------------------------------- | | -y, --yes | skip confirmation and delete configuration | | -k, --key | only delete the API key, keep provider/model |

Configuration

PushAI stores your non‑secret settings in ~/.config/pushai/config.json and your API key in the system keychain (macOS/Windows/Linux).

You can configure PushAI in several ways:

  • Interactive wizardpai config (recommended for first‑time setup).
  • Non‑interactive flags – set provider, model, or API key directly: pai config --provider openai --model gpt-4o-mini --key "sk-..."
  • View current configpai config --show
  • List all available providers/modelspai list

Example config.json:

{
  "provider": "openai",
  "model": "gpt-4o"
}

Note: The API key is stored securely via keytar and never appears in the config file.

How It Works

  1. pai / pai commit

    • Checks if you are inside a Git repository.
    • Stages all changes (git add -A).
    • Sends the diff to your chosen AI provider with a specialized prompt.
    • Returns a conventional commit message (feat(scope): description).
    • If the operation takes longer than 10 seconds, you’ll see a friendly warning; after 60 seconds, a further alert appears.
  2. Interactive approval

    • You see the generated message inside a clean note box.
    • Options: accept, edit, regenerate, or cancel.
    • The “regenerate” action asks for a different message (increased temperature + extra prompt instruction).
    • When you use -p / --push, this approval step is skipped – the message is generated and the commit/push happen automatically.
  3. Security

    • API keys are stored in the system keychain, not in plain text.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines on reporting issues, setting up the development environment, and submitting pull requests.

License

MIT © Holiday See the LICENSE file for details.