{"id":22406723,"url":"https://github.com/xiaojundebug/gongzhonghao","last_synced_at":"2026-05-09T04:33:46.347Z","repository":{"id":98540410,"uuid":"142548184","full_name":"xiaojundebug/gongzhonghao","owner":"xiaojundebug","description":"用 nodejs+koa2+图灵机器人 api 开发的一个简单个人公众号","archived":false,"fork":false,"pushed_at":"2018-09-29T05:54:26.000Z","size":373,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T01:48:12.703Z","etag":null,"topics":["koa","koa2","nodejs","wechat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaojundebug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-07-27T08:10:27.000Z","updated_at":"2023-03-10T22:45:13.000Z","dependencies_parsed_at":"2023-05-29T10:30:59.694Z","dependency_job_id":null,"html_url":"https://github.com/xiaojundebug/gongzhonghao","commit_stats":null,"previous_names":["xiaojundebug/gongzhonghao"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiaojundebug/gongzhonghao","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fgongzhonghao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fgongzhonghao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fgongzhonghao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fgongzhonghao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaojundebug","download_url":"https://codeload.github.com/xiaojundebug/gongzhonghao/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaojundebug%2Fgongzhonghao/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["koa","koa2","nodejs","wechat"],"created_at":"2024-12-05T11:09:54.420Z","updated_at":"2026-05-09T04:33:46.324Z","avatar_url":"https://github.com/xiaojundebug.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wechat-public-account\n\n用 nodejs+koa2+图灵机器人 api 开发的一个简单个人公众号\n\n## 目录说明\n\n```\n├── README.md\n├── package.json\n├── yarn.lock\n├── wechat.config.json                // 微信模块配置文件\n├── turing-robot.config.json          // 图灵机器人模块配置文件\n├── app.js                            // 项目启动入口\n├── lib                               // 二次封装的一些库\n│   ├── http.js                       // 封装axios\n│   └── print.js                      // 封装chalk\n├── wechat                            // 微信模块文件夹\n│   ├── access_token.json             // accessToken存储文件\n│   ├── menus.json                    // 菜单配置文件\n│   ├── msg.js                        // 消息处理\n│   └── index.js\n├── turing-robot                      // 图灵机器人模块文件夹\n│   └── index.js\n```\n\n## 功能介绍\n\n- [x] 微信接入 token 认证\n- [x] access_token 的获取、存储及更新\n- [x] 创建菜单\n- [x] 聊天机器人\n\n## 使用方法\n\n懒得写太多了，具体接入流程网上很多，请自行修改配置文件，内网穿透用的是 `natapp`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaojundebug%2Fgongzhonghao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaojundebug%2Fgongzhonghao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaojundebug%2Fgongzhonghao/lists"}