{"id":17654621,"url":"https://github.com/xiaodong2008/wechat-robot","last_synced_at":"2025-05-07T09:15:53.648Z","repository":{"id":64722098,"uuid":"576613453","full_name":"xiaodong2008/wechat-robot","owner":"xiaodong2008","description":"一个由wechaty驱动的简易版微信机器人，支持天气查询，翻译，计算机，chatGPT问答","archived":false,"fork":false,"pushed_at":"2022-12-31T05:02:12.000Z","size":121,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T09:15:44.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/xiaodong2008.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}},"created_at":"2022-12-10T12:11:24.000Z","updated_at":"2024-05-14T05:20:19.000Z","dependencies_parsed_at":"2023-01-31T18:01:52.898Z","dependency_job_id":null,"html_url":"https://github.com/xiaodong2008/wechat-robot","commit_stats":null,"previous_names":["xiaodong2008/wechat-robot"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaodong2008%2Fwechat-robot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaodong2008%2Fwechat-robot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaodong2008%2Fwechat-robot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaodong2008%2Fwechat-robot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaodong2008","download_url":"https://codeload.github.com/xiaodong2008/wechat-robot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847524,"owners_count":21813458,"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-10-23T12:35:20.990Z","updated_at":"2025-05-07T09:15:53.614Z","avatar_url":"https://github.com/xiaodong2008.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wechat-Bot\n\n这是一个基于wechaty开发的微信机器人，内置了一些常用的功能。\n\n## 内置功能\n\n- 自动回复\n- 管理员面板\n- 天气查询\n- 翻译\n- 计算机\n- ChatGPT\n- 等等\n\n## 使用方法\n\n1. Git Clone\n\n```bash\ngit clone https://github.com/dy-xiaodong2022/wechat-robot.git\n```\n\n2. 安装依赖\n\n```bash\nnpm install\n```\n\n3. 修改配置文件 `secret.json`\n```text\n{\n  \"translate\": {\n    \"appid\": \"your baidu translate appID\",\n    \"key\": \"your baidu translate key\"\n  },\n  \"weather\": {\n    \"key\": \"your visualcrossing weather key\"\n  }\n}\n```\n\n4. 启动\n\n```bash\nnpm run dev\n```\n\n## 常见问题\n\n1. 为什么打包时报错 `SyntaxError: Octal literal in strict mode`\n\n你可以在 `node_modules\\qrcode-terminal\\lib\\main.js` 中，把第三和第四行的 `\\033` 改为 `\\x1b`。\n\n## 温馨提醒\n\n机器人虽好，但需注意不要拿自己大号扫二维码登录，否则可能会被微信封号。\n\n我的大号已经被警告了...","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaodong2008%2Fwechat-robot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaodong2008%2Fwechat-robot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaodong2008%2Fwechat-robot/lists"}