chat-connect
v1.0.6
Published
A real-time chat client that you can run directly from the terminal.
Downloads
17
Maintainers
Readme
chat-connect
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.
Usage
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.
Steps to Use:
- 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.
Examples
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]
License
This project is licensed under the MIT License. See the LICENSE file for details.