Skip to content
A CLI chat, built with Chatkit
JavaScript
Branch: master
Clone or download
zmarkan Merge pull request #2 from pusher/update-versions
Update to the latest versions of server and client
Latest commit 7c82162 Jul 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit 🎉 Apr 25, 2018
README.md Clean up May 23, 2018
client.js Update to the latest versions of server and client Jul 8, 2019
package-lock.json Update to the latest versions of server and client Jul 8, 2019
package.json
server.js

README.md

Pusher Relay Chat 💬

Terminal chat application built with Pusher Chatkit! 🚀

Requirements

Prior to running this locally, you'll need a Chatkit instance.

To create one, navigate to the Pusher Dashboard, login and hit create new, enter a name for the instance. Make sure to note down your Instance Locator and Secret Key, located under the keys tab, as we'll need this later!

Install

Install dependencies

npm install

Server

Edit server.js, replacing YOUR_INSTANCE_LOCATOR and YOUR_KEY with your Instance Locator and Secret Key respectively.

Run the auth server via:

node server.js

Client

Create a user/room via the inspector in the Pusher Dashboard.

Edit client.js, replacing YOUR_INSTANCE_LOCATOR with your Instance Locator.

Run the client via:

node client.js
You can’t perform that action at this time.