diff --git a/README.md b/README.md index d41af53..24f5781 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@
@@ -13,12 +14,12 @@ Claude Code Router Desktop is a local gateway and desktop control panel for routing agent requests from Claude Code, Codex, ZCode, and compatible clients to the model provider you actually want to use. -CCR runs on your machine, keeps provider configuration in your local config directory, and exposes a local gateway at `http://127.0.0.1:3456`. +CCR runs on your machine, keeps provider configuration in your local config directory, and exposes the local gateway at `http://localhost:8080` by default. ## Why Use CCR - Use one local endpoint for multiple agent tools instead of configuring every client separately. -- Route requests with explicit rules instead of editing client configuration by hand. +- Route requests with default routing, conditional rules, fallback targets, and request rewrites instead of editing client configuration by hand. - Mix providers without changing your workflow. CCR supports OpenAI-compatible APIs, Anthropic Messages, Gemini Generate Content, OpenRouter, DeepSeek, SiliconFlow, Moonshot, Kimi Code, Mistral, Z.AI, Bailian, and custom providers. - Control cost and reliability with fallback routing, API key rotation, usage statistics, and request logs. - Manage everything from a desktop UI instead of editing JSON by hand. @@ -26,40 +27,18 @@ CCR runs on your machine, keeps provider configuration in your local config dire ## Features -- **Desktop dashboard**: start or stop the local gateway, inspect usage, configure the tray window, and manage runtime settings. -- **Provider management**: add provider presets or custom endpoints, test connectivity, manage credentials, and monitor supported account balances where available. -- **Routing rules**: configure conditional and model-prefix routing rules with fallback handling. -- **Agent profiles**: configure Claude Code, Codex, and ZCode profiles that point to the CCR gateway. -- **Gateway compatibility**: translate client requests through the local CCR wrapper and the core gateway runtime. +- **Overview dashboard**: inspect system status, usage widgets, account balances, model distribution, and share cards. +- **Provider management**: add provider presets or custom endpoints, probe protocol support, test model connectivity, manage credentials, and monitor supported account balances where available. +- **Routing rules**: configure default routing, conditional and model-prefix rules, fallback handling, and request rewrites. +- **Agent Config**: configure Claude Code, Codex, and ZCode launch entries, models, scopes, and multi-instance app profiles. +- **Gateway compatibility**: translate supported client requests through the local CCR model gateway. - **Proxy mode**: capture supported API traffic through a local proxy with optional system proxy integration and network capture. -- **Plugins**: install or load wrapper plugins, including routes for Claude Design and Cursor Proxy style integrations. -- **Virtual models**: expose aliases or composed model profiles for clients that expect a specific model name. -- **Provider deeplinks**: import provider configuration through `ccr://provider?...` links after user confirmation. +- **Extensions**: install or load wrapper plugins, including routes for Claude Design and Cursor Proxy style integrations. +- **Fusion models**: combine a base model with vision, web search, or MCP tools into a reusable selectable model. +- **Provider deeplinks**: import provider configuration, manifests, and embeddable one-click provider buttons through `ccr://provider?...` links after user confirmation. ## Download And Install -### npm CLI - -Install the CLI package when you want to run CCR without the desktop tray or `ccr://` protocol integration: - -```bash -npm install -g claude-code-router -ccr start -``` - -Common commands: - -```bash -ccr start # start the background CCR service and web management UI -ccr stop # stop the background CCR service -ccrIf you find this project helpful, please consider sponsoring its development. Your support is greatly appreciated.
![]() |
- ![]() |
+
+
+ + One-time support via Ko-fi + |
+
+
+ + International sponsorship + |
|
+ Alipay
+ +
+ |
+
+ WeChat Pay
+ +
+ |
+
A huge thank you to all our sponsors for their generous support.
-(If your name is masked, please contact me via my homepage email to update it with your GitHub username.) +| + Z智谱 + | ++ AIHubmix + | +
| + BurnCloud + | ++ 302.AI + | +
| @Simon Leischnig | +@duanshuaimin | +@vrgitadmin | +@*o | +
| @ceilwoo | +@*说 | +@*更 | +@K*g | +
| @R*R | +@bobleer | +@*苗 | +@*划 | +
| @Clarence-pan | +@carter003 | +@S*r | +@*晖 | +
| @*敏 | +@Z*z | +@*然 | +@cluic | +
| @*苗 | +@PromptExpert | +@*应 | +@yusnake | +
| @*飞 | +@董* | +@*汀 | +@*涯 | +
| @*:-) | +@**磊 | +@*琢 | +@*成 | +
| @Z*o | +@*琨 | +@congzhangzh | +@*_ | +
| @Z*m | +@*鑫 | +@c*y | +@*昕 | +
| @witsice | +@b*g | +@*亿 | +@*辉 | +
| @JACK | +@*光 | +@W*l | +@kesku | +
| @biguncle | +@二吉吉 | +@a*g | +@*林 | +
| @*咸 | +@*明 | +@S*y | +@f*o | +
| @*智 | +@F*t | +@r*c | +@qierkang | +
| @*军 | +@snrise-z | +@*王 | +@greatheart1000 | +
| @*王 | +@zcutlip | +@Peng-YM | +@*更 | +
| @*. | +@F*t | +@*政 | +@*铭 | +
| @*叶 | +@七*o | +@*青 | +@**晨 | +
| @*远 | +@*霄 | +@**吉 | +@**飞 | +
| @**驰 | +@x*g | +@**东 | +@*落 | +
| @哆*k | +@*涛 | +@苗大 | +@*呢 | +
| @d*u | +@crizcraig | +s*s | +*火 | +
| *勤 | +**锟 | +*涛 | +**明 | +
| *知 | +*语 | +*瓜 | ++ |
如果你觉得这个项目有帮助,欢迎赞助项目开发。非常感谢你的支持。
![]() |
- ![]() |
+
+
+ + 通过 Ko-fi 单次赞助 + |
+
+
+ + 国际赞助通道 + |
|
+ 支付宝
+ +
+ |
+
+ 微信支付
+ +
+ |
+
非常感谢所有赞助商的慷慨支持。
-(如果你的名字被打码,请通过我的主页邮箱联系我更新为 GitHub 用户名。) +| + Z智谱 + | ++ AIHubmix + | +
| + BurnCloud + | ++ 302.AI + | +
| @Simon Leischnig | +@duanshuaimin | +@vrgitadmin | +@*o | +
| @ceilwoo | +@*说 | +@*更 | +@K*g | +
| @R*R | +@bobleer | +@*苗 | +@*划 | +
| @Clarence-pan | +@carter003 | +@S*r | +@*晖 | +
| @*敏 | +@Z*z | +@*然 | +@cluic | +
| @*苗 | +@PromptExpert | +@*应 | +@yusnake | +
| @*飞 | +@董* | +@*汀 | +@*涯 | +
| @*:-) | +@**磊 | +@*琢 | +@*成 | +
| @Z*o | +@*琨 | +@congzhangzh | +@*_ | +
| @Z*m | +@*鑫 | +@c*y | +@*昕 | +
| @witsice | +@b*g | +@*亿 | +@*辉 | +
| @JACK | +@*光 | +@W*l | +@kesku | +
| @biguncle | +@二吉吉 | +@a*g | +@*林 | +
| @*咸 | +@*明 | +@S*y | +@f*o | +
| @*智 | +@F*t | +@r*c | +@qierkang | +
| @*军 | +@snrise-z | +@*王 | +@greatheart1000 | +
| @*王 | +@zcutlip | +@Peng-YM | +@*更 | +
| @*. | +@F*t | +@*政 | +@*铭 | +
| @*叶 | +@七*o | +@*青 | +@**晨 | +
| @*远 | +@*霄 | +@**吉 | +@**飞 | +
| @**驰 | +@x*g | +@**东 | +@*落 | +
| @哆*k | +@*涛 | +@苗大 | +@*呢 | +
| @d*u | +@crizcraig | +s*s | +*火 | +
| *勤 | +**锟 | +*涛 | +**明 | +
| *知 | +*语 | +*瓜 | ++ |