A super simple chatroom that is fast and secure
Hate the fact that you either don't have discord or don't have access to it? Well now you can enjoy the fun of human to human communication though LowChat, a high performance chat engine with a simplistic design. No need to worry about a company (or me) spying on you, just fork the repl to make it your own! LowChat features a logless chat engine, meaning all of your messages are never stored, only recieved by the other end and nothing else. If you would like to build a bot for LowChat, it's totally possible (rest api coming soon). It runs off of a single "message" event, allowing the ease of use by any bot maker!
This system is a bit wonky with a couple of extra security features which didn't work. I am in the process of polishing up the site to keep it working properly!
Admin commands? No, not yet.
Things that you could add that shouldn't take too long. (I hope)
-Additional Commands (name/text color, background color, etc.)
-Store chat messages BUT you only store 50. (when someone says something it gets rid of the oldest one)
Idk if these will take a while or not but it's something.
sanitize function doesn't work when given a string like
>. You could fix this by just replacing all angle brackets with
< > (I think, that might have problems too).
Amazing. Maybe add a password feature, so you can create a room, and set a password, so only those with the password can access
looking into this more, I'm getting confused as to whether or not more than 1 room is supposed to be able to exist, and if so, how I define them. I found what you said about "/" in the url, but when I make it "/test" instead of "/main", it works, but when I do "/rooms", it only lists "test", not "main" anymore.
@Vandesm14 ok, I was trying for a while to just find where it sends the message out and where it receives the message and add a discord channel send and encase it in a on message respectively. I've been looking to make an irc client to discord bot for a while, but it's been a bit hard for me as I'm not very familiar with html. I'll do a bit of googling on socket io then, thank you.
Just so you know I still use this occasionally :)
I was wondering what you do to escape things like <script>?
@LD1 I use RegEx to find all "<" and ">" and replace them with "<" and ">" respectively. Here's the code for the function:
This code is run on the server, not the client (script.js)
If you have Discord, I can give you a detailed explanation of the functions and configuration of LowChat in detail: Vandesm14#3364
Love the new update. I do think that it should ask you what you want your username to be, instead of you having to set a new one each time. I noticed that your using cookies, but it doesn't save your name/nickname for the next time or when you reload. It would be nice if it checked to see if you had a name saved in cookies before giving you a new random name
Wow! This is great! I have one suggestion. Maybe on the homepage, you can provide urls to the most visited chatrooms. For example:
Besides that, I think this has a lot of potential!
@ryaalbr Interesting idea. I'm thinking of making a link to the /root chatroom (which I use a bit). But a public listing of the active chatrooms might be a bit too much of a security problem as some people would want their rooms private. In the next update, this will most likely happen though as I am reworking the code to support admin commands and username registration.
Nice! I have a suggestion, could you add a way to join a room which is not by adding to a URL? (you can maybe add a text box?)
Nice idea. Though it could be logged with a bot/program that is running in the server though, right?