Skip to content
(Template Jam) Socket.io Chat Template
Profile icon
lynnlo

Here's a chat client I made for the template jam.

It uses a express server and socket.io for the server side and socket.io client for the client side.

It's very basic and minimal but it does have some features to prevent spamming and also has a custom message sound I made (Which can be easily replaced). The chat also supports chat rooms which can be easily turned off given you know a little bit about socket.io.

Of course this is meant to be a template so everything is made to just work and designs or features that would obstruct the ease of adaptability of the template was not pursued. I did not comment on my code because I think it's decently readable but if enough people thinks that would benefit the end users then I could do it.

Please feel free to try it out invite some friends to test it out.

If you have suggests or comments please comment below.

You are viewing a single comment. View All
Profile icon
sovereigndawn

how do you make a log for this?

Profile icon
lynnlo

@sovereigndawn You can append message, user, and time on a text file using the fs library on the send event.