by Laliet
⭐️ A cross-platform web-based All-in-One assistant tool for Claude Code, Codex & Gemini CLI, based on CC Switch.
# Add to your Claude Code skills
git clone https://github.com/Laliet/cc-switch-webGuides for using ai agents skills like cc-switch-web.
Last scanned: 5/28/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@vitest/coverage-v8: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@vitest/mocker: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "esbuild: esbuild enables any website to send any requests to the development server and read the response",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vite: Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vite-node: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vitest: Vulnerability found",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-05-28T07:59:54.154Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}Web-based CC Switch for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw & OMO.
🙏 This project is a fork of farion1231/cc-switch by Jason Young. Thanks to the original author for the excellent work. This fork adds Web Server mode for cloud/headless deployment.
Cross-platform web-based All-in-One assistant for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw & OMO
English | 中文 | Legal Notice | Changelog
cc-switch-web is a cross-platform web-based CC Switch for Claude Code, Codex, Gemini CLI, OpenCode, OpenClaw, and oh-my-opencode (OMO). It lets you manage providers and host-side configuration from either a desktop app or an authenticated headless Web console.
Whether you're working locally or in a headless cloud environment, cc-switch-web offers a seamless experience for:
If you have any questions, you can contact me here https://linux.do/t/topic/1217545
| Provider Switching + Local Routing | Usage Dashboard |
|---|---|
![]() |
![]() |
| MCP Server Management | Prompt Management |
|---|---|
![]() |
![]() |
| Skills Marketplace | Add Provider |
|---|---|
![]() |
![]() |
| Configure Provider |
|---|
![]() |
Recommended: Use Web Server Mode for headless/cloud deployments and remote access.
Lightweight web server for headless environments. Access via browser, no GUI dependencies.
Download precompiled server binary—no compilation required:
| Architecture | Download |
|---|---|
| Linux x86_64 (glibc) | cc-switch-server-linux-x86_64 |
| Linux aarch64 (glibc) | cc-switch-server-linux-aarch64 |
Release page: v0.21.0 downloads
Note (glibc): Binaries are built on Ubuntu 22.04 (glibc baseline).
If you seeGLIBC_2.xx not found, use Docker or build from source.
Check your glibc withldd --version.
One-Line Deploy:
curl -fsSL https://raw.githubusercontent.com/Laliet/cc-switch-web/main/scripts/deploy-web.sh | bash -s -- --prebuilt
Quick fixes:
GLIBC_2.xx not found: use Docker (ghcr.io/laliet/cc-switch-web:latest) or build from source.docker run -p 3000:3000 ghcr.io/laliet/cc-switch-web:latest.Advanced options:
# Custom install directory and port
INSTALL_DIR=/opt/cc-switch PORT=8080 curl -fsSL https://raw.githubusercontent.com/Laliet/cc-switch-web/main/scripts/deploy-web.sh | bash -s -- --prebuilt
# Create systemd service for auto-start
CREATE_SERVICE=1 curl -fsSL https://raw.githubusercontent.com/Laliet/cc-switch-web/main/scripts/deploy-web.sh | bash -s -- --prebuilt
Docker image published to GitHub Container Registry (ghcr.io):
docker run -p 3000:3000 ghcr.io/laliet/cc-switch-web:latest
⚠️ Note: Docker image name must be lowercase (
laliet, notLaliet)
Advanced Docker options:
# Use the deploy script (custom port/version/data dir/background)
./scripts/docker-deploy.sh -p 8080 --data-dir /opt/cc-switch-data -d
# Build locally (optional)
docker build -t cc-switch-web .
docker run -p 3000:3000 cc-switch-web
Dependencies: libssl-dev, pkg-config, Rust 1.78+, pnpm (no WebKit/GTK needed)
# 1. Clone and install dependencies
git clone https://github.com/Laliet/cc-switch-web.git
cd cc-switch-web
pnpm install
# 2. Build web assets
pnpm build:web
# 3. Build and run server
cd src-tauri
cargo build --release --no-default-features --features web-server --example server
HOST=0.0.0.0 PORT=3000 ./target/release/examples/server
admin~/.cc-switch/web_passwordCORS_ALLOW_ORIGINS=https://your-domain.com for cross-origin (CORS_ALLOW_ORIGINS="*" is ignored). For LAN/private origins, enable ALLOW_LAN_CORS=1 (or CC_SWITCH_LAN_CORS=1) to auto-allowWeb mode manages files and processes on the server host, not on the browser device. The runtime capability endpoint (GET /api/capabilities) drives the UI so native-only controls are not presented as working Web features.
| App | Web/headless support |
|---|---|
| Claude, Codex, Gemini | Providers, MCP, prompts, skills, usage, sessions, and local routing on the server host |
| OpenCode | Additive providers plus MCP, prompts, skills, usage, sessions, and local routing |
| OpenClaw | Additive providers, structured/raw configuration, external-provider reconciliation, allowlisted Workspace/daily-memory editing, and sessions |
| OMO / OMO Slim | Provider profiles plus shared OpenCode MCP/Skills storage; no local proxy takeover |
| Claude Desktop | Provider/local-routing profiles only on a supported macOS or Windows server host; no MCP, prompts, skills, usage, or sessions |
Native file dialogs, tray integration, app update, portable-mode controls, environment management, and native endpoint testing remain desktop-only. OpenClaw local routing, MCP, prompts, skills, and usage remain intentionally unsupported because upstream v3.15.0 does not provide those OpenClaw integrations.
Authentication:
Security Headers:
cc-switch-web is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Laliet. ⭐️ A cross-platform web-based All-in-One assistant tool for Claude Code, Codex & Gemini CLI, based on CC Switch. It has 490 GitHub stars.
Yes. cc-switch-web passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Laliet/cc-switch-web" and add it to your Claude Code skills directory (see the Installation section above).
cc-switch-web is primarily written in Rust. It is open-source under Laliet on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cc-switch-web against similar tools.
No comments yet. Be the first to share your thoughts!