Skip to content
This repository was archived by the owner on Nov 18, 2026. It is now read-only.
wangtuflyPublic archive

About

No description, website, or topics provided.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Repository files navigation

QCCG

此项目已停止维护(Archived)。

最后一个版本为 v0.7.1,代码与安装包保留在此处供参考,不再更新、不再接受 Issue 与 Pull Request。 若 Qoder 接口或客户端协议发生变化,本项目不会跟进适配,请自行评估继续使用的风险。

GitHub Release Go License: GPL-3.0

将 Qoder 账号转换为本地 OpenAI / Claude / Codex 兼容 API,供Claude Code、 Cursor、ChatGPT 等客户端直接使用。

功能

  • 多账号管理,支持 PAT 和 OAuth 登录
  • 本地 Bridge 服务,兼容 OpenAI、Claude、Codex API 格式
  • 自定义模型映射配置
  • 一键生成客户端配置文件(Cursor、Continue 等)

安装

macOS (Homebrew 推荐)

brew tap wangtufly/qccg https://github.com/wangtufly/QCCG
brew install --cask qccg

升级:

brew upgrade --cask qccg

macOS (手动安装)

从 Releases 下载 .dmg 文件,打开后将 QCCG.app 拖入 Applications。

首次打开需绕过 Gatekeeper:

xattr -dr com.apple.quarantine /Applications/QCCG.app

使用

  1. 启动应用,在「账号」页面添加 Qoder 账号(PAT 或 OAuth)
  2. 设置激活账号,Bridge 服务自动启动(默认端口 8963)
  3. 在「客户端」页面选择工具,一键配置或复制配置

API 地址

http://127.0.0.1:8963

支持的端点

端点 兼容格式
/v1/chat/completions OpenAI Chat
/v1/messages Anthropic Claude
/v1/responses OpenAI Responses (Codex)

Cursor 配置

在 Cursor 设置 → Models → OpenAI API Key 填入 qccg,Base URL 填入:

http://127.0.0.1:8963

从源码构建

go install github.com/wailsapp/wails/v3/cmd/wails@latest
cd frontend && npm ci && cd ..
wails build

鸣谢

About

No description, website, or topics provided.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages