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

ghostcode-cli

v1.0.9

Published

Open-source starter template for a hackable terminal coding harness (Bun + AI SDK). Not a Claude Code replacement — fork and customize.

Readme

GhostCode CLI

Open-source starter template for a terminal coding harness.

ghostcode-cli is the runtime package: local-first agent loop, PLAN/BUILD modes, and your API keys. Fork the full repo to customize prompts, tools, and UI.

See Build your own harness in the repo root.

Runtime requirement

ghostcode-cli currently requires Bun at runtime. Even if you install with npm install -g ghostcode-cli, the ghostcode command needs Bun installed on your machine.

Install Bun

curl -fsSL https://bun.sh/install | bash

Then restart your terminal and verify:

bun --version

Install

npm install -g ghostcode-cli

or

bun install -g ghostcode-cli

Run

From your project directory:

ghostcode

Quick usage

# Open the harness TUI
ghostcode

# Set provider keys (one or both)
export ANTHROPIC_API_KEY=sk-ant-...
export OPENAI_API_KEY=sk-proj-...

Inside the harness:

  • tab — toggle PLAN/BUILD mode
  • /models — switch model
  • /theme — switch UI profile
  • /sessions — resume previous chats

Screenshots

Launch

GhostCode launch screen

Session

GhostCode session view

Theme Picker

GhostCode theme picker

Command Palette

GhostCode command palette

Environment variables

  • ANTHROPIC_API_KEY — Claude models
  • OPENAI_API_KEY — GPT models
  • GHOSTCODE_CONFIG_DIR — override default config path (~/.ghostcode)

Harness highlights

  • Full-screen terminal UI
  • PLAN/BUILD modes
  • Local file + shell tools
  • Session persistence per project
  • Project memory via Ghost.md

For full product docs, architecture, and contributor setup, see the repository root README.md.