• This repository has been archived on 01/Jul/2022
  • Stars
    star
    247
  • Rank 164,117 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

New Livechat client written in Preact

This project is now part of the Rocket.Chat monorepo. Please open any new issues and pull requests there.

Rocket.Chat.Livechat

Language grade: JavaScript Total alerts Storybook

Currently, it's very common to find chat pop-ups when you're browsing websites.

Those widgets, at Rocket.Chat, are called LiveChat.

LiveChat is a small and lightweight application designed to provide B2C (Business-to-customer) communication between Agents and website visitors and is developed with Preact.

Running a development environment

With your Rocket.chat running locally at http://localhost:3000

  1. Install all node dependencies.
yarn
  1. Build preact application to /build folder
yarn dev
  1. In another terminal, run webpack with hot reload at http://localhost:8080
yarn start
  1. Open this file below in your browser
widget-demo.html

OBS: For a better performance, you can run this widget-demo.html on a http server.

Different host

To select a different host on your local widget, check this configuration at /src/api.js file.

const host = window.SERVER_URL
	|| queryString.parse(window.location.search).serverUrl
	|| (process.env.NODE_ENV === 'development' ? 'http://localhost:3000' : null);

Here, you can change to your new configuration.

const host = window.SERVER_URL
	|| queryString.parse(window.location.search).serverUrl
	|| (process.env.NODE_ENV === 'development' ? 'https://your.rocketserver.com' : null);

Available CLI Commands

# install dependencies
yarn

# serve with hot reload at localhost:8080
yarn start

# build preact application to "build" folder
yarn dev

# build for production with minification
yarn build

# test the production build locally
yarn serve

# run tests with jest and preact-render-spy
yarn test

# run the storybook
yarn storybook

## Screens:
![image](https://user-images.githubusercontent.com/5263975/44279585-497b2980-a228-11e8-81a2-36bc3389549e.png)
![image](https://user-images.githubusercontent.com/5263975/44279599-5730af00-a228-11e8-8873-553ef53ee25a.png)
![image](https://user-images.githubusercontent.com/5263975/44279626-6f083300-a228-11e8-8886-c430b28a8e75.png)
![image](https://user-images.githubusercontent.com/5263975/44279634-74657d80-a228-11e8-9583-bf8079972696.png)
![image](https://user-images.githubusercontent.com/5263975/44279639-7b8c8b80-a228-11e8-9815-1a0e3540c4f5.png)
![image](https://user-images.githubusercontent.com/5263975/44279643-847d5d00-a228-11e8-804e-27b973dee8b2.png)
![image](https://user-images.githubusercontent.com/5263975/44279655-90691f00-a228-11e8-8511-4a328a77e5bb.png)

More Repositories

1

Rocket.Chat

The communications platform that puts data protection first.
TypeScript
39,872
star
2

Rocket.Chat.ReactNative

Rocket.Chat mobile clients
TypeScript
1,949
star
3

Rocket.Chat.Electron

Official OSX, Windows, and Linux Desktop Clients for Rocket.Chat
TypeScript
1,583
star
4

Rocket.Chat.iOS

Legacy mobile Rocket.Chat client in Swift for iOS
Swift
1,034
star
5

Rocket.Chat.Android

Legacy mobile Rocket.Chat client in Kotlin for Android
Kotlin
871
star
6

hubot-rocketchat

Rocket.Chat Hubot adapter
JavaScript
541
star
7

docs-old

Rocket.Chat's user documentation.
TypeScript
335
star
8

Rocket.Chat.RaspberryPi

Run a private social network on your Pi for iPhone and Android devices !
Shell
323
star
9

Docker.Official.Image

Docker hub - community managed image
Dockerfile
256
star
10

hubot-natural

Natural Language Processing Chatbot for RocketChat
CoffeeScript
145
star
11

Rocket.Chat.js.SDK

Utility for apps and bots to interact with Rocket.Chat via DDP and/or API
TypeScript
136
star
12

Rocket.Chat.Ops

Integrate your apps to Rocket.Chat ! Powered by Hubot.
JavaScript
123
star
13

Rocket.Chat.Apps-engine

The Rocket.Chat Apps engine and definitions.
TypeScript
115
star
14

EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
JavaScript
112
star
15

fuselage

React port of Rocket.Chat's design system, Fuselage
TypeScript
109
star
16

Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova (DEPRECATED)
JavaScript
104
star
17

Rocket.Chat.Ansible

Deploy Rocket.Chat with Ansible!
Jinja
93
star
18

meteor-streamer

2 way communication over DDP with better performance.
JavaScript
83
star
19

Rocket.Chat.PWA

Bandwidth efficient, simplified client built with Angular.
TypeScript
78
star
20

Rocket.Chat.Kotlin.SDK

Rocket.Chat's Kotlin SDK (REST & WebSocket abstractions)
Kotlin
63
star
21

Rocket.Chat.Go.SDK

Go SDK for REST API and Realtime api
Go
55
star
22

Rocket.Chat.Federation

Chat servers. United.
Shell
54
star
23

RC4Community

Full-stack components for building, engaging, and growing your massive on-line community
JavaScript
48
star
24

Rocket.Chat.Apps-cli

The CLI for interacting with Rocket.Chat Apps
TypeScript
43
star
25

Rocket.Chat.OpenAI.Completions.App

Rocket.Chat OpenAI ChatGPT Integration App
TypeScript
42
star
26

Opensource-Contribution-Leaderboard

Open Source project contributors tracking leaderboard built with ❤️ in NodeJS 😉
JavaScript
39
star
27

Rocket.Chat.PWA.React

React Implementation of Rocket.Chat.PWA
JavaScript
37
star
28

WordPressPlugin

Rocket.Chat.Livechat plug-in for WordPress
PHP
33
star
29

hubot-rocketchat-boilerplate

An example Hubot demonstrating usage of the Rocket.Chat adaptor.
JavaScript
33
star
30

Apps.Github22

The ultimate AI-powered app extending Rocket.Chat for global developers collaborating on Github (2024 and beyond)
TypeScript
32
star
31

helm-charts

Repository for RocketChat helm charts
Smarty
32
star
32

install.sh

command line tool to help you install and configure a RocketChat server in a Linux host
Shell
32
star
33

rocketchat-oauth2-server

OAuth 2 Server package
CoffeeScript
31
star
34

rocketchat_nextcloud

App that allows Rocket Chat to live inside NextCloud and become seamless for the NextCloud Users
PHP
28
star
35

botpress-channel-rocketchat

Botpress module channel for Rocket.Chat
JavaScript
28
star
36

Rocket.Chat.Java.SDK

[DEPRECATED, NOT MAINTAINED] Java/Android SDK for Rocket.Chat
Java
28
star
37

handbook

The Rocket.Chat team handbook is the central repository for how we run the company.
TypeScript
27
star
38

Rocket.Chat.Metrics

Monitoring setup for Rocket.Chat servers
26
star
39

RC4Conferences

A set of scalable components for communities to build, manage, and run virtual conferences of any size.
JavaScript
24
star
40

iframe-auth-example

iFrame auth example app
JavaScript
22
star
41

Rocket.Chat.Hubot

The hubot-rocketchat sample implementation used on our demo.
CoffeeScript
22
star
42

feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21
star
43

Rocket.Chat.ScreenShare.Extensions

JavaScript
20
star
44

google-summer-of-code

Rocket.Chat as mentoring organization for Google Summer of Code
20
star
45

Rocket.Chat.Artwork

Rocket.Chat Artwork
HTML
19
star
46

alexa-rocketchat

Innovating incredible new user experiences in the Alexa ecosystem - powered by Rocket.Chat
JavaScript
18
star
47

developer-docs

These developer guides and APIs help you start developing on Rocket.Chat quickly.
TypeScript
18
star
48

Rocket.Chat.GitHub.Action.Notification

Rocket.Chat Notification for GitHub Actions 🔔 🚀
TypeScript
18
star
49

Rocket.Chat.Embedded.arm64

An open source journey bringing the latest Rocket.Chat releases to the arm64 universe
Shell
18
star
50

server-snap

Rocket.Chat server snap
Shell
17
star
51

Apps.Rasa

Integration between Rocket.Chat and the RASA Chatbot platform
TypeScript
17
star
52

Apps.Whiteboard

Whiteboard Integration App for Rocket.Chat
TypeScript
16
star
53

Rocket.Chat.Integrations

Rocket.Chat Integrations
JavaScript
15
star
54

Apps.Google.Calendar

Rocket.Chat app to integrate Google Calendar into your chat
TypeScript
15
star
55

docs

Rocket.Chat's user documentation.
JavaScript
15
star
56

filestore-migrator

Go
14
star
57

Chat.Code.Ship

docker-compose file to start a full chatops stack, with gitlab, rocketchat and hubot
CoffeeScript
14
star
58

Apps.Jitsi

Rocket.Chat App for Jitsi
TypeScript
14
star
59

koko

Rocket.Chat App Koko
TypeScript
13
star
60

rn-user-defaults

Use UserDefaults (iOS) and SharedPreferences (AndroidOS) with React Native, this can help you to share credentials between apps or between app and extensions on iOS.
Java
13
star
61

RocketChatViewController

RocketChatViewController Messages Library
Swift
13
star
62

botkit-starter-rocketchat

A starter kit for building a custom Rocket.Chat bot with Botkit Studio
JavaScript
13
star
63

hubot-freddie

hubot bridge between Rocket.Chat and synapse (home) server from matrix.org
JavaScript
12
star
64

Rocket.Chat.Flutter.SDK

Easily integrate Rocket.Chat into all your Flutter projects
C++
12
star
65

Rocket.Chat.PCL

Portable Class Libraries - Xamarin implementation of the Rocket.Chat Real-Time API
C#
10
star
66

Rocket.Chat.Demo.App

The best Rocket.Chat Apps Engine Demo out there.
TypeScript
10
star
67

Rocket.Chat.Apps-ts-definition

Deprecated, please use the Apps Engine.
TypeScript
10
star
68

contributors-program

This repository contains comprehensive information about the Rocket.Chat annual contributors program.
10
star
69

Android-DDP

Java
10
star
70

rocket.chat.load.tester

TypeScript
10
star
71

GSoC-Community-Hub

Ready-to-run hub to engage and extend your Google Summer of Code Community
JavaScript
10
star
72

botkit-rocketchat-connector

A Botkit platform connector for Rocket.Chat
JavaScript
9
star
73

Rocket.Chat.Android.SDK

Rocket.Chat's Android Native SDK - DEPRECATED
Java
9
star
74

rocketchat-tui

Go
9
star
75

Apps.Dialogflow

Integration between Rocket.Chat and the Dialogflow Chatbot platform
TypeScript
9
star
76

rocketchat-botpress-lab-bot

A bot that integrates RocketChat and Botpress
JavaScript
9
star
77

Tauri.Desktop.App

TypeScript
8
star
78

Apps.Figma

[GSoC Project] Rocket.Chat App that connects with Figma
TypeScript
8
star
79

Apps.ClickUp

This Repository is for the GSOC 2022 ClickUp app integration for Rocket.Chat
TypeScript
8
star
80

rasa-kick-starter

Rocket.Chat connector kick starter for Rasa.AI
Python
8
star
81

hubot-rocketchat-gitlab

JavaScript
8
star
82

Apps.Rocket.Chat.QueryBot

TypeScript
8
star
83

RCMarkdownParser

Markdown parser for Rocket.Chat.iOS (a modified version of @LyokoTech/LTMarkdownParser)
Swift
8
star
84

TenableAgent-Daemonset

This repository contains Kubernetes resource files for deploying the Tenable agent as a DaemonSet in a Kubernetes cluster. The Tenable agent runs on all nodes in the cluster and provides visibility into the security posture of your cluster.
Dockerfile
8
star
85

botpress-kick-starter

Simple bot using botpress
JavaScript
8
star
86

Apps.LLM.PromptEditor

TypeScript
8
star
87

RC.Guided.Tours

Graphical Guided RC Codebase Tours
TypeScript
7
star
88

Apps.teams.bridge

Connecting collaborators across Rocket.Chat and Microsoft Teams
TypeScript
7
star
89

Docker.Base.Image

Dockerfile
7
star
90

botswana-snap

BOTSwana : The Kalahari of bots. Run any bot on any chat, painlessly!
Shell
6
star
91

Rocket.Chat.Embedded.armhf

Sustaining 32 bit ARMHF snap and docker for Raspberry Pi until EOL
Shell
6
star
92

Rocket.Chat.Houston

Rocket.Chat internal command line tools for releases
JavaScript
6
star
93

hubot-gitsy

Gitlab BOT for Rocket.Chat built on Hubot v3
JavaScript
6
star
94

Apps.Chat.Summarize

Summarize Rocket.Chat threads
TypeScript
6
star
95

Apps.RocketChat.Tester

An app that provides endpoints to test Apps integration to Rocket.Chat
TypeScript
5
star
96

eslint-config-rocketchat

Rocket.Chat Style Guide
JavaScript
5
star
97

puppet-rocketchat

Puppet module that install Rocket.Chat
Ruby
5
star
98

tsmatrixserverlib

federation support module : low level common methods
TypeScript
5
star
99

Apps.Cloudflare

TypeScript
5
star
100

slack-compatibility-for-apps

Initialize your Rocket.Chat App with bindings that makes it compatible your Slack implementation
TypeScript
5
star