This project implements a chat server in the style of irc, where clients connect to rooms and recieve messages sent to those rooms only while connected. It is implemented using golang and websockets. Current Progress can be found in PROGRESS.md
- /join roomName to join the roomwith name roomName. Roon names must contain only lowercase letters, numbers and underscores. Room names must be between 2 and 10 characters long
- /identify username to change how you are identified. Usernames can contain any case letters, numbers and must be between 2 and 10 characters long
- /leave leaves the current room. Removes all messages
- /clear clear all messages in current room
- /help prints a list of available commands
At the time of writing this(Sept 03 2023 10:37PM) there is a live version of with all the current features at ircish.onrender.com
(psst UI improvements are more than welcome. I'm pretty terrible at UI design)
- Clone this repository
- Run
go build && ./server
in the top level of this repository - Open localhost:8000 in your browser
and voila you have the IRCish server running locally and every new tab or window that you open to the index.html file is a new client to the server and you can send messages between them