Share your repls and programming experiences

← Back to all posts
A SOCKETIO chat with NEW UPDATE where you can make bots
MikeW3

NEW UPDATE:

Now with a new messages feature that tells you how many messages you have not read. If you read all of them, click the "I read all new Messages".

Open it in new tab
4+ hours of work! So many StackOverflow tabs! This is what it took to make this weird thing that won't possibly get upvotes awesome chat service. There have been many "chatbots", and "chat services" that have made the rounds on repl talk, so I have tried to make this one as unique as possible.
Unique features:

  • Everybody is anonymous (That's right, no login hassles, yay), but even more than that, there are randomly picked capitalizations of "Anonymous". Try it to see what I mean.
  • You can write bots! Click HERE to read my inordinately long tutorial on that
  • The chat auto-deletes the oldest if there are too many messages
  • It has horrible UI

I added a lot of comments in the code for your enjoyment.
Note: If it is laggy or buggy reload or open it again.

Voters
TheDNAHero
MikeW3
Comments
hotnewtop
MikeW3

Should I add more CSS?

TheDNAHero
MikeW3
TheDNAHero

Cool! Just, in the JavaScript, maybe add something that detects when a message sent, make it scroll to the bottom

MikeW3

@TheDNAHero I tried it but it would not work unless I added a timeout which made it look weird as inconsistant which I don't like lol
have you read the tutorial?

MikeW3

@MikeW3 If you want I can add it back in

TheDNAHero

@MikeW3 it would feel smoother, also, try adding a bot filter so bots aren’t just spam, like the on in chat

MikeW3

@TheDNAHero I will add a thing that says if there are new messages

MrVoo

It says it can't reach the repl D:

MikeW3

@MrVoo You run it first

MrVoo

@MikeW3 I swear I did, anyway it works now, very spicy. Maybe make the chat window bigger though..?

MikeW3

@MrVoo Open it in a new tab

MrVoo

@MikeW3 I did -.- I'm talking about the actual chat

MikeW3

@MrVoo oh well okay

MikeW3

@MrVoo Done