chat-connect
is a real-time chat client that you can run directly from the terminal. It connects to a WebSocket server to send and receive messages in real-time.
You can start the chat client with the following command:
npx chat-connect
The client will prompt you to enter a username and a room to connect to.
- Open the terminal.
-
Run the command
npx chat-connect
. - Enter your username when prompted.
- Enter the room name when prompted.
- Start sending messages and see received messages in real-time.
To exit the chat, type /exit
and press Enter.
After running npx chat-connect
, you will see something like this:
Username: [Your Name]
Room: [Room Name]
> [Your Message]
[Other User's Name]: [Received Message]
This project is licensed under the MIT License. See the LICENSE file for details.