0.1.1 • Published 4 years ago

quick-chat-cli v0.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

client CLI

A cli project used to link with other user and send messages.

The idea came up through a college job where I would have to implement a way for two users to talk.

The first thing that came to my mind was the socket.io library. I made the server using the express along with websocket, and for the client I chose the gluegun library to make a CLI.

npm.io

Installation

Using npm:

$ npm install -g quick-chat-cli

or with yarn:

$ yarn global add quick-chat-cli

make sure you have yarn or npm in your path.

Usage

Register

First of all you will need an account. Registration is done using the command:

$ quick-chat-cli register

or for short syntax:

$ quick-chat-cli reg

then you must enter a username and a password, that's all you need to do to be ready to use!

npm.io

Chatting

There is two paths to follow in here, you can make yourself available for chat by log in, or you can try contact someone whos already logged.

Login

By log in the aplication you will be waiting for someone to ask for connect with you.

$ quick-chat-cli login

when other user try to connect with you, a message will apear asking for acceptance. If the answer is yes, the chat will begin.

npm.io

Connecting

Using the connect command you will be asked the username of the person that you are tryng to contact. If the user is logged, he will receive a messagem asking if he wants to accept the chat.

$ quick-chat-cli connect

or for short syntax:

$ quick-chat-cli conn

npm.io

Credits

Matheus Marques – @YourTwitter – YourEmail@example.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/matheusm25/quick-chat-cli

0.1.1

4 years ago

0.1.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago