This is an example of a trust-based chatroom where no one is the server as it is peer to peer and all data is store in jsonstore. You can test it out by running the repl and entering a username. Enter "/online" to see if anyone else is online. The chatroom is not secure unless you join a special chatroom in which case someone will need to know the name of the chatroom (in this, it is "repl") to join or edit messages.
Peer-to-peer chatroom hosted only on jsonstore