Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhangyu1818/react-tim-chat
腾讯IM的React实现
https://github.com/zhangyu1818/react-tim-chat
Last synced: about 1 month ago
JSON representation
腾讯IM的React实现
- Host: GitHub
- URL: https://github.com/zhangyu1818/react-tim-chat
- Owner: zhangyu1818
- Created: 2020-05-13T14:21:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T14:36:28.000Z (over 4 years ago)
- Last Synced: 2023-03-02T19:32:17.234Z (almost 2 years ago)
- Language: TypeScript
- Size: 700 KB
- Stars: 11
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-tim-chat
![preview](./preview.png)
基于腾讯IM v2.6.5的React聊天简易实现,数据流使用rematch,功能如下
- 群聊,单聊
- 图片、视频、文件、文字、表情消息的渲染和发送,语音消息的渲染
- 系统消息渲染
- 下拉加载更多消息
- 群成员列表
- 消息撤回## 使用
``` sh
git clone https://github.com/zhangyu1818/react-tim-chat.git
cd react-tim-chat
npm i
npm run dev
```需要先修改`example/index.jsx`内的`SDKAppID`和`userID`
本来想做好一个完整的腾讯IM,再打成`npm`包,然而自己菜的绝望,所以放弃了