Node ChatRoom
h
RohilPatel (413)

this is a simple chat room I made. I haven't quite figured out how to keep messages permanent, so ya. Have fun!!!!!!!!!!!

New update: 5% credit to @AdCharity for adding some code.

You are viewing a single comment. View All
RohilPatel (413)

Hmm, do u know how to use a txt file to do it? @AdCharity

RohilPatel (413)

So use the fs to save it, ok. @AdCharity Also, why do we only get 100MB if we have no hacker plan?

AdCharity (944)

@RohilPatel because repl needs money. They can't host thousands of websites and code for free.

AdCharity (944)

@RohilPatel 100MB is a lot for text.

RohilPatel (413)

My file called jade hardly has anything, and it uses 5 MB lol . @AdCharity

AdCharity (944)

@RohilPatel well that's bs because I've saved entire novels on 5MB on LocalStorage

RohilPatel (413)

Then there must be a way to save space. Do u know how? @AdCharity

sycrepl (9)

@AdCharity The storage isn't only text. I think they also count server activity in storage, because there's no way I've typed 25000000 bytes of data...

AdCharity (944)

@sycrepl

Seems reasonable to me.

AdCharity (944)

@RohilPatel save space? I would just take down any static html pages that are sitting around and just download them.

Vandesm14 (2039)

@sycrepl It's all files, so your packages and modules also count (which tend to be the issue when it comes to storage)