{"id":28445057,"url":"https://github.com/wechaty/plugin-chatopera","last_synced_at":"2026-05-01T06:31:22.617Z","repository":{"id":46274088,"uuid":"315004980","full_name":"wechaty/plugin-chatopera","owner":"wechaty","description":":frog: Chatopera Plugin for Wechaty","archived":false,"fork":false,"pushed_at":"2021-11-13T15:33:49.000Z","size":283,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-25T12:37:01.113Z","etag":null,"topics":["chatbot","nodejs","wechaty"],"latest_commit_sha":null,"homepage":"https://bot.chatopera.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wechaty.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":"2020-11-22T09:51:09.000Z","updated_at":"2023-09-01T08:41:02.000Z","dependencies_parsed_at":"2022-09-10T04:24:19.649Z","dependency_job_id":null,"html_url":"https://github.com/wechaty/plugin-chatopera","commit_stats":null,"previous_names":["wechaty/wechaty-chatopera"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wechaty/plugin-chatopera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fplugin-chatopera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fplugin-chatopera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fplugin-chatopera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fplugin-chatopera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wechaty","download_url":"https://codeload.github.com/wechaty/plugin-chatopera/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wechaty%2Fplugin-chatopera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["chatbot","nodejs","wechaty"],"created_at":"2025-06-06T10:11:11.759Z","updated_at":"2026-05-01T06:31:22.607Z","avatar_url":"https://github.com/wechaty.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=right\u003e\n\n[Chatopera Home](https://bot.chatopera.com/)　|　[Chatopera Docs](https://docs.chatopera.com)　|　[Wechaty Docs](https://wechaty.js.org/)　|　[Help](https://github.com/wechaty/wechaty-chatopera/issues)\n\n\u003c/div\u003e\n\n# WECHATY-CHATOPERA\n\n[![ES Modules](https://img.shields.io/badge/ES-Modules-brightgreen)](https://github.com/Chatie/tsconfig/issues/16)\n\n## INTRODUCTION\n\nBring your bots into Wechat with Wechaty Chatopera Plugin.\n\n![img](./docs/assets/1.png)\n\n## REQUIREMENTS\n\n1. Node.js v16+\n2. NPM v7+\n3. Wechaty v0.68+\n4. Chatopera Plugin\n\n## USAGE\n\nTo use the plugin:\n\n```ts\nimport { WechatyChatopera } from 'wechaty-chatopera'\n\nconst config = {\n  /**\n   * Chatopera Service ID\n   */\n  clientId: 'YOUR_CLIENTID',\n  secret: 'YOUR_SECRET',\n  personalAccessToken: 'YOUR_PERSONAL_ACCESS_TOKEN',\n  faqBestReplyThreshold: 0.8,\n  faqSuggReplyThreshold: 0.2\n  repoConfig: {}\n}\n\nconst ChatoperaPlugin = WechatyChatopera(config)\n\nconst wechaty = new Wechaty()\nwechaty.use(ChatoperaPlugin)\n```\n\nIn `config`, either {`personalAccessToken`, `repoConfig`} or {`clientId`, `secret`} must be present.\n\nChatopera BOT of `clientId` would response as the global bot for all groups and private chats.\n\nWhen `personalAccessToken` and `repoConfig` are added, the rooms defined by repoConfig would response with the bot that mapping with names. Check out [apache.ts](https://github.com/kaiyuanshe/osschat/blob/main/src/config-projects/apache.ts) and [asker.ts](https://github.com/wechaty/wechaty-chatopera/blob/0b59ec4dc90787718722c19340c978f33def3762/src/asker.ts#L66) to learn the `repoConfig` schema. Rooms are not belong to any repo, it would route to `clientId` BOT.\n\nIf both `personalAccessToken` and `clientId` are not present, Wechaty Chatopera Plugin would throw an error.\n\n### 1 Configure Chatopera\n\n[Chatopera 云服务](https://bot.chatopera.com)是开发者友好的低代码上线智能对话机器人的云服务。\n\n\u003cdetails\u003e\n\u003csummary\u003e展开查看 Chatopera 云服务的产品截图\u003c/summary\u003e\n\u003cp\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e自定义词典\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530072-da92d600-d33e-11e9-8656-01c26caff4f9.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e自定义词条\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530091-e41c3e00-d33e-11e9-9704-c07a2a02b84e.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e创建意图\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530169-12018280-d33f-11e9-93b4-9db881cf4dd5.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e添加说法和槽位\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530187-20e83500-d33f-11e9-87ec-a0241e3dac4d.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e训练模型\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530235-33626e80-d33f-11e9-8d07-fa3ae417fd5d.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e测试对话\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530253-3d846d00-d33f-11e9-81ea-86e6d47020d8.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e机器人画像\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530312-6442a380-d33f-11e9-869c-85fb6a835a97.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e系统集成\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530281-4ecd7980-d33f-11e9-8def-c53251f30138.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e聊天历史\u003c/b\u003e\u003cbr\u003e\n  \u003cimg src=\"https://static-public.chatopera.com/assets/images/64530295-5856e180-d33f-11e9-94d4-db50481b2d8e.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e立即使用\u003c/b\u003e\u003cbr\u003e\n  \u003ca href=\"https://bot.chatopera.com\" target=\"_blank\"\u003e\n      \u003cimg src=\"https://static-public.chatopera.com/assets/images/64531083-3199aa80-d341-11e9-86cd-3a3ed860b14b.png\" width=\"800\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n### 2 Language of Questions \u0026 Score of Answers\n\n### 3 Matchers \u0026 Skipper\n\n## ENVIRONMENT VARIABLES\n\n## CONTR\n\n```bash\nnpm run dist\nnpm publish\n```\n\n## HISTORY\n\n### develop v1.0 (Nov 3, 2021)\n\nRelease v1.0 of Wechaty Chatopera Plugin.\n\n### v0.1 (Nov 24, 2020)\n\n1. Add Basic Plugin for Chatopera\n2. Enabel Wechaty with Chatopera\n\n## AUTHOR\n\n- [吴京京](https://github.com/wj-Mcat), Author of Python-wechaty \u0026 NLP Researcher, \\\u003cwjmcater@gmail.com\\\u003e\n- [Chatopera Developers](https://github.com/chatopera), 低代码上线智能对话机器人 \\\u003cinfo@chatopera.com\\\u003e\n\n## COPYRIGHT \u0026 LICENSE\n\n- Code \u0026 Docs © 2020 wj-Mcat \\\u003cwjmcater@gmail.com\\\u003e\n- Code released under the Apache-2.0 License\n- Docs released under Creative Commons\n- Copyright (2021) \u003ca href=\"https://www.chatopera.com/\" target=\"_blank\"\u003e北京华夏春松科技有限公司\u003c/a\u003e\n\n[Apache License Version 2.0](./LICENSE)\n\n[![chatoper banner][co-banner-image]][co-url]\n\n[co-banner-image]: ./docs/assets/42383104-da925942-8168-11e8-8195-868d5fcec170.png\n[co-url]: https://www.chatopera.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fplugin-chatopera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwechaty%2Fplugin-chatopera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwechaty%2Fplugin-chatopera/lists"}