react-slack-clone

Complete chat application, built with Chatkit | by @lukejacksonn

Github星跟蹤圖

React Slack Clone

Star on GitHub
Tweet
Build Status

Slack clone powered by Chatkit. See it in action here https://pusher.github.io/react-slack-clone

demo

This is a static, single page web app bootstrapped with create-react-app for ease of setup, distribution and development. It is a thin UI wrapper around the pusher-chatkit-client library to demonstrate how different features can work together to form a compelling real-time chat client with various potential product applications.

Features

The Chatkit SDK allows you to implement features you would expect from a chat client. These include:

  • ? Public and private chat rooms
  • ? Realtime sending and receiving of messages
  • ? Rich media attachments (drag and drop)
  • ? Typing and presence indicators
  • ? Read message cursors

Want to get involved? We have a bunch of beginner-friendly GitHub issues.

Components

The demo attempts to be feature complete according to documentation here. Feature requests should be made via issues or pull requests to this repository.

  • CreateMessageForm - to send a message with a textual body and trigger typing indicators.
  • CreateRoomForm - to create a new room and join it upon creation.
  • FileInput - to send a message with a rich media attachment.
  • Message - to render out a message that potentially includes an attachment.
  • MessageList - to render a list of messages from a key value store.
  • RoomHeader - to display useful information about a given room.
  • RoomList - to render a list of rooms which can be subscribed to by the current user.
  • TypingIndicator - to signify to the user that another user is typing in a given room.
  • UserHeader - to display useful information about a given user.

Usage

To run the application locally; clone the repo, install dependencies and run the app.

$ git clone https://github.com/pusher/react-slack-clone
$ cd react-slack-clone
$ yarn && yarn start

The app starts in development mode and opens a browser window on http://localhost:3000. The project rebuilds and the browser reloads automatically when source files are changed. Any build or runtime errors are propagated and displayed in the browser.

The app depends on GitHub authentication and a user creation endpoint that is hosted at https://chatkit-demo-server.herokuapp.com. The endpoints are /auth and /token.

主要指標

概覽
名稱與所有者lukejacksonn/react-slack-clone
主編程語言JavaScript
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2018-02-07 00:06:33
推送於2019-12-28 23:36:45
最后一次提交2019-10-02 15:46:18
發布數0
用户参与
星數1.3k
關注者數53
派生數259
提交數143
已啟用問題?
問題數33
打開的問題數20
拉請求數40
打開的拉請求數14
關閉的拉請求數15
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?