Bit6 JS Quick Start

The easiest way to get started with Bit6 communication services is to deploy the sample applications.

Sample App

You can try the sample web apps in action at bit6-demo-next.firebaseapp.com. Or view their source code.

To try them locally - download or clone the repo to a local directory (use next branch):

git clone -b next https://github.com/bit6/bit6-js-sdk

Development

Build and Run

The sample web applications are self-contained. You just need to serve samples/ folder via a web server. For example using superstatic (requires Node.js)

# Install superstatic globally. Just do this once
npm i -g superstatic

Serve the web app

cd samples
superstatic

Open the displayed URL in a browser

Using Sample App

The sample application allows you to create users and let them send rich messages (text, photo, video) to each other as well as make voice and video calls.

Create a new user, or use an existing one.

IP Messaging

Create a new chat 'Direct' or 'Group'

In the chat screen you can make video/voice calls, send/receive text messages and attachments, see typing notifications.

Video/Voice Calling

Next Steps