{"id":25596782,"url":"https://github.com/thx114/sdgpt-bot","last_synced_at":"2025-04-13T02:30:49.536Z","repository":{"id":152106987,"uuid":"625356891","full_name":"thx114/SDGPT-BOT","owner":"thx114","description":"基于 NoneBot 的机器人 / 链接到 ChatGPT + Bing + Stable-Diffusion / q群与qq频道支持","archived":false,"fork":false,"pushed_at":"2023-05-28T13:23:17.000Z","size":45,"stargazers_count":15,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T20:03:13.093Z","etag":null,"topics":["bing","bot","chatgpt","chatgpt-api","go-cqhttp","nonebot","openai","qq","qqbot","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thx114.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}},"created_at":"2023-04-08T21:29:27.000Z","updated_at":"2024-12-10T06:24:09.000Z","dependencies_parsed_at":"2025-02-21T12:33:48.622Z","dependency_job_id":"d25b7020-0508-4d0e-9385-a30462029b76","html_url":"https://github.com/thx114/SDGPT-BOT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thx114%2FSDGPT-BOT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thx114%2FSDGPT-BOT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thx114%2FSDGPT-BOT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thx114%2FSDGPT-BOT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thx114","download_url":"https://codeload.github.com/thx114/SDGPT-BOT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657795,"owners_count":21140841,"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":["bing","bot","chatgpt","chatgpt-api","go-cqhttp","nonebot","openai","qq","qqbot","stable-diffusion"],"created_at":"2025-02-21T12:33:40.712Z","updated_at":"2025-04-13T02:30:49.513Z","avatar_url":"https://github.com/thx114.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDGPT-BOT\n基于 **[NoneBot2](https://v2.nonebot.dev/)** \n  \n \n 本机器人为一键式,插件中包含了cqhttp,直接运行机器人,会自带qq实例\n\n## 功能\n\n链接 ChatGPT / Bing / Poe / Stable-Diffusion  :   \n- [x] ChatGPT 对话 \n- [x] Bing 对话\n- [x] Poe 对话\n- [x] Stable-Diffusion 文生图  \n  \u003e 基于 chatGPT 或 bing 解析自然语言转 Stable-Diffusion 生成图像\n- [x] qq 频道支持 \n  \u003e qq 频道下 chatGPT bing 的对话会分段发送\n- [x] 预设切换\n- [x] 自定义预设\n- [x] 切换模型\n- [x] 详细的指令配置\n\n**指令与功能**: [***SDGPT-CommandAndFunction***](https://github.com/thx114/SDGPT/wiki/%E6%8C%87%E4%BB%A4-%E4%B8%8E-%E5%8A%9F%E8%83%BD)\n## 效果\n![image](https://github.com/thx114/SDGPT/assets/52259890/376e2788-1566-4f1d-a5be-69b7d9236da5)\n![image](https://github.com/thx114/SDGPT/assets/52259890/5bf5f253-2221-46fd-96fd-14f5885c2fab)\n\n## 使用\n1. ```\n   git clone https://github.com/thx114/SDGPT-BOT.git\n2. ```\n   pip install -r requirements.txt\n   ```\n    ```\n   pip install nonebot-plugin-SDGPT --upgrade\n   ```\n   ```\n   python -m pip install --user pipx\n   ```\n   ```\n   pipx install nb-cli\n   ```\n   \n3. 运行 run.bat 或 `nb run`\n4. 关闭，修改 config.cfg,重新启动\n5. 打开日志提示中的gocqhttp链接:   \n   一般为 http://127.0.0.1:8080/go-cqhttp/\n6. `添加账号` \u003e ( 登录设备最好选 ipad 或 MacOS )\n7. 启动\n\n## Stable-Diffusion 配置:\n--server-name 127.0.0.1 --port 7860 --api\n\n## 单独插件 \n如果你想以NoneBot的插件形式安装:\n[***SDGPT***](https://github.com/thx114/SDGPT)\n\n## more\n\n[**QQ 群 391517834**](https://jq.qq.com/?_wv=1027\u0026k=eKsgovej)  \n[**SDGPT**](https://github.com/thx114/SDGPT)  \n   \n[**NoneBot**](https://v2.nonebot.dev/)  \n[**ChatGPT**](https://github.com/acheong08/ChatGPT)  \n[**EdgeGPT**](https://github.com/acheong08/EdgeGPT)  \n[**SD-api**](https://github.com/mix1009/sdwebuiapi)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthx114%2Fsdgpt-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthx114%2Fsdgpt-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthx114%2Fsdgpt-bot/lists"}