Web-based interface for Claude CLI with streaming chat responses
TypeScript
1,137
540 commits
updated May 29, 2026
[!WARNING] This project is no longer actively maintained. Issues and pull requests are unlikely to receive responses. The repository has been archived and is kept available for reference. Feel free to fork it if you'd like to continue development.
A modern web interface for Claude Code CLI - Transform your command-line coding experience into an intuitive web-based chat interface
| Desktop Interface | Mobile Experience |
|---|---|
![]() | ![]() |
| Chat-based coding interface with instant responses and ready input field | Mobile-optimized chat experience with touch-friendly design |
| Desktop (Light) | Mobile (Light) |
|---|---|
![]() | ![]() |
| Clean light interface for daytime coding sessions | iPhone SE optimized light theme interface |
| Desktop Permission Dialog | Mobile Permission Dialog |
|---|---|
![]() | ![]() |
| Secure tool access with granular permission controls and clear approval workflow | Touch-optimized permission interface for mobile devices |
Transform the way you interact with Claude Code
Instead of being limited to command-line interactions, Claude Code Web UI brings you:
| CLI Experience | Web UI Experience |
|---|---|
| β¨οΈ Terminal only | π Any device with a browser |
| π± Desktop bound | π± Mobile-friendly interface |
| π Plain text output | π¨ Rich formatted responses |
| ποΈ Manual directory switching | π Visual project selection |
Get up and running in under 2 minutes:
# Install globally via npm
npm install -g claude-code-webui
# Start the server
claude-code-webui
# Open browser to http://localhost:8080
# Download and run (macOS ARM64 example)
curl -LO https://github.com/sugyan/claude-code-webui/releases/latest/download/claude-code-webui-macos-arm64
chmod +x claude-code-webui-macos-arm64
./claude-code-webui-macos-arm64
# Open browser to http://localhost:8080
# Backend (choose one)
cd backend && deno task dev # Deno runtime
cd backend && npm run dev # Node.js runtime
# Frontend (new terminal)
cd frontend && npm run dev
# Open browser to http://localhost:3000
The backend server supports the following command-line options:
| Option | Description | Default |
|---|---|---|
-p, --port <port> | Port to listen on | 8080 |
--host <host> | Host address to bind to (use 0.0.0.0 for all interfaces) | 127.0.0.1 |
--claude-path <path> | Path to claude executable (overrides automatic detection) | Auto-detect |
-d, --debug | Enable debug mode | false |
-h, --help | Show help message | - |
-v, --version | Show version | - |
PORT - Same as --portDEBUG - Same as --debug# Default (localhost:8080)
claude-code-webui
# Custom port
claude-code-webui --port 3000
# Bind to all interfaces (accessible from network)
claude-code-webui --host 0.0.0.0 --port 9000
# Enable debug mode
claude-code-webui --debug
# Custom Claude CLI path (for non-standard installations or aliases)
claude-code-webui --claude-path /path/to/claude
# Using environment variables
PORT=9000 DEBUG=true claude-code-webui
If you encounter "Claude Code process exited with code 1" or similar errors, this typically indicates Claude CLI path detection failure.
Quick Solution:
claude-code-webui --claude-path "$(which claude)"
Common scenarios requiring explicit path specification:
Environment-specific commands:
# For Volta users
claude-code-webui --claude-path "$(volta which claude)"
# For asdf users
claude-code-webui --claude-path "$(asdf which claude)"
Native Binary Installation: Supported. Script path detection may fail and show warnings, but the application will work correctly as long as the Claude executable path is valid.
Debug Mode:
Use --debug flag for detailed error information:
claude-code-webui --debug
# Clone repository
git clone https://github.com/sugyan/claude-code-webui.git
cd claude-code-webui
# Install dotenvx (see prerequisites)
# Start backend (choose one)
cd backend
deno task dev # Deno runtime
# OR
npm run dev # Node.js runtime
# Start frontend (new terminal)
cd frontend
npm run dev
Create .env file in project root:
echo "PORT=9000" > .env
Run with dotenvx to use the .env file:
# Backend
cd backend
dotenvx run --env-file=../.env -- deno task dev # Deno
dotenvx run --env-file=../.env -- npm run dev # Node.js
# Frontend (uses Vite's built-in .env support)
cd frontend
npm run dev
Alternative: Set environment variables directly:
PORT=9000 deno task dev # Deno
PORT=9000 npm run dev # Node.js
Important: This tool executes Claude CLI locally and provides web access to it.
# Local only (recommended)
claude-code-webui --port 8080
# Network access (trusted networks only)
claude-code-webui --port 8080 --host 0.0.0.0
Never expose to public internet without proper security measures.
For comprehensive technical documentation, see CLAUDE.md which covers:
Yes, you need the Claude CLI tool installed and authenticated. The web UI is a frontend for the existing Claude CLI.
Yes! The web interface is fully responsive and works great on mobile devices when connected to your local network.
Yes, everything runs locally. No data is sent to external servers except Claude's normal API calls through the CLI.
While technically possible, it's designed for local use. If deploying remotely, ensure proper authentication and security measures.
Download the latest binary from releases or pull the latest code for development mode.
These errors typically indicate Claude CLI path detection issues. See the Troubleshooting section for detailed solutions including environment manager workarounds and debug steps.
Alternative Claude Code Web UIs:
Both projects aim to make Claude Code more accessible through web interfaces, each with their own strengths and approach.
We welcome contributions! Please see our development setup and feel free to:
Fun fact: This project is almost entirely written and committed by Claude Code itself! π€
We'd love to see pull requests from your Claude Code sessions too :)
MIT License - see LICENSE for details.
Made with β€οΈ for the Claude Code community
β Star this repo β’ π Report issues β’ π¬ Discussions
559 followers Β· starred Jul 2025
406 followers Β· starred Jul 2025
1,538 followers Β· starred Feb 2026
650 followers Β· starred Jul 2025
Web-based interface for Claude CLI with streaming chat responses
TypeScript
1,137
540 commits
updated May 29, 2026
[!WARNING] This project is no longer actively maintained. Issues and pull requests are unlikely to receive responses. The repository has been archived and is kept available for reference. Feel free to fork it if you'd like to continue development.
A modern web interface for Claude Code CLI - Transform your command-line coding experience into an intuitive web-based chat interface
| Desktop Interface | Mobile Experience |
|---|---|
![]() | ![]() |
| Chat-based coding interface with instant responses and ready input field | Mobile-optimized chat experience with touch-friendly design |
| Desktop (Light) | Mobile (Light) |
|---|---|
![]() | ![]() |
| Clean light interface for daytime coding sessions | iPhone SE optimized light theme interface |
| Desktop Permission Dialog | Mobile Permission Dialog |
|---|---|
![]() | ![]() |
| Secure tool access with granular permission controls and clear approval workflow | Touch-optimized permission interface for mobile devices |
Transform the way you interact with Claude Code
Instead of being limited to command-line interactions, Claude Code Web UI brings you:
| CLI Experience | Web UI Experience |
|---|---|
| β¨οΈ Terminal only | π Any device with a browser |
| π± Desktop bound | π± Mobile-friendly interface |
| π Plain text output | π¨ Rich formatted responses |
| ποΈ Manual directory switching | π Visual project selection |
Get up and running in under 2 minutes:
# Install globally via npm
npm install -g claude-code-webui
# Start the server
claude-code-webui
# Open browser to http://localhost:8080
# Download and run (macOS ARM64 example)
curl -LO https://github.com/sugyan/claude-code-webui/releases/latest/download/claude-code-webui-macos-arm64
chmod +x claude-code-webui-macos-arm64
./claude-code-webui-macos-arm64
# Open browser to http://localhost:8080
# Backend (choose one)
cd backend && deno task dev # Deno runtime
cd backend && npm run dev # Node.js runtime
# Frontend (new terminal)
cd frontend && npm run dev
# Open browser to http://localhost:3000
The backend server supports the following command-line options:
| Option | Description | Default |
|---|---|---|
-p, --port <port> | Port to listen on | 8080 |
--host <host> | Host address to bind to (use 0.0.0.0 for all interfaces) | 127.0.0.1 |
--claude-path <path> | Path to claude executable (overrides automatic detection) | Auto-detect |
-d, --debug | Enable debug mode | false |
-h, --help | Show help message | - |
-v, --version | Show version | - |
PORT - Same as --portDEBUG - Same as --debug# Default (localhost:8080)
claude-code-webui
# Custom port
claude-code-webui --port 3000
# Bind to all interfaces (accessible from network)
claude-code-webui --host 0.0.0.0 --port 9000
# Enable debug mode
claude-code-webui --debug
# Custom Claude CLI path (for non-standard installations or aliases)
claude-code-webui --claude-path /path/to/claude
# Using environment variables
PORT=9000 DEBUG=true claude-code-webui
If you encounter "Claude Code process exited with code 1" or similar errors, this typically indicates Claude CLI path detection failure.
Quick Solution:
claude-code-webui --claude-path "$(which claude)"
Common scenarios requiring explicit path specification:
Environment-specific commands:
# For Volta users
claude-code-webui --claude-path "$(volta which claude)"
# For asdf users
claude-code-webui --claude-path "$(asdf which claude)"
Native Binary Installation: Supported. Script path detection may fail and show warnings, but the application will work correctly as long as the Claude executable path is valid.
Debug Mode:
Use --debug flag for detailed error information:
claude-code-webui --debug
# Clone repository
git clone https://github.com/sugyan/claude-code-webui.git
cd claude-code-webui
# Install dotenvx (see prerequisites)
# Start backend (choose one)
cd backend
deno task dev # Deno runtime
# OR
npm run dev # Node.js runtime
# Start frontend (new terminal)
cd frontend
npm run dev
Create .env file in project root:
echo "PORT=9000" > .env
Run with dotenvx to use the .env file:
# Backend
cd backend
dotenvx run --env-file=../.env -- deno task dev # Deno
dotenvx run --env-file=../.env -- npm run dev # Node.js
# Frontend (uses Vite's built-in .env support)
cd frontend
npm run dev
Alternative: Set environment variables directly:
PORT=9000 deno task dev # Deno
PORT=9000 npm run dev # Node.js
Important: This tool executes Claude CLI locally and provides web access to it.
# Local only (recommended)
claude-code-webui --port 8080
# Network access (trusted networks only)
claude-code-webui --port 8080 --host 0.0.0.0
Never expose to public internet without proper security measures.
For comprehensive technical documentation, see CLAUDE.md which covers:
Yes, you need the Claude CLI tool installed and authenticated. The web UI is a frontend for the existing Claude CLI.
Yes! The web interface is fully responsive and works great on mobile devices when connected to your local network.
Yes, everything runs locally. No data is sent to external servers except Claude's normal API calls through the CLI.
While technically possible, it's designed for local use. If deploying remotely, ensure proper authentication and security measures.
Download the latest binary from releases or pull the latest code for development mode.
These errors typically indicate Claude CLI path detection issues. See the Troubleshooting section for detailed solutions including environment manager workarounds and debug steps.
Alternative Claude Code Web UIs:
Both projects aim to make Claude Code more accessible through web interfaces, each with their own strengths and approach.
We welcome contributions! Please see our development setup and feel free to:
Fun fact: This project is almost entirely written and committed by Claude Code itself! π€
We'd love to see pull requests from your Claude Code sessions too :)
MIT License - see LICENSE for details.
Made with β€οΈ for the Claude Code community
β Star this repo β’ π Report issues β’ π¬ Discussions
559 followers Β· starred Jul 2025
406 followers Β· starred Jul 2025
1,538 followers Β· starred Feb 2026
650 followers Β· starred Jul 2025