[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73878":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":16,"starSnapshotCount":16,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},73878,"ccs","kaitranntt\u002Fccs","kaitranntt","Switch between Claude accounts, Gemini, Copilot, OpenRouter (300+ models) via CLIProxyAPI OAuth proxy. Visual dashboard, remote proxy support, WebSearch fallback. Zero-config to production-ready.","https:\u002F\u002Fccs.kaitran.ca\u002F",null,"TypeScript",2483,209,11,33,0,18,44,155,54,28.97,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"ai-gateway","anthropic-api","claude","claude-code","cli-tool","cliproxyapi","developer-productivity","gemini","github-copilot","multi-account","nodejs","oauth","openrouter","profile-switching","react-dashboard","typescript","websearch","2026-06-12 02:03:19","\u003Cdiv align=\"center\">\n\n# CCS - Claude Code Switch\n\n![CCS Logo](assets\u002Fccs-logo-medium.png)\n\n### The multi-provider profile and runtime manager for Claude Code and compatible CLIs\n\nRun Claude, Codex, Droid-routed profiles, GLM, local models, and\nAnthropic-compatible APIs without config thrash.\n\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-C15F3C?style=for-the-badge)](LICENSE)\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@kaitranntt\u002Fccs?style=for-the-badge&logo=npm)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@kaitranntt\u002Fccs)\n[![PoweredBy](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPoweredBy-ClaudeKit-C15F3C?style=for-the-badge)](https:\u002F\u002Fclaudekit.cc?ref=HMNKXOHN)\n\n**[Website](https:\u002F\u002Fccs.kaitran.ca)** |\n**[Documentation](https:\u002F\u002Fdocs.ccs.kaitran.ca)** |\n**[Product Tour](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Fproduct-tour)** |\n**[CLI Reference](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Freference\u002Fcli-commands)**\n\n\u003C\u002Fdiv>\n\n## Why CCS\n\nCCS gives you one stable command surface while letting you switch between:\n\n- multiple runtimes such as Claude Code, Factory Droid, and Codex CLI\n- multiple Claude subscriptions and isolated account contexts\n- OAuth providers like Codex, Kiro, Claude, Qwen, Kimi, and more, with legacy\n  Copilot compatibility for existing setups\n- API and local-model profiles like GLM, Kimi, OpenRouter, Ollama, llama.cpp,\n  Novita, and Alibaba Coding Plan\n\nThe goal is simple: stop rewriting config files, stop breaking active sessions,\nand move between providers in seconds.\n\n## Quick Start\n\n```bash\nnpm install -g @kaitranntt\u002Fccs\nccs config\n```\n\nThen launch whatever runtime fits the task:\n\n```bash\nccs\nccs codex\nccs --target droid glm\nccs glm\nccs ollama\n```\n\n## OpenAI-Compatible Routing\n\nCCS can now bridge Claude Code into OpenAI-compatible providers through a local\nAnthropic-compatible proxy instead of requiring a native Anthropic upstream.\n\n```bash\nccs api create --preset hf\nccs hf\n```\n\nNeed to manage the proxy manually?\n\n```bash\nccs proxy start hf\neval \"$(ccs proxy activate)\"\n```\n\nThe proxy also supports request-time `profile:model` selectors, scenario-based\nmodel routing through `proxy.routing`, and explicit activation helpers such as\n`ccs proxy activate --fish`.\n\nGuide: [OpenAI-Compatible Provider Routing](.\u002Fdocs\u002Fopenai-compatible-providers.md)\n\n### Related Project: claude-code-router\n\n[claude-code-router](https:\u002F\u002Fgithub.com\u002Fmusistudio\u002Fclaude-code-router) is an\nexcellent standalone tool for routing Claude Code requests to OpenAI-compatible\nproviders. CCS's local proxy and SSE transformation work was directly informed\nby CCR's transformer architecture.\n\nUse CCR when you want a standalone router without CCS profile management.\nUse CCS when you want the routing flow integrated with CCS profiles, runtime\nbridges, and the existing `ccs` command surface.\n\nNeed the full setup path instead of the short version?\n\n| Need | Start here |\n| --- | --- |\n| Install and verify CCS | [`\u002Fgetting-started\u002Finstallation`](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Finstallation) |\n| First successful session | [`\u002Fgetting-started\u002Ffirst-session`](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Ffirst-session) |\n| Visual walkthrough | [`\u002Fgetting-started\u002Fproduct-tour`](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Fproduct-tour) |\n| Provider selection | [`\u002Fproviders\u002Fconcepts\u002Foverview`](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fproviders\u002Fconcepts\u002Foverview) |\n| Full command reference | [`\u002Freference\u002Fcli-commands`](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Freference\u002Fcli-commands) |\n| Troubleshooting | [`\u002Freference\u002Ftroubleshooting`](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Freference\u002Ftroubleshooting) |\n\n## See CCS In Action\n\n### Usage Analytics\n\n![Analytics Dashboard](assets\u002Fscreenshots\u002Fanalytics.webp)\n\nTrack usage, costs, and session patterns across profiles. Deep dive:\n[Dashboard Analytics](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Ffeatures\u002Fdashboard\u002Fanalytics).\n\n### Live Auth And Health Monitoring\n\n![Live Auth Monitor](assets\u002Fscreenshots\u002Flive-auth-monitor.webp)\n\nSee auth state, account health, and provider readiness without dropping into raw\nconfig. Deep dive:\n[Live Auth Monitor](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Ffeatures\u002Fdashboard\u002Flive-auth-monitor).\n\n### OAuth Provider Control Center\n\n![CLIProxy API](assets\u002Fscreenshots\u002Fcliproxyapi.webp)\n\nManage OAuth-backed providers, quota visibility, and proxy-wide routing from one place. CCS now\nsurfaces round-robin vs fill-first natively in both CLI and dashboard flows instead of hiding that\nchoice inside raw upstream controls. The original CLIProxyAPI backend remains the default; the\ncommunity-maintained CLIProxyAPIPlus fork is opt-in for plus-only providers. When Plus is selected,\nCCS points the embedded management panel at the maintained CPAMC dashboard fork by default.\nDeep dive:\n[CLIProxy API](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Ffeatures\u002Fproxy\u002Fcliproxy-api).\n\n### Managed Tooling And Fallbacks\n\n![WebSearch Fallback](assets\u002Fscreenshots\u002Fwebsearch.webp)\n\nCCS can provision first-class local tools like WebSearch and image analysis for\nthird-party launches instead of leaving you to wire them by hand. Browser\nautomation now has a first-class setup path as well. Deep dive:\n[WebSearch](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Ffeatures\u002Fai\u002Fwebsearch) |\n[Browser Automation](.\u002Fdocs\u002Fbrowser-automation.md).\n\n## Docs Matrix\n\nThe README stays short on purpose. The docs site owns the detailed guides and\nreference material.\n\n| If you want to... | Read this |\n| --- | --- |\n| Understand what CCS is and how the pieces fit together | [Introduction](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fintroduction) |\n| Install CCS cleanly on a new machine | [Installation](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Finstallation) |\n| Go from install to a successful first run | [Your First CCS Session](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Ffirst-session) |\n| See the dashboard and workflow surfaces before setup | [Product Tour](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Fproduct-tour) |\n| Compare OAuth providers, Claude accounts, and API profiles | [Provider Overview](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fproviders\u002Fconcepts\u002Foverview) |\n| Learn the dashboard structure and feature pages | [Dashboard Overview](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Ffeatures\u002Fdashboard\u002Foverview) |\n| Configure profiles, paths, and environment variables | [Configuration](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Fgetting-started\u002Fconfiguration) |\n| Understand browser attach vs Codex browser tooling | [Browser Automation](.\u002Fdocs\u002Fbrowser-automation.md) |\n| Keep OpenCode aligned with your live CCS setup | [OpenCode Sync Plugin](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Ffeatures\u002Fworkflow\u002Fopencode-sync) |\n| Browse every command and flag | [CLI Commands](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Freference\u002Fcli-commands) |\n| Recover from install, auth, or provider failures | [Troubleshooting](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Freference\u002Ftroubleshooting) |\n| Understand storage, config, and architecture details | [Reference](https:\u002F\u002Fdocs.ccs.kaitran.ca\u002Freference\u002Farchitecture) |\n\n## Example Workflow\n\n```bash\n# Design with default Claude\nccs \"design the auth flow\"\n\n# Implement with a different provider\nccs codex \"implement the user service\"\n\n# Use a cheaper API profile for routine work\nccs glm \"clean up tests and docs\"\n\n# Run a local model when you need privacy or offline access\nccs ollama \"summarize these logs\"\n```\n\n## Community Projects\n\n| Project | Author | Description |\n| --- | --- | --- |\n| [opencode-ccs-sync](https:\u002F\u002Fgithub.com\u002FJasonLandbridge\u002Fopencode-ccs-sync) | [@JasonLandbridge](https:\u002F\u002Fgithub.com\u002FJasonLandbridge) | Auto-sync CCS providers into OpenCode |\n\n## Contribute And Report Safely\n\n- Contributing guide: [CONTRIBUTING.md](.\u002FCONTRIBUTING.md)\n- Daily local gate: `bun run format && bun run lint:fix && bun run validate` (`validate` is the fast path only)\n- Before review or merge confidence: `bun run validate:ci-parity`\n- If PR checks stay queued for more than 10 minutes, assume the self-hosted runner is offline and notify a maintainer instead of retrying blindly\n- Starter work:\n  [good first issue](https:\u002F\u002Fgithub.com\u002Fkaitranntt\u002Fccs\u002Flabels\u002Fgood%20first%20issue),\n  [help wanted](https:\u002F\u002Fgithub.com\u002Fkaitranntt\u002Fccs\u002Flabels\u002Fhelp%20wanted)\n- Questions: [open a question issue](https:\u002F\u002Fgithub.com\u002Fkaitranntt\u002Fccs\u002Fissues\u002Fnew\u002Fchoose)\n- Security reports: [SECURITY.md](.\u002FSECURITY.md) and the\n  [private advisory form](https:\u002F\u002Fgithub.com\u002Fkaitranntt\u002Fccs\u002Fsecurity\u002Fadvisories\u002Fnew)\n\n## Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=kaitranntt\u002Fccs&type=date&legend=top-left)](https:\u002F\u002Fwww.star-history.com\u002F#kaitranntt\u002Fccs&type=date&legend=top-left)\n","CCS 是一个用于在多个 Claude 账户、Gemini、Copilot 和 OpenRouter（支持300多种模型）之间切换的命令行工具，通过 CLIProxyAPI OAuth 代理实现。其核心功能包括可视化仪表板、远程代理支持和 WebSearch 回退机制，采用 TypeScript 编写，提供零配置到生产就绪的体验。该项目特别适合需要频繁切换不同 AI 服务提供商或账户环境的开发者使用，能够显著提高工作效率并简化配置管理流程。",2,"2026-06-11 03:47:46","high_star"]