HTML only chat server

I think I'm done my really simple chat server but need maybe a couple people to drop into wiby.me/chat and try and play around with it. Yes there are far better ways to implement chat but I wanted to make this work on any system including ancient ones. Will keep it up for a bit. Thanks.

Attached: ghostchat.png (572x380, 10K)

I have a potty mouth.

Doesn't work on mobile, pass.

thats because your phone is shit. Works on my 6 year old blackberry just fine.

Why would anyone do this?

whoever owns the botnet, that was an impressive botnet. Just saying.

is there a reason that it keeps flashing? kind of annoying

works on my iphone

Its a refresh that happens ever 2s. There's no other way to do it with just html.

hello.

works nice with noscript, good stuff OP

Source? Would be cool for those retro computer nerds.

why not just use IRC

Because we need more fractured software and standards. Duh.

Click on [src]

IRC is shit

how to change my nickname?

impossibru

i got banned for cursing and calling op a fag. thats pretty cucked.

good

Nice work OP. I didn't think this was possible with just HTML.

OP is sorry loser

i guess its called cuckedchan for a reason, cuck.

Thanks :)

Yeah I agree, it's really nice! How does the front end update though? Does it send a post request, then the server waits two seconds and then sends a redirect to the same page?

Nigger, I was forbidden. What the fuck, did I already get banned from your chat?

The server immediately handles the posts, but the page will only ask for a refresh ever 2 seconds since its set that way.

>403 forbidden

What the fuck does that mean?

You could make the page infinite loading and send the chat messages that way, then use CSS to somehow shove them in the chatbox

Its a friendly chat.

I was friendly. I got banned for no reason. Fucking 5 minutes, and the jannies already got me.

infinite loading?

Comet

>http
absolutely not.

it will accept http on older user agents

It actually has an https that verifies.

how do you assign a random id/nickname to users?

check the source

>banned because I said 13/f/ca

what an ultra fag

no minors in teh chat, thanks

>13/f/ca
wtf does that mean

do zoomers really not know asl?

A lot of them probably don't because so many apps these days just tell you outright anyways.

Summer is here boys

What did you expect?

Based.

It's fucking shit and inefficient. Stop polling you fucking retard. Use websockets.

Worked out well for me.
I hit a 404 at the log though.
(FF60)

Alright, OP here. Thanks to everyone who joined and stressed the server out :)

I hope some of you might find the source code useful and host your own chats on your own servers.

Despite the haters you showed actual effort than 90% of posters so props for that.

logging can be enabled or disabled. If disabled, it will 404.

Bandwidth is cheap these days. And the load on the server is zero. You could host this on a Pi easily if you wanted.

Thanks :)

Good night

>Bandwidth is cheap these days. And the load on the server is zero. You could host this on a Pi easily if you wanted.
Nah man you should save 5¢/month and instead make the client 10x slower.

Fuck off. That is NEVER an excuse to write inefficient software.
You fucking idiots are so fucking afraid of running any sort of javascript or even fucking CSS.
It's not going to fucking kill you. Do you fret over your CPU running code?
Stop trying your hardest to make the unix philosophy look bad. Start writing efficient software instead.

>make the client 10x slower.
This does not happen with pure javascript. I.e. no meme frameworks.
Using websockets would've actually improved performance, as you get the messages instantly instead of on the next refresh.

And there are probably a million "websocket" chat servers out there. Who fucking cares?

And they're all better than yours.

Thanks for letting me test POST requests in powershell. I would've spammed 99 bottles of beer on the wall but the concatenation wasn't working.

Are you the guy who got butt hurt last time because somebody said nigger? And then proceeded to defend pedophilia and say you were black and lgbt?
If so, I just wanted to say that was some very nice bait.

No wonder I could cunnypost without getting banned

I made a chat room for fit but they don’t use it.

Sick domain name : chat.fit

Password is zyzz

Love the main website idea of searching for html only websites, will try this soon.

This is cool, I might take the source and throw it up on my one site.
Thanks user