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 | # Darwin |
SLA
Best effort :)