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

@openbug/cli

v0.0.4

Published

**OpenBug - Your AI-powered CLI Debugger**

Downloads

352

Readme

OpenBug CLI

OpenBug - Your AI-powered CLI Debugger

OpenBug CLI is an intelligent command-line tool that helps you debug your applications in real-time using AI assistance. Run your commands, view logs, and get AI-powered insights all in one interactive terminal interface.

Features

  • 🤖 AI-Powered Debugging: Get intelligent assistance while debugging your applications
  • 📊 Real-time Log Analysis: View and analyze command output logs in real-time
  • 🔍 Code Search: Search through your codebase with AI assistance
  • 💬 Interactive Chat: Chat with AI about your debugging issues
  • 🚀 Easy Setup: Get started in minutes with simple initialization

Installation

npm install -g @openbug/cli

Quick Start

1. Initialize OpenBug

debug init -m "Your project description"

This will:

  • Create a configuration directory at ~/.openbug/
  • Generate an openbug.yaml file in your project directory
  • Set up your project for OpenBug

2. Login

Get your API key from OpenBug Web Studio and login:

debug login <your-auth-key>

3. Start Debugging

Run any command with OpenBug:

debug npm run dev
debug python app.py
debug node server.js

OpenBug will launch an interactive terminal interface where you can:

  • View command logs in real-time
  • Chat with AI about debugging issues
  • Search your codebase
  • Get intelligent suggestions

Commands

debug

Start the OpenBug interface for AI chat and service management.

Example:

debug

debug init [-id <project-id>] -m <description>

Initialize OpenBug configuration and register your project directory.

Options:

  • -id <project-id>: Specify a project ID (optional)
  • -m <description>: Project description (required)

Example:

debug init -id my-project -m "Node.js API backend"

debug login <your-auth-key>

Login to OpenBug using your authentication key from OpenBug Web Studio.

Example:

debug login abc123xyz789

debug cluster

Start the lightweight local WebSocket server for cluster functionality.

Example:

debug cluster

debug config [-id <project-id>] -m <description>

Update project configuration for the current directory.

Example:

debug config -id my-project -m "Updated description"

debug <command>...

Run any command with OpenBug's interactive debugging interface.

Examples:

debug npm run dev
debug python manage.py runserver
debug docker-compose up

Configuration

OpenBug stores its configuration in ~/.openbug/config. You can manually edit this file if needed:

# OpenBug Configuration File
#
# Place your OpenBug API key here.
# You can get a key from OpenBug Web Studio.
#
API_KEY=your-api-key-here

# Project mappings (stored as JSON)
projects=[]

Project Metadata

OpenBug creates an openbug.yaml file in your project directory with metadata:

id: "openbug-service"
description: "Your project description"
name: "Project Name"
window_id: 1234567890
logs_available: true
code_available: true

Environment Variables

  • OPENBUG_CLUSTER_URL: WebSocket URL for the cluster server (default: ws://127.0.0.1:4466)
  • OPENBUG_WS_PORT: Port for the WebSocket server (default: 6111)
  • OPENBUG_WS_HOST: Host for the WebSocket server (default: 127.0.0.1)
  • API_BASE_URL: Base URL for the OpenBug API (default: https://api.oncall.build/v2/api)

Keyboard Shortcuts

When using the interactive interface:

  • Tab: Switch focus between panes
  • ↑/↓: Scroll (Keyboard Only)
  • Enter: Send message
  • Ctrl+D: Toggle chat/logs view
  • Ctrl+C: Exit
  • Ctrl+R: Reload AI chat

Requirements

  • Node.js 18+
  • npm or yarn

Support

For issues, questions, or contributions, please visit:

License

MIT