{"id":50811488,"url":"https://github.com/hueidou/qq-bot-openai","last_synced_at":"2026-06-13T05:04:57.217Z","repository":{"id":207717499,"uuid":"719924951","full_name":"hueidou/qq-bot-openai","owner":"hueidou","description":"一个简单的QQ频道机器人，/gpt指令进行gpt问答。","archived":false,"fork":false,"pushed_at":"2023-11-18T10:38:23.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-11-19T08:56:08.182Z","etag":null,"topics":["bot","chatgpt","gpt","openai","qq"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hueidou.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}},"created_at":"2023-11-17T07:39:03.000Z","updated_at":"2023-11-19T05:06:50.000Z","dependencies_parsed_at":"2023-11-17T09:06:04.564Z","dependency_job_id":null,"html_url":"https://github.com/hueidou/qq-bot-openai","commit_stats":null,"previous_names":["hueidou/qq-bot-openai"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/hueidou/qq-bot-openai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Fqq-bot-openai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Fqq-bot-openai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Fqq-bot-openai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Fqq-bot-openai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hueidou","download_url":"https://codeload.github.com/hueidou/qq-bot-openai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hueidou%2Fqq-bot-openai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34272640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","chatgpt","gpt","openai","qq"],"created_at":"2026-06-13T05:04:56.293Z","updated_at":"2026-06-13T05:04:57.212Z","avatar_url":"https://github.com/hueidou.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qq-bot-openai\n\n一个简单的QQ频道机器人，`/gpt`指令进行gpt问答。\n\n## 使用\n\n### 配置文件\n\n配置按优先级\n\n* 环境变量\n* config.py\n\n|配置项|说明|默认值|\n|---|---|---|\n|OPENAI_APIKEY|openai apikey||\n|OPENAI_MODEL|openai model|gpt-3.5-turbo|\n|OPENAI_BASEURL|接口代理或兼容openai的接口地址，非网络代理地址|空，使用openai默认|\n|QQBOT_APPID|AppID (机器人ID)||\n|QQBOT_TOKEN|Token(机器人令牌)||\n\n### 运行\n\n* 直接运行: `python app.py`\n* Docker: `hueidou/qq-bot-openai:latest`\n* Docker-Compose示例: `deploy/docker-compose/docker-compose.yml`\n* Kubernetes示例: `deploy/k8s/qq-bot-openai.yaml`\n\n## 开发\n\n```sh\n# python3.11环境\npip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple\npip install -r ./requirements.txt\n# 创建.env文件配置\ncp .env.example .env\npython app.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueidou%2Fqq-bot-openai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhueidou%2Fqq-bot-openai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhueidou%2Fqq-bot-openai/lists"}