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

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
jhman103751 (0)

I am a teacher of 5 computer science classes and am wondering if it is possible to make a private version of this that i could use with ll my students? also is there a transcript that is made with this in a console?

MrEconomical (1064)

@jhman103751 do you have discord to communicate easier? I would love to help

jhman103751 (0)

@MrEconomical I currently do not, but can communicate by email or phone? i can get discord today but it will not be until 6:30 EST

MrEconomical (1064)

@jhman103751 discord is preferred for instant messaging I will just wait I am in school now anyways

jhman103751 (0)

@MrEconomical ok wonderful, ill comment right around 6:30est

jhman103751 (0)

@jhman103751 I just made an account with discord, how do we connect? @MrEconomical

MrEconomical (1064)

@jhman103751 whats your discord tag tell me on repl chat