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

@subvertron_l/claude-code-ui

v1.0.0

Published

A web-based UI for Claude Code CLI

Readme

A desktop and mobile UI for Claude Code, and Cursor CLI. You can use it locally or remotely to view your active projects and sessions in Claude Code or Cursor and make changes to them from everywhere (mobile or desktop). This gives you a proper interface that works everywhere. Supports models including Claude Sonnet 4, Opus 4.1, and GPT-5

Screenshots

Features

  • Responsive Design - Works seamlessly across desktop, tablet, and mobile so you can also use Claude Code from mobile
  • Interactive Chat Interface - Built-in chat interface for seamless communication with Claude Code or Cursor
  • Integrated Shell Terminal - Direct access to Claude Code or Cursor CLI through built-in shell functionality
  • File Explorer - Interactive file tree with syntax highlighting and live editing
  • Git Explorer - View, stage and commit your changes. You can also switch branches
  • Session Management - Resume conversations, manage multiple sessions, and track history
  • TaskMaster AI Integration (Optional) - Advanced project management with AI-powered task planning, PRD parsing, and workflow automation
  • Model Compatibility - Works with Claude Sonnet 4, Opus 4.1, and GPT-5

Quick Start

Prerequisites

One-click Operation (Recommended)

No installation required, direct operation:

npx @siteboon/claude-code-ui

The server will start and be accessible at http://localhost:3001 (or your configured PORT).

To restart: Simply run the same npx command again after stopping the server

Global Installation (For Regular Use)

For frequent use, install globally once:

npm install -g @siteboon/claude-code-ui

Then start with a simple command:

claude-code-ui

To restart: Stop with Ctrl+C and run claude-code-ui again.

CLI Commands

After global installation, you have access to both claude-code-ui and cloudcli commands:

# Start the server (default command)
claude-code-ui
cloudcli start

# Show configuration and data locations
cloudcli status

# Show help information
cloudcli help

# Show version
cloudcli version

The cloudcli status command shows you:

  • Installation directory location
  • Database location (where credentials are stored)
  • Current configuration (PORT, DATABASE_PATH, etc.)
  • Claude projects folder location
  • Configuration file location

### Run as Background Service (Recommended for Production)

For production use, run Claude Code UI as a background service using PM2 (Process Manager 2):

#### Install PM2

```bash
npm install -g pm2

Start as Background Service

# Start the server in background
pm2 start claude-code-ui --name "claude-code-ui"

# Or using the shorter alias
pm2 start cloudcli --name "claude-code-ui"

Auto-Start on System Boot

To make Claude Code UI start automatically when your system boots:

# Generate startup script for your platform
pm2 startup

# Save current process list
pm2 save

Local Development Installation

  1. Clone the repository:
git clone https://github.com/siteboon/claudecodeui.git
cd claudecodeui
  1. Install dependencies:
npm install
  1. Configure environment:
cp .env.example .env
# Edit .env with your preferred settings
  1. Start the application:
# Development mode (with hot reload)
npm run dev

The application will start at the port you specified in your .env

  1. Open your browser:
    • Development: http://localhost:3001

Security & Tools Configuration

🔒 Important Notice: All Claude Code tools are disabled by default. This prevents potentially harmful operations from running automatically.

Enabling Tools

To use Claude Code's full functionality, you'll need to manually enable tools:

  1. Open Tools Settings - Click the gear icon in the sidebar
  2. Enable Selectively - Turn on only the tools you need
  3. Apply Settings - Your preferences are saved locally

Tools Settings Modal Tools Settings interface - enable only what you need

Recommended approach: Start with basic tools enabled and add more as needed. You can always adjust these settings later.

TaskMaster AI Integration (Optional)

Claude Code UI supports TaskMaster AI (aka claude-task-master) integration for advanced project management and AI-powered task planning.

It provides

  • AI-powered task generation from PRDs (Product Requirements Documents)
  • Smart task breakdown and dependency management
  • Visual task boards and progress tracking

Setup & Documentation: Visit the TaskMaster AI GitHub repository for installation instructions, configuration guides, and usage examples. After installing it you should be able to enable it from the Settings

Usage Guide

Core Features

Project Management

The UI automatically discovers Claude Code projects from ~/.claude/projects/ and provides:

  • Visual Project Browser - All available projects with metadata and session counts
  • Project Actions - Rename, delete, and organize projects
  • Smart Navigation - Quick access to recent projects and sessions
  • MCP support - Add your own MCP servers through the UI

Chat Interface

  • Use responsive chat or Claude Code/Cursor CLI - You can either use the adapted chat interface or use the shell button to connect to your selected CLI.
  • Real-time Communication - Stream responses from Claude with WebSocket connection
  • Session Management - Resume previous conversations or start fresh sessions
  • Message History - Complete conversation history with timestamps and metadata
  • Multi-format Support - Text, code blocks, and file references

File Explorer & Editor

  • Interactive File Tree - Browse project structure with expand/collapse navigation
  • Live File Editing - Read, modify, and save files directly in the interface
  • Syntax Highlighting - Support for multiple programming languages
  • File Operations - Create, rename, delete files and directories

Git Explorer

TaskMaster AI Integration (Optional)

  • Visual Task Board - Kanban-style interface for managing development tasks
  • PRD Parser - Create Product Requirements Documents and parse them into structured tasks
  • Progress Tracking - Real-time status updates and completion tracking

Session Management

  • Session Persistence - All conversations automatically saved
  • Session Organization - Group sessions by project and timestamp
  • Session Actions - Rename, delete, and export conversation history
  • Cross-device Sync - Access sessions from any device

Mobile App

  • Responsive Design - Optimized for all screen sizes
  • Touch-friendly Interface - Swipe gestures and touch navigation
  • Mobile Navigation - Bottom tab bar for easy thumb navigation
  • Adaptive Layout - Collapsible sidebar and smart content prioritization
  • Add shortcut to Home Screen - Add a shortcut to your home screen and the app will behave like a PWA

Architecture

System Overview

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   Frontend      │    │   Backend       │    │  Claude CLI     │
│   (React/Vite)  │◄──►│ (Express/WS)    │◄──►│  Integration    │
└─────────────────┘    └─────────────────┘    └─────────────────┘

Backend (Node.js + Express)

  • Express Server - RESTful API with static file serving
  • WebSocket Server - Communication for chats and project refresh
  • CLI Integration (Claude Code / Cursor) - Process spawning and management
  • Session Management - JSONL parsing and conversation persistence
  • File System API - Exposing file browser for projects

Frontend (React + Vite)

  • React 18 - Modern component architecture with hooks
  • CodeMirror - Advanced code editor with syntax highlighting

Contributing

We welcome contributions! Please follow these guidelines:

Getting Started

  1. Fork the repository
  2. Clone your fork: git clone <your-fork-url>
  3. Install dependencies: npm install
  4. Create a feature branch: git checkout -b feature/amazing-feature

Development Process

  1. Make your changes following the existing code style
  2. Test thoroughly - ensure all features work correctly
  3. Run quality checks: npm run lint && npm run format
  4. Commit with descriptive messages following Conventional Commits
  5. Push to your branch: git push origin feature/amazing-feature
  6. Submit a Pull Request with:
    • Clear description of changes
    • Screenshots for UI changes
    • Test results if applicable

What to Contribute

  • Bug fixes - Help us improve stability
  • New features - Enhance functionality (discuss in issues first)
  • Documentation - Improve guides and API docs
  • UI/UX improvements - Better user experience
  • Performance optimizations - Make it faster

Troubleshooting

Common Issues & Solutions

"No Claude projects found"

Problem: The UI shows no projects or empty project list Solutions:

  • Ensure Claude CLI is properly installed
  • Run claude command in at least one project directory to initialize
  • Verify ~/.claude/projects/ directory exists and has proper permissions

File Explorer Issues

Problem: Files not loading, permission errors, empty directories Solutions:

  • Check project directory permissions (ls -la in terminal)
  • Verify the project path exists and is accessible
  • Review server console logs for detailed error messages
  • Ensure you're not trying to access system directories outside project scope

License

GNU General Public License v3.0 - see LICENSE file for details.

This project is open source and free to use, modify, and distribute under the GPL v3 license.

Acknowledgments

Built With

Support & Community

Stay Updated

  • Star this repository to show support
  • Watch for updates and new releases
  • Follow the project for announcements

Sponsors