Websocket chat now live!

Introduction

Slack and discord are great. Chat apps make it really easy to collaborate with other people in a casual settings - it is like the new age digital water cooler. I also really like my terminal. So I decided to merge the two.

Server

The server is up now and should be alive at wss://wschat.aawadia.dev/chat/<roomName>/<nickName>. Replace the roomName and nickName eg wss://wschat.aawadia.dev/chat/dev/s1mple

roomName can be any room in the list returned at https://wschat.aawadia.dev/chat/rooms - some include dev kubernetes general random hackernews etc

nickName can be anything alphanumeric that is not currently taken in the room.

Client

You can use any websocket compliant client - I use the ws golang built client with source here: https://github.com/asad-awadia/ws

install binary executable command: go get -u github.com/hashrocket/ws

connect to a room: ~/go/bin/ws wss://wschat.aawadia.dev/chat/kubernetes/s1mple

Convenience pre-compiled binaries can also be found in the repo https://github.com/asad-awadia/ws/tree/master/releases.

1
2
3
4
5
6
7
8
9
10
11
12
13
# Darwin
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-darwin-amd64
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-darwin-arm64

# Linux
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-linux-amd64
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-linux-arm
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-linux-arm64

# Windows
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-windows-amd64
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-windows-arm
wget https://github.com/asad-awadia/ws/raw/master/releases/ws-windows-arm64

SLA

Best effort :)