/chat

Self-Hosted Audio/Video/Text Chat

Primary LanguageJavaScriptMIT LicenseMIT

PlatformKit Messenger

Self-Hosted Audio/Video/Text Chat

Peer-to-Peer Video Chat & Screen Sharing

Built with:

Deploy with:

License:

Features

  • Free peer-to-peer audio calls, video calls, screensharing and chat via WebRTC
  • Connect to private STUN/TURN servers via Twilio
  • UI & API can be easily customized

Local Development

Clone the project

  git clone https://github.com/platform-kit/messenger pk-messenger

Go to the project directory

  cd pk-messenger

Install dependencies

  npm install 

Start the server

  npm run start

Alternatively you can run the application using docker with:

  docker-compose up

A local instance is now running at https://localhost:3000

Configuration

Before use, you will need to add the following environment variables to your .env file

ALLOWED_ORIGIN=localhost:3000
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=

Deployment

To deploy to the cloud, simply click one of the buttons below.