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

codex-run

v0.3.0

Published

A beautiful web UI for browsing Codex CLI conversation history

Readme

Codex Run

Browse and interact with your Codex CLI conversations in a beautiful web UI

npm version License: MIT

Run the project simply by executing

npx codex-run

The browser will open automatically at http://localhost:12001.

Features

  • Live conversation viewer - Stream Codex session updates in real time
  • Session search and project filter - Quickly find the conversation you need
  • New session creation - Start Codex threads directly from the UI with a project path
  • In-browser messaging - Send follow-up prompts to an existing Codex thread
  • Plan mode workflow - Toggle Plan mode and apply a proposed plan with one click

Usage

Install globally via npm:

npm install -g codex-run

Then run it from any directory:

codex-run

The browser will open automatically at http://localhost:12001, showing all your Codex CLI conversations.

codex-run [options]

Options:
  -V, --version        Show version number
  -p, --port <number>  Port to listen on (default: 12001)
  -d, --dir <path>     Codex directory path (default: ~/.codex)
  --dev                Enable CORS for development (frontend at localhost:12000)
  --no-open            Do not open browser automatically
  -h, --help           Show help

Codex Interaction (v0.3.0)

codex-run now supports interactive Codex workflows in addition to history browsing:

  • Create a new thread by setting a project path and clicking New Session
  • Send prompts from the bottom composer
  • Toggle Plan mode for plan-first turns
  • Pick model and reasoning effort before sending
  • Stop current generation with Stop
  • Respond to request_user_input option prompts in conversation view

Interactive mode uses codex under the hood. If your codex binary is not on PATH, set:

export CODEX_CLI_PATH="/absolute/path/to/codex"

How It Works

Codex CLI stores conversation history in ~/.codex/. This tool reads that data and presents it in a web interface with:

  • Session list - All your conversations, sorted by recency
  • Project filter - Focus on a specific project
  • Conversation view - Full message history with tool calls
  • Session header - Shows conversation title, project name, and timestamp
  • Resume command - Copies the command to resume the conversation
  • Real-time updates - SSE streaming for live conversations
  • Interactive Codex bridge - Creates/sends/interrupts turns via codex app-server

Requirements

  • Node.js 20+
  • Codex CLI installed and used at least once

Development

# Clone the repo
git clone https://github.com/asfsdsf/codex-run.git
cd codex-run

# Install dependencies
pnpm install

# Start development servers
pnpm dev

# Build for production
pnpm build

Acknowledgments

This project was originally based on claude-run by Kamran Ahmed. Special thanks to the author for the great design and inspiration.

License

MIT © Kamran Ahmed