Skip to content

pubnub/js-chat

Repository files navigation

PubNub JavaScript Chat SDK

Chat SDK offers a set of handy methods to create your own feature-rich chat or add a chat to your existing application.

Supported platforms

Chat SDK is written in TypeScript and relies on the existing JavaScript SDK.

It's framework-agnostic and lets you build client-side or server-side chat apps using any JavaScript-based framework, like:

  • React
  • React Native
  • Vue
  • Angular
  • Nest
  • Express

Features

Chat SDK offers a wide range of features to build direct, group, and public chats.

Explore these documentation sections for details:

Also, add typing indicators, push notifications, and more.

Samples

Test our sample Chat SDK apps created in various frameworks:

Source code Framework Description
Direct chat React Basic 1:1 support chat letting you exchange messages between a user and a support agent.
Group chat React Native Feature-full group chat letting you test most of the features offered by the Chat SDK.
Access Manager API service NestJS Backend service creating an authentication key endpoint for users, integrated with PubNub's Chat SDK to generate Access Manager authentication tokens with appropriate permissions. It allows for controlled access to all channels and reflects user-specific restrictions, with tokens expiring after 15 minutes.

Chat SDK docs

You'll find all the information about working with Chat SDK in the official PubNub Chat SDK documentation.