microChat, derived from Vandeism14’s “tiny chat,” but ever smaller!
h
StudentFires (127)

Disclaimer: StudentFires is in no way whatsoever assuming authorship of the original code by repl.it user “Vandeism14,” whose code can be found at https://repl.it/@Vandeism14/tiny-chat


Hey you! Yeah, you! Have you ever wanted to chat?

Maybe you want something simple, something fast something you could get used to easily, but you don’t want to reinvent the wheel, nor do you want a lot of code. If you do, then you've come to the right place.

After an entire day of editing the code, StudentFires presents to you:

microChat

microChat is optimized for one purpose, being small. It is smaller than a normal .css file, .html file, or small .js file, yet it’s all in one. One file that combines the server-side and client-side code, and you guessed it, it’s small.

His released version of the server-side code, as of when this post was originally made was 435 characters large. At that time he proclaimed it to be the smallest chat system.

StudentFires has shrunken the code to only 367 characters.

435-367=68

We saved a whopping 68 characters while providing exactly the same functionality.

The original author’s code seriously broke HTML markup and JS code in order to work, but we’ve done even better! The HTML and NodeJS are now pure nonsense.

Vandeism14: If you see this, I actually need help expanding your original code into something readable, and logically structured, I failed miserably.

You are viewing a single comment. View All
LiamDonohue (219)

you can just spam the chat lol

StudentFires (127)

@LiamDonohue Yup, as advertised, “while providing exactly the same functionality.” So, how about an upvote?

StudentFires (127)

@LiamDonohue Although It's unlikely, hopefully, thisll get to the trending.