Skip to content

A simple online real-time chat website where users have the ability to make or join chat rooms. Built with socket.io and expressjs on node.js

License

Notifications You must be signed in to change notification settings

Walker30263/lightchat

Repository files navigation

As of 2023, LightChat has officially been sunsetted by the original developers. It will still be available through repl.it, but no longer on lightchat.ml

This was one of our first projects that was actually used by people on the Internet whom we didn't know personally (mainly middle schoolers who wanted to text their friends during class on their Chromebooks 💀💀), and it made us get into web development as a hobby. Thank you to everyone who supported lightchat.ml in the past by using it, or by contributing suggestions or code. We will still keep this GitHub repository public for the memories.

All of the code here still works, so feel free to host it on your own and continue LightChat's legacy! (You might need to edit instances of "lightchat.ml" in the code with your own custom domain.) We would also recommend rewriting some of the code to make it more readable....

New: XSS/Arbitary Code Execution prevention

Before this update, people could use HTML in their messages. This led to people being able to use the script tag and the style tag to change stuff like background color of LightChat on all clients connected to a room.

We restructured the way we handle messages, and as a result, all HTML in messages is treated as plain text, making this "hack" impossible.

Lightweight real-time chat app made with node.js and socket.io

Public and Private chat rooms that you can make and join

Invite links!

Simple UI

In-chat Commands to customize your experience:

Name Description Example
!help View Commands !help
!setUsername Sets Username !setUsername username
!invite Gives you an invite link to the current chat room !invite
!users User Count !users
!color Color your message !color #00ff00 This message is green!
!setColor Sets Username Color !setColor crimson

Contributors

About

A simple online real-time chat website where users have the ability to make or join chat rooms. Built with socket.io and expressjs on node.js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published