repl chat: Integrated global chat for
MrEconomical (2129)

repl chat yey

After making repl mail, I still wasn't satisfied. There was a mailing system now, but no way to chat in real time on itself. So I decided to make a chat system cool kek.


(yes I love this repl share post format dont judge)

  • Log in with repl auth - use repl auth to log in with your repl account @amasad
  • Integrated - repl chat pops up right on! I styled it based on the multiplayer chat so it is a little window on the bottom right. I just tweaked a few things to improve the UI where I saw fit. More on this in Usage Instructions
  • Fast - repl chat uses WebSocket to send chat messages in real-time
  • Message history - unlike many other chat applications cough cough and somewhat repl multiplayer chat itself cough cough repl chat stores the last 50 messages so you will have context every time you log on

Usage Instructions

To use repl chat in, save it as a bookmarklet. A bookmarklet is basically a bookmark that on click executes some javascript code, in this case adding the repl chat window to

  1. Create a new bookmark (name it whatever you want)
  2. In the url section, copy and paste this:
javascript:!function(){if(location.href.startsWith("")){const t=document.createElement("script");"repl_chat_script",t.src="",document.body.appendChild(t)}else alert("Go to to use repl chat!")}();
  1. Now, when you are on, if you want to add the repl chat window, simply click on the bookmark!

If you really wanted to, you could use the browser client here: but why tho?


You are viewing a single comment. View All
P3tray (3)

@MrEconomical If you forget to logout of your previous session (and don't close the window), and try to access the page from another PC, there is no way to login and delete your last session. I have tried to visit /login again, but it will not delete the last session. I left myself logged in at work...

MrEconomical (2129)

@P3tray if you log in it automatically deletes your previous session
also click on your pfp in the upper left and press logout