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

whispercom

v1.2.2

Published

Professional AI-powered git CLI — commit messages, history browser, commit graph, file staging, branch switcher

Readme

whispercom

npm license node

Professional AI-powered git CLI built with Ink (React for terminals) and the Vercel AI SDK.

Features

| Command | What it does | | --------------------- | ---------------------------------------------------- | | whis commit | AI commit message picker with Ink TUI | | whis commit --stage | Interactive file staging → commit | | whis log | Full commit history browser with colored ASCII graph | | whis branch | Fuzzy branch switcher | | whis configure | Provider + model setup wizard |

Supported AI providers

| Provider | Env key | | ------------- | ------------------------------ | | Anthropic | ANTHROPIC_API_KEY | | OpenAI | OPENAI_API_KEY | | Google Gemini | GOOGLE_GENERATIVE_AI_API_KEY | | Mistral AI | MISTRAL_API_KEY | | Groq | GROQ_API_KEY | | Custom | Configured via whis configure|

Install

npm install -g whispercom

Setup

# Configure your AI provider, model, and API key
# (Key safely stored in ~/.config/whispercom/config.json)
whis configure

Alternatively, set your API key as an environment variable (e.g., export GROQ_API_KEY=gsk_...). Environment variables always override stored keys.

Usage

# Generate AI commit message for staged changes
git add -p
whis

# Stage files interactively, then generate
whis --stage

# Diff against HEAD instead
whis --head

# Get 5 suggestions
whis --count 5

# Browse commit graph
whis log

# Switch branches
whis branch

# Check version
whis --version

TUI Controls

Commit picker

| Key | Action | | -------------- | --------------------- | | ↑↓ / j k | Navigate | | 19 | Jump to suggestion | | enter | Confirm + commit | | e | Edit selected subject | | b | Edit selected body | | c | Switch provider/model | | q | Quit |

Log / graph browser

| Key | Action | | --------------- | ---------------- | | ↑↓ | Navigate commits | | enter | Show diff | | PgUp / PgDn | Page | | esc / b | Back | | q | Quit |

File staging

| Key | Action | | ------- | ----------------- | | ↑↓ | Navigate | | space | Toggle file | | a | Toggle all | | c | Proceed to commit | | q | Cancel |

Branch switcher

| Key | Action | | --------- | ---------------------------- | | type | Fuzzy filter (Filter mode) | | Tab | Toggle Navigate/Filter mode | | j / k | Navigate (Navigate mode) | | enter | Switch branch | | PgUp/Dn | Page branches | | esc | Cancel |

Configuration file

Settings are stored in ~/.config/whispercom/config.json:

{
  "provider": "anthropic",
  "model": "claude-sonnet-4-5",
  "apiKey": "sk-ant-...",
  "baseUrl": "https://openrouter.ai/api/v1" 
}
  • apiKey is optional (you can use environment variables instead).
  • baseUrl is only used when the "Custom (OpenAI-compatible)" provider is selected.
  • model can be any valid model ID (you can type it manually in whis configure).

Run whis configure at any time to safely update these settings.

Contributing

  1. Clone the repo
  2. Run npm install
  3. Run locally: node src/index.js --help

To add a new AI provider, add an entry to the PROVIDERS map in src/core/config.js.

License

MIT