-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块 #81
Comments
开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块
在初期开发中,能够实现文本消息的接收和发送,即可完成原型验证 POC 。
二.项目开发时间计划
|
[开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告日期:2021-07-18 本周完成的成果
本周遇到的困难和需要配合的地方
下周的开发计划和预计成果
其他需要说明和同步的事项暂无 |
Some links, just FYI:
|
Yeah, that's a famous project (but not open source) whose author decided to stop working on it due to other author received lawsuit by Tencent. Its legendary code is no longer valid, but later developers made project like go-cqhttp which is API compatible and open source |
I'm sorry to hear that the author of CoolQ decides not to maintain it anymore. I believe the community effort will continue to make the QQ chatbot long live, like the oicq project which you are working on looks great. Looking forward to seeing the first ding/dong bot for your wechaty-puppet-qq project! |
[开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告日期:2021-07-25 本周完成的成果
本周遇到的困难和需要配合的地方下周的开发计划和预计成果
其他需要说明和同步的事项未来可以通过视频讲解wechaty、puppet等类之间的调用关系 |
I hope the ding/dong bot for qq puppet will be available soon! |
Hi @anaivebird, It seems that you have failed to submit your weekly report on time, please submit as soon as you can to fix this problem. Do not miss the deadline is your responsibility for our OSPP'21 project, and it will be one of the important evaluations to your final score. I also want to learn about the process of the ding/dong bot for qq, please update, I hope you have some outcomes for now. Thank you very much. |
When I write
Any good advice on this point? |
Hi @anaivebird ,
Please let me know when you can finish the reports, and please keep in mind that it's time to submit the mid-term report as well. Thank you very much. |
[开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告日期:2021-08-02 本周完成的成果
本周遇到的困难和需要配合的地方
下周的开发计划和预计成果
其他需要说明和同步的事项暂无 |
It's great to see you have submitted the working report for the past two weeks, as well as hearing from you that you will actively take part in writing the middle-term report. I hope you can finish the ding-dong bot soon by following your proposed plan/milestones with this project, and make sure to "每周协同导师进行功能的开发和完善" by submitting GitHub issues and Pull Requests:
|
ok, got it. I'm currently attentive to the following to working up the ding-dong.
|
It seems it I need to extend EventEmitter to implement the event transform between oicq and wechaty like this |
Great progress, congratulations! I believe what the most important you need focusing to do is the below two tasks:
After you finish the above two tasks, then we will be able to prepare to publish it to the NPM, and then we will be able to start working the ding-dong-bot.ts with Wechaty. |
Hi, I'm currently referring to this, and found the puppet-message-processing-flow is both well-designed and much sophisticated for me to understand. So, it will take me more hours to capture the whole message processing flow. What most confuse me is how to construct a message with message text, sender id and other informations?
|
About 1:20:00 of the video tutorial solved my problem about message processing pipeline of wechaty-puppet. |
I have created three issues on the project repo, please follow them and I hope you will submit a great mid-term blog post soon! |
All of these three finished, except that CI can't become green due to QQ login QR code couldn't be scanned when CI try to run "npm run start". |
Also blog is still on progress, but it will be delivered soon. |
[开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告日期:2021-08-15 本周完成的成果
本周遇到的困难和需要配合的地方
下周的开发计划和预计成果
其他需要说明和同步的事项暂无 |
中期报告: WECHATY PUPPET OICQ (基于OICQ项目的QQ机器人)项目信息项目名称开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块 项目背景Wechaty 社区目前已经支持微信、Whatsapp、企业微信、飞书等常见流行即时通讯工 方案描述使用 https://github.com/wechaty/wechaty-puppet-mock 项目作为模版,参考社区其他 项目技术栈
时间规划
项目进度已完成部分
完全按照有计划顺利进行,还略有加快。 遇到的困难与解决
后续工作安排
|
评审结果
|
Thanks for the update.
I'd like to suggest that you can try our community server: You can use this server for development. And the most important work is to make the ding/dong bot workable with our wechaty-getting-start repo. The ding/dong bot should be finished before the mid-term report, which has already been delayed. I hope you can finish it soon. Related steps:
|
The latest wechaty needs at least Node.js v14, v16 are recommended.
The wechaty getting started GitPod has been upgraded with Wechaty version 0.69. Please try it and let me know if it works for you. |
Even through wechaty-puppet-oicq already uploaded to npm Start https://github.com/wechaty/wechaty-getting-started with "wechaty": "^0.69.37" still throw error:
|
The Wechaty Getting Started repo is running with ES Modules mode by default, which requires the puppet need to support ESM too. See: Please try to understand the above issue first, then prepare to transfer the wechaty-puppet-oicq repo to Wechaty org. After that, I can take a look at it and try to fix it. Thank you very much. |
@anaivebird You have missed the weekly report again, may I ask you that when could we receive it? It is very important for our project that you can follow your plan and report in the schedule so that we can know how your work is going on. Please make sure you can submit the update in time in the following weeks, or we will think you have done nothing in that week. Thank you very much. |
[开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块] 进度报告日期:2021-09-21 本周完成的成果
本周遇到的困难和需要配合的地方
下周的开发计划和预计成果
其他需要说明和同步的事项无 |
Thanks for the update.
It's great to see your plan and hope you can follow it this week.
Please try to help yourself to figure out a better way to communicate based on GitHub because this is the way the open-source community works with.
And don't forget that the mid-term milestone is the ding/dong bot, which we have mentioned lots of times in our previous discussions (and your plan has been delayed serval weeks, which should be noticed by us for now):
|
This is a breaking change introduced by the We have deprecated them: npm deprecate 'wechaty-puppet@0.45.8' "should not introduce breaking change" I have fixed it and it should be ok if you can get the $ npm ls wechaty-puppet
└── wechaty-puppet@0.45.9 |
You do not need to update anything, a re-install should be enough. Run the following command should get the right version for you: rm -fr node_modules package-lock.json
npm install Please let me know if it works. |
But working with WECHATY_PUPPET=wechaty-puppet-oicq still not works, any advice for further development? ESM branch code has been released to wechaty-puppet-oicq@0.1.5 |
Great to know that the For your new problem, could you please file another issue for it so that we can have a clear thread for each topic? You can link all your work issues/prs to one issue so that you can get an index of all of them. P.S. paste an Image is not good practice because it's very hard to read and search. Paste text is more preferred. Thank you very much. |
wechaty-getting-started worked with wechaty-puppet-oicq@0.1.6 Originally posted by @anaivebird in wechaty/puppet-oicq#5 (comment) |
unnecessary logging from oicq problem fixedThe log from oicq has been disabled. The screen looks like:
QR code here, then
Originally posted by @anaivebird in wechaty/puppet-oicq#9 (comment) |
Contact list from oicq has be adapted to
|
wechaty-puppet-oicq is now perfectly compatible with ding-dong bot in wechaty-getting-startedTotally fixed wechaty-getting-started compatibility with this puppet after calling Originally posted by @anaivebird in wechaty/puppet-oicq#11 (comment) |
结项 Demo Day 视频结项汇报:https://youtu.be/Z2IIPe0FLA4 国内版 Demo Day 视频结项汇报:https://www.iqiyi.com/v_1f3m7rhczog.html |
Your video presentation is great, thank you very much for your efforts in implementing the wechaty puppet oicq! I believe this puppet will be able to help lots of developers who want to automate their works on QQ by building an easy to use Wechaty QQ bot! |
期末评审
|
开源软件供应链点亮计划
“开源软件供应链点亮计划-暑期2021”(以下简称 暑期2021)是由中科院软件所与 openEuler 社区共同举办的一项面向高校学生的暑期活动,旨在鼓励在校学生积极参与开源软件的开发维护,促进国内优秀开源软件社区的蓬勃发展。
根据项目的难易程度和完成情况,参与者还可获取“开源软件供应链点亮计划-暑期2021”活动奖金和奖杯。
官网:https://summer.iscas.ac.cn
Wechaty
Wechaty 是一个开源聊天机器人框架SDK,具有高度封装、高可用的特性,支持NodeJs, Python, Go 和Java 等多语言版本。在过去的5年中,服务了数万名开发者,收获了 Github 的 9600 Star。同时配置了完整的DevOps体系并持续按照Apache 的方式管理技术社区。
项目名称
开发支持 QQ 聊天软件的 Wechaty Puppet Provider 模块
背景介绍
Wechaty 社区目前已经支持微信、Whatsapp、企业微信、飞书等常见流行即时通讯工具,并且能够通过多语言 SDK (比如 Python Wechaty) 进行调用。
QQ 是国内和微信并列的两大聊天软件。我们在本次 Summer 2021 的项目中,Wechaty 希望可以实现对 QQ Chatbot 的支持。通过 Wechaty Puppet 的接口,可以将 QQ 进行 RPA 封装,使其成为
wechaty-puppet-qq
供 Wechaty 开发者方便接入 QQ 平台,使其成为 Wechaty 可以使用的社区生态模块。需求介绍
使用 https://github.com/wechaty/wechaty-puppet-mock 项目作为模版,参考社区其他的 Wechaty Puppet Provider 代码模块,对 QQ 进行规划、RPA选型、原型测试,和最终的代码封装。
这里有一个专门讲解如何开发 Wechaty Puppet Provider 的 workshop 视频,它以
wechaty-puppet-official-account
作为例子,做了从0到1的入门讲解:Wechaty Workshop for Puppet Makers: How to make a Puppet for Wechaty。通过观看这一个小时的视频,应该可以系统性的了解如何完成构建一个 Wechaty Puppet Provider 模块。在初期开发中,能够实现文本消息的接收和发送,即可完成原型验证 POC 。
还可以参考以下链接:
项目难度
中(奖金:9000元)
导师联系方式
项目产出目标
wechaty-puppet-qq
examples/ding-dong-bot.ts
,完成“接收到文字消息ding
时,自动回复消息dong
"的功能项目技术栈
Links
The text was updated successfully, but these errors were encountered: