Sign In

codex-run

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codex-run

A beautiful web UI for browsing Codex CLI conversation history

Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
7
-68.18%
Maintainers
1
Weekly downloads
 
Created
Source

Codex Run

Browse your Codex CLI conversation history in a beautiful web UI

npm version License: MIT

Codex Run Demo

Run the project simply by executing

npx codex-run

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

Features

  • Real-time streaming - Watch conversations update live as Codex responds
  • Search - Find sessions by prompt text or project name
  • Filter by project - Focus on specific projects
  • Resume sessions - Copy the resume command to continue any conversation in your terminal
  • Collapsible sidebar - Maximize your viewing area
  • Dark mode - Easy on the eyes
  • Clean UI - Familiar chat interface with collapsible tool calls

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 (default: ~/.codex)
  --no-open            Do not open browser automatically
  -h, --help           Show help

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

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

Keywords

codex

FAQs

Package last updated on 05 Mar 2026

Related posts