Coder Social home page Coder Social logo

codemaster899 / lightchat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from walker30263/lightchat

0.0 0.0 0.0 2.03 MB

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

Home Page: https://lightchat.walker30263.repl.co/

License: MIT License

JavaScript 29.67% CSS 17.02% HTML 53.31%

lightchat's Introduction

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

lightchat's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.