{"id":16804388,"url":"https://github.com/he0119/coolqbot","last_synced_at":"2025-04-05T22:08:55.675Z","repository":{"id":35228804,"uuid":"144507145","full_name":"he0119/CoolQBot","owner":"he0119","description":"基于 NoneBot2 的聊天机器人","archived":false,"fork":false,"pushed_at":"2024-10-24T09:12:18.000Z","size":8717,"stargazers_count":89,"open_issues_count":4,"forks_count":22,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T10:38:32.826Z","etag":null,"topics":["coolq","nonebot2","python","qqbot"],"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/he0119.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-08-12T23:09:19.000Z","updated_at":"2024-10-10T08:17:06.000Z","dependencies_parsed_at":"2024-06-23T16:26:00.016Z","dependency_job_id":"a6a4ad19-21a0-401b-9766-91e066f3ec75","html_url":"https://github.com/he0119/CoolQBot","commit_stats":null,"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/he0119%2FCoolQBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/he0119%2FCoolQBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/he0119%2FCoolQBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/he0119%2FCoolQBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/he0119","download_url":"https://codeload.github.com/he0119/CoolQBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406091,"owners_count":20933803,"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":["coolq","nonebot2","python","qqbot"],"created_at":"2024-10-13T09:44:56.411Z","updated_at":"2025-04-05T22:08:55.658Z","avatar_url":"https://github.com/he0119.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable-next-line MD033 MD041 --\u003e\n\u003cdiv align=\"center\"\u003e\n\n# CoolQBot\n\n![CI](https://github.com/he0119/CoolQBot/workflows/CI/badge.svg)\n[![codecov](https://codecov.io/gh/he0119/CoolQBot/branch/main/graph/badge.svg?token=QEC2IWAREH)](https://codecov.io/gh/he0119/CoolQBot)\n[![Powered by NoneBot](https://img.shields.io/badge/Powered%20%20by-NoneBot-red)](https://github.com/nonebot/nonebot2)\n\n\u003c/div\u003e\n\n这只是一个随便写写的机器人，主要工作就是按照一定的规则进行复读 ~~（模仿人类）~~，其他功能都是增加可玩性的。\n\n关于名称：最早机器人是基于 `酷Q`，然而现在已经是时代的眼泪。想想还是把这个名字保留下来，留作纪念。\n\n## 运行\n\n\u003c!-- markdownlint-disable-next-line MD013 --\u003e\n\n```shell\n# 首先克隆代码到本地\ngit clone https://github.com/he0119/CoolQBot.git\n# 安装机器人所需依赖\nuv sync\n# 配置机器人通用配置\nvim .env\n```\n\n请先参考 [.env](./.env) 配置项注释中的链接，配置好所需的适配器，同时填写好各种插件的配置。\n\n接下来就可以尝试运行机器人。\n\n```shell\n# 初始化数据库\nuv run nb orm upgrade\n# 运行机器人\nuv run nb run\n```\n\n### Docker\n\n如果你的计算机上安装有 [Docker](https://www.docker.com/get-started)。\n\n你不需要执行上面的步骤，请直接将仓库中的 `docker-compose.yml` 和 `.env` 文件放置在一个你想存放机器人的文件夹内。\n\n请先参考 [.env](./.env) 配置项注释中的链接，配置好所需的适配器，同时填写好各种插件的配置。\n\n完成配置之后在 `docker-compose.yml` 文件所在目录下运行 `sudo docker compose up -d`，便可启动机器人。\n\n推荐使用 `Docker` 部署，因为机器人的音乐插件依赖于 [netease_cloud_music_api](https://github.com/Binaryify/NeteaseCloudMusicApi)。\n\n## 功能\n\n请完成部署之后，向机器人发送 `/help` 命令获取各种功能的介绍。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhe0119%2Fcoolqbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhe0119%2Fcoolqbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhe0119%2Fcoolqbot/lists"}