{"id":13454731,"url":"https://github.com/bincooo/chatgpt-adapter","last_synced_at":"2025-05-15T06:05:02.434Z","repository":{"id":177538389,"uuid":"660299583","full_name":"bincooo/chatgpt-adapter","owner":"bincooo","description":"集成了openai-api、coze、deepseek、cursor、windsurf、qodo、blackbox、you、grok、bing  绘画 多款AI的聊天逆向接口适配到 OpenAI API 标准接口服务端。","archived":false,"fork":false,"pushed_at":"2025-04-24T14:46:02.000Z","size":717654,"stargazers_count":857,"open_issues_count":19,"forks_count":188,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-05-04T23:37:43.534Z","etag":null,"topics":["ai","bing","claude","coze","cursor","deepseek","gpt","grok","qodo","windsurf","you"],"latest_commit_sha":null,"homepage":"https://bincooo.github.io/chatgpt-adapter","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bincooo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-29T17:27:06.000Z","updated_at":"2025-05-04T12:32:12.000Z","dependencies_parsed_at":"2023-09-28T05:09:26.105Z","dependency_job_id":"3839a70c-bb61-431d-b73d-134b42b460d8","html_url":"https://github.com/bincooo/chatgpt-adapter","commit_stats":null,"previous_names":["bincooo/miaox","bincooo/autoai","bincooo/chatgpt-adapter"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bincooo%2Fchatgpt-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bincooo%2Fchatgpt-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bincooo%2Fchatgpt-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bincooo%2Fchatgpt-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bincooo","download_url":"https://codeload.github.com/bincooo/chatgpt-adapter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254283339,"owners_count":22045140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","bing","claude","coze","cursor","deepseek","gpt","grok","qodo","windsurf","you"],"created_at":"2024-07-31T08:00:57.402Z","updated_at":"2025-05-15T06:05:02.406Z","avatar_url":"https://github.com/bincooo.png","language":"Go","funding_links":[],"categories":["Openai","A01_文本生成_文本对话","Go"],"sub_categories":["大语言对话模型及数据"],"readme":"\u003ch2 align=\"center\"\u003eChatGPT Adapter\u003c/h2\u003e\n\u003cdiv\u003e\n该服务集成了openai-api、coze、deepseek、cursor、windsurf、blackbox、you、grok、bing 绘画 多款AI的聊天逆向接口适配到 OpenAI API 标准接口服务端。\n\u003c/div\u003e\n\n![image](https://github.com/user-attachments/assets/93be2041-8ebc-466a-9fd4-939f4f9082f2)\n\n具体配置请 » [查阅文档](https://bincooo.github.io/chatgpt-adapter) »\n\n支持高速流式输出、支持多轮对话，与ChatGPT接口完全兼容。\n\n使用本项目，可享用以下内容转v1接口：\n\n - [字节coze国际版](https://www.coze.com)\n - [new bing copilot](https://copilot.microsoft.com)\n - [cursor editor](https://www.cursor.com)\n - [windsurf editor](https://codeium.com)\n - [qodo](https://www.qodo.ai)\n - [deepseek](https://www.deepseek.com)\n - [Chatbot Arena LMSYS](https://lmarena.ai)\n - [you](https://you.com)\n - [grok](https://grok.com)\n - [huggingface 绘图](https://huggingface.io)\n\n![image](https://github.com/user-attachments/assets/1edf6efe-028c-4ec8-a7c4-a3c4fc2753d8)\n\n### 执行前置\n\n安装中间编译工具\n```shell\ngo install ./cmd/iocgo\n\n# or \n\nmake install\n```\n### 使用\n\n\n正常指令附加\n```shell\n# ----- go build ------ #\n# 原指令 #\ngo build ./main.go\n\n# 附加指令 #\ngo build -toolexec iocgo ./main.go\n\n\n# ----- go run ------ #\n# 原指令 #\ngo run ./main.go\n\n# 附加指令 #\ngo run -toolexec iocgo ./main.go\n```\n\n其它`go`指令同理\n\n\n### 运行本项目三部曲 (linux / macos / window)\n\n```shell\nmake install\n\nmake build\n\n./bin/[os]/server[.exe] -h\n```\n\n### Docker 启动\n1. docker 命令：\n```shell\ndocker run -p 8080:8080 -v ./config.yaml:/app/config.yaml ghcr.io/bincooo/chatgpt-adapter:latest\n```\n\n2. huggingface: [Duplicate this Space](https://huggingface.co/spaces/wIK5Ez2o/DEMO/tree/main?duplicate=true)\n\n### systemctl 自启动配置\n```adapter.service\n[Unit]\nDescription=ChatGPT adapter\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=/your_work_dir\nExecStart=/your_app --port 7860\nRestart=on-failure\n\n[Install]\nWantedBy=multi-user.target\n```\n\n### 其它 ...\n看到有不少朋友似乎对逆向爬虫十分感兴趣，那我这里就浅谈一下个人的一点小经验吧\n\n- 爬虫逆向之 [ja3 指纹篇](https://github.com/bincooo/chatgpt-adapter/discussions/106)\n- 爬虫逆向之 [new bing copilot篇](https://github.com/bincooo/chatgpt-adapter/discussions/105)\n- 爬虫逆向之 [cursor \u0026 windsurf (protobuf+gzip)篇](https://github.com/bincooo/chatgpt-adapter/discussions/107)\n\n## 特别声明\n\u003e 本仓库发布的程序代码及其中涉及的任何解锁和解密分析脚本，仅用于测试和学习研究，禁止用于商业用途，不能保证其合法性，准确性，完整性和有效性，请根据情况自行判断。\n\u003e\n\u003e 本项目内所有资源文件，禁止任何公众号、自媒体进行任何形式的转载、发布。\n\u003e\n\u003e 本人对任何脚本/代码/访问资源问题概不负责，包括但不限于由任何脚本错误导致的任何损失或损害。\n\u003e\n\u003e 间接使用脚本/代码/访问资源的任何用户，包括但不限于建立VPS或在某些行为违反国家/地区法律或相关法规的情况下进行传播, 本人对于由此引起的任何隐私泄漏或其他后果概不负责。\n\u003e\n\u003e 请勿将本仓库的任何内容用于商业或非法目的，否则后果自负。\n\u003e\n\u003e 如果任何单位或个人认为该项目的脚本/代码/访问资源可能涉嫌侵犯其权利，则应及时通知并提供身份证明，所有权证明，我们将在收到认证文件后删除相关脚本。\n\u003e\n\u003e 任何以任何方式查看此项目的人或直接或间接使用该项目的任何脚本的使用者都应仔细阅读此声明。本人保留随时更改或补充此免责声明的权利。一旦使用并复制了任何相关脚本或Script项目的规则，则视为您已接受此免责声明。\n\u003e\n\u003e 您必须在下载后的24小时内从计算机或手机中完全删除以上内容.\n\u003e\n\u003e 您使用或者复制了本仓库且本人制作的任何脚本/代码，则视为 已接受 此声明，请仔细阅读!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbincooo%2Fchatgpt-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbincooo%2Fchatgpt-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbincooo%2Fchatgpt-adapter/lists"}