repl chat: Integrated global chat for repl.it
h
MrEconomical (2196)

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 repl.it itself. So I decided to make a chat system cool kek.

Features

(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 repl.it! 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 repl.it, 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 repl.it.

  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("https://repl.it")){const t=document.createElement("script");t.id="repl_chat_script",t.src="https://repl-chat.mreconomical.repl.co/use/bookmark.min.js",document.body.appendChild(t)}else alert("Go to https://repl.it to use repl chat!")}();
  1. Now, when you are on repl.it, 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: https://repl-chat.mreconomical.repl.co but why tho?

DATABASE SOURCE CODE: https://repl.it/@MrEconomical/repl-chat-database-source

You are viewing a single comment. View All
ThePuzzlerThree (4)

Do you have a chat moderator? Also if you can fork this and make it private for our thing we have to talk about. Sorry I'm so hard to get a hold of. :P

ThePuzzlerThree (4)

@ThePuzzlerThree have a good time for us to chat on the....chat about the logo design?

MrEconomical (2196)

@ThePuzzlerThree get discord and join the repl discord (in the bottom left) and then we'll take it from there

ThePuzzlerThree (4)

@MrEconomical i dont have a thing to get the app on and i can't get on it becuase my school blocks everything

ThePuzzlerThree (4)

@MrEconomical and my parents won't let me make my own account

ThePuzzlerThree (4)

@MrEconomical i told you, i cant get discord

MrEconomical (2196)

@ThePuzzlerThree I think there's a bug in repl mail, it's not sending the message one sec i can fix