Skip to content

基于 Matrix AppService Wechaty 项目的用户、群与消息等基础功能的完善 #59

@yswtrue

Description

@yswtrue

Update by @huan

开源软件供应链点亮计划

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

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

官网:https://summer.iscas.ac.cn

Wechaty

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

Wechaty 官网暑期2021项目入口:https://wechaty.js.org/docs/ospp/2021/

项目名称

基于 Matrix AppService Wechaty 项目的用户、群与消息等基础功能的完善

背景介绍

Wechaty 社区目前已经支持微信、Whatsapp、企业微信、飞书等常见流行即时通讯工具,并且能够通过多语言 SDK (比如 Python Wechaty) 进行调用。

Matrix 是一个 open network for secure, decentralized communication, like Pidgin on your Phone.

matrix-appservice-wechaty 是一个 WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.

It has been officially listed at [Matrix] Bridge Page for Wechaty.

我们在本次 Summer 2021 的项目中,社区希望可以将我们的 matrix-appservice-wechaty 项目进行继续完善,将它对用户、群、消息收发(包括文本、图片、视频等)的基础功能进行完善和支持。

需求介绍

  1. 架设一套自己的 Matrix 系统
  2. 架设 matrix-appservice-wechaty 并整合到 Matrix 系统中
  3. 对 Matrix AppService Wechaty 的功能进行试用,分析其当前的功能,然后列出需要完善的功能列表,以及欠缺的功能列表,并作出开发计划。

在初期开发中,能够实现图片消息的接收和发送,即可完成原型验证 POC 。

项目难度

中(奖金:9,000元)

导师联系方式

项目产出目标

  1. 每日代码 commit
  2. 每周提交一份 report (回复本 issue)
  3. 每两周一次在线会议
  4. 完成各种消息类型的收发功能
  5. 对项目进行完整的分析,整理出所有需要支持的 Wechaty 功能列表,以及那些需要完善,那些需要继续开发
  6. 完成计划列表中的计划
  7. 配置 GitHub Actions 实现自动化测试* (可选)

项目技术栈

  1. TypeScript programming language
  2. Git
  3. Matrix

参考链接

  1. 用Matrix和wechaty来聊微信, @yswtrue, Feb 04, 2021

Hi, dear students.

My project requirements:

  1. Appservice doesn't show the user name and user avatar in group chat. Now we need to show the correct user name and avatar in group chat. And show the user avatar in the direct message.
  2. Appservice can not display wechat bbob message directly. We need to convert bbob message to HTML and return it to the matrix server.
  3. Appservice can not send files to wechat users. Now we make appservice send files and pictures to wechat users.

Required skills for all projects

  • TypeScript

Thank you.

matrix-appservice-wechaty [M] Matrix

Wechat (微信) Matrix Application Services Bridge

Matrix + Wechaty

Image credit: Gnosis

Powered by Wechaty
NPM Version
NPM
Docker
TypeScript

What is [Matrix]

Matrix is an open network for secure, decentralized communication, like Pidgin on your Phone.

Pidgin try to IM all your friends in one place in Linux, and with Matrix you can have your Phone clinet with your private server which is highly customized. Matrix did not use XMPP protocol, it's server uses REST so that it could be more easy to extend.

The [Matrix] client Riot is a universal secure chat app entirely under your control. It supports all types of the platforms, including Web/Browser, Android, and iPhone.

What is matrix-appservice-wechaty

matrix-appservice-wechaty is a WeChat (微信) Matrix AppService for bridging the Matrix user with WeChat user.

It has been officially listed at [Matrix] Bridge Page for Wechaty.

According to Types of Bridging, Wechaty Bot in Matrix will create an Simple Puppeted Bridge with Portal Rooms because we want to bring all conversations from Wechat to Matrix, and let the Matrix user control his account on Wechat.

Features

  1. Support connect to Wechat via Web/iPad/Hostie/Windows/Mac Protocol, with the power of Wechaty
  2. Map all Wechat users/room/official accounts to Matrix virtual users

Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions