wechaty / summer

Summer of Wechaty (SoW) is a program for connecting students with the Wechaty community for coding & tech writing.
https://wechaty.github.io/summer-of-wechaty
Apache License 2.0
32 stars 12 forks source link

基于开放 API 封装 Wechaty 接口下的飞书聊天机器人 #38

Open Roxanne718 opened 3 years ago

Roxanne718 commented 3 years ago

开源软件供应链点亮计划

“开源软件供应链点亮计划-暑期2021”(以下简称 暑期2021)是由中科院软件所与 openEuler 社区共同举办的一项面向高校学生的暑期活动,旨在鼓励在校学生积极参与开源软件的开发维护,促进国内优秀开源软件社区的蓬勃发展。

根据项目的难易程度和完成情况,参与者还可获取“开源软件供应链点亮计划-暑期2021”活动奖金和奖杯。

官网:summer.iscas.ac.cn

Wechaty

Wechaty 是一个开源聊天机器人框架SDK,具有高度封装、高可用的特性,支持NodeJs, Python, Go 和Java 等多语言版本。在过去的4年中,服务了数万名开发者,收获了 Github 的 8000 Star。同时配置了完整的DevOps体系并持续按照Apache 的方式管理技术社区。

基于开放 API 封装 Wechaty 接口下的飞书聊天机器人

背景介绍

飞书提供开放的API接口,有基于开放API开发聊天机器人的需求

飞书是字节跳动于2016年自研的新一代一站式协作平台,是保障字节跳动全球五万人高效协作的办公工具。飞书将即时沟通、日历、云文档、云盘和工作台深度整合,通过开放兼容的平台,让成员在一处即可实现高效的沟通和流畅的协作,全方位提升企业效率。
2020年2月24日,字节跳动旗下办公套件飞书宣布,向全国所有企业和组织免费开放,不限规模,不限使用时长,所有用户均可使用飞书全部套件功能。
飞书官方提供API支持机器人收发消息,是国内对Chatbot最开放的IM 系统。

Wechaty是全球最大的开源聊天机器人框架,希望实现基于同一套应用层代码实现不同软件的聊天机器人

Wechaty 作为全球最大的聊天机器人开发者社区之一,提供了非常简单的接口实现,让开发者能够用6行代码就实现自己的一个聊天机器人,如果能把飞书的聊天机器人封装到 Wechaty 里来,则可以大大简化企业内开发者的开发流程。 因为 Wechaty 是建立在 puppet 系统之上的,puppet 是 Wechaty 依赖的一层抽象层,它定义了底层各个 IM 接入方案需要实现的接口,也正是因为 puppet 抽象层的存在,让很多 Wechaty 开发者可以仅仅通过一个变量,就能够随意切换不同的底层 IM 接入。

需求介绍

目前,飞书 Puppet 已经完成了初步开发,目前主要实现的功能有:

项目仓库见:https://github.com/wechaty/wechaty-puppet-lark

接下来需要对照飞书开放平台和 Wechaty 接口,完善该项目。

项目难度

低(奖金:6000元)

导师联系方式

项目产出目标

项目技术栈

Roxanne718 commented 3 years ago

Hello students!

We want Wechaty to be the universal instant messaging SDK on all IM platforms for chatbot makers to build their great conversational user interface, so while these are our ideas of what we think would make good projects for the summer, we're eager to hear your ideas and proposals as well.

Try us out and get to know the Wechaty code with examples!

Link to #30

Required skills for all projects


Implement Lark Puppet (wechaty/wishlist#34). The Puppet abstraction allows Wechaty to provide a consisting API on all IM platforms for build a chatbot. We are supporting WeChat, WeCom, Whatsapp already, and last year, we completed the initial development of the Lark Puppet. We want to improve this puppet so that our developers can run their chatbots on Lark more conveniently.

Useful Links

xilou31 commented 3 years ago

I think LARK_APPID and other environment variables can be loaded in the form of a configuration file, otherwise it is very troublesome to export every time.

remember00000 commented 3 years ago

期中视频:

腾讯视频: 1.Introduction:https://v.qq.com/x/page/r3271wjg08q.html 2.demo:https://v.qq.com/x/page/j32711k0nfg.html YouTube: 1.Introduction:https://youtu.be/IwMA8VJZZqE 2.demo:https://youtu.be/fAIZS9lgxjo

remember00000 commented 2 years ago

期末视频

展示视频:https://youtu.be/-HOF0LV1d54
国内:https://v.qq.com/x/page/h3280md1b6i.html Live Demo 视频:https://youtu.be/lH3giTpdOtM 国内:https://v.qq.com/x/page/h3280a7pbwi.html

Roxanne718 commented 2 years ago