Share your repls and programming experiences

← Back to all posts
Anonymous Chat
Vandesm14 (2737)

Anon Chat!
This is a chatting system which is completely anonymous. The only form of identification is a hex tag, which is only used to provide a way to tell which user is which. This tag is reset each time you refresh the page.

Bonus: If you embed this site, it'll still work! That little embedded repl down there is a working app. Fell free to try it out!


  • Anonymity
  • Rooms

This is a somewhat lighter version of my other chatting system:

DefaultModels (0)


TypeError: Cannot read property 'room' of undefined
at Socket.<anonymous> (/home/runner/classchat/index.js:48:28)
at Socket.emit (events.js:314:20)
at /home/runner/classchat/node_modules/
at processTicksAndRejections (internal/process/task_queues.js:79:11)
exit status 1

Do you know how to fix this?

DefaultModels (0)

It happens after some time

Vandesm14 (2737)

@DefaultModels It is definitely an issue with replit restarting, which I can't really prevent unless I rewrite the whole system (which I'm not going to do).