Simple JS Chat Box

This is a simple Chat Box you can use on any website.
It allows custom rooms (which are public).

Important: Public Chat Boxes are NOT meant to use for a good chat system. They are just a quick and fun way to communicate.

How to use it

Just copy the code below anywhere on your website. Dont forget to change “DarvinDemoRoom” to your own room name. Thats it.

The Server stores 50 messages and deletes old ones. Messages are refreshed every 5 seconds.

<script src=""></script>
<div id="chat" room="DemoRoom"></div>

Why is it so ugly?

Well, it does not have any style. It adapts to your own website style and may need some own css stylings.
You can use one of my custom styles if you want:

<link rel="stylesheet" href="" media="all">

A Demo is below

(I accidentally made a design that is similiar with WhatsApp)