{"id":13762312,"url":"https://github.com/lanyizi/qwq","last_synced_at":"2025-05-10T15:31:04.729Z","repository":{"id":150565266,"uuid":"326273458","full_name":"lanyizi/qwq","owner":"lanyizi","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-12T04:22:07.000Z","size":48,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-03T17:01:36.820Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lanyizi.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}},"created_at":"2021-01-02T21:23:33.000Z","updated_at":"2022-04-04T14:02:28.000Z","dependencies_parsed_at":"2023-07-11T22:15:47.755Z","dependency_job_id":null,"html_url":"https://github.com/lanyizi/qwq","commit_stats":null,"previous_names":["bsg-75/qwq"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanyizi%2Fqwq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanyizi%2Fqwq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanyizi%2Fqwq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanyizi%2Fqwq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanyizi","download_url":"https://codeload.github.com/lanyizi/qwq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224974208,"owners_count":17401100,"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":[],"created_at":"2024-08-03T14:00:38.624Z","updated_at":"2024-11-16T21:30:20.236Z","avatar_url":"https://github.com/lanyizi.png","language":"TypeScript","funding_links":[],"categories":["基于其他语言sdk的应用"],"sub_categories":[],"readme":"# qwq\n一个非常简(jǐan)单(lòu)、基于 [mirai-ts](https://github.com/YunYouJun/mirai-ts) 的跨群转发消息机器人\n\n这样的机器人到底有什么用呢，大概就是，可以把多个群，通过互相转发消息，“合并”成一个群吧 ←_←\n\n它可以支持跨群回复，也就是，假如机器人转发消息过来，你回复机器人，机器人就会在另一个群里替你回复另一个人！\n此外它还支持撤回，假如你撤回了自己的消息，那么机器人也将会尝试撤回它转发到其他群的消息。\n\n## 使用方法\n首先你需要拥有一个能够通过 HTTP API 访问的 Mirai 机器人\n（比如说，一个启用了 [mirai-api-http](https://github.com/project-mirai/mirai-api-http) 插件的 [Mirai Console](https://github.com/mamoe/mirai-console)）\n\n接下来需要编译 `index.ts`，可以通过 `tsc` 命令来执行（需要先安装 typescript 编译器）\n\n然后执行 `node index.js -c 配置文件.json` 即可。\n\n配置文件的格式可以参考这里：https://github.com/BSG-75/qwq/blob/main/index.ts#L28\n- `mahConfig` 指的是与 mirai-api-http 有关的配置，具体内容可以参考[这里](https://github.com/YunYouJun/mirai-ts#javascript)\n\n开始运行之后，它就会自动在各个群里互相转发消息了\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanyizi%2Fqwq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanyizi%2Fqwq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanyizi%2Fqwq/lists"}