Skip to content

Glowstudent777/Socket-Chat-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Chat

This is a basic server-client chat made with Socket.io and JavaScript

Installation

Note I use pnpm in these examples. NPM will also work if you don't have or want to install pnpm

Clone the repository:

git clone https://github.com/Glowstudent777/Socket-Chat-TS.git

Install dependencies:

pnpm install

Usage

Starting the Server

server.sh

Using a Client

You can have as many clients open as you like on your device at once. To open a new client window just run the following command:

client.sh

Enter your username and hit Enter

Command Function Usage
b; Sends a message b; <message>
ls; Shows users in chat ls;
q; Exits chat q;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published