8000 GitHub - tadelemon/qiaqia: Command line chat application for geeks.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tadelemon/qiaqia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A command line chat application for geeks.

 _____     _       ___   _____     _       ___                         
/  _  |   | |     /   | /  _  |   | |     /   |            
| | | |   | |    / /| | | | | |   | |    / /| |    Welcome to QIAQIA(洽洽)
| | | |   | |   / / | | | | | |   | |   / / | |   
| |_| |_  | |  / /  | | | |_| |_  | |  / /  | |
|_______| |_| /_/   |_| |_______| |_| /_/   |_|

screenshot

click here to see the screenshot.

features

  • event based IO multiplexing concurrency model for qiaqia server(epoll).
  • support group chat and private chat.
  • You can choose to receive or not receive messages from specific online users(block or unblock).
  • support state query such as infomations of all online users and the users you blocked.

usage

    <message>               : send message to all online users that not block you.
    $ <commands>            : send a command to the qiaqia for state query.
    > <username> <message>  : send a message to a single user that not block you.
    # <username>            : block or unblock the messages from certain user 

example

    exit                    : disconnect to the server and leave.
    clear                   : clear the screen, just like the clear in bash.
    hello, guys!            : send 'hello, guys!' to all online users that not block you.
    $ show users            : show informations of all currently online users
    $ show blocked          : show the users that you blocked
    > Bob how are you?      : send 'how are you?' only to Bob if bob not block you.
    # Bob                   : block messages from Bob.
    # !Bob                  : unblock messages from Bob.
    # Mike !Amy ...         : block Mick and unblock Amy.

install

Qiaqia is made up of two components, the qiaqia_server and the qiaqia_client. So you have three choices to install:

  • install qiaqia_server
git clone https://github.com/Andrewpqc/qiaqia.git && cd qiaqia && make server && sudo make install
  • install qiaqia_client
git clone https://github.com/Andrewpqc/qiaqia.git && cd qiaqia && make client && sudo make install
  • both
git clone https://github.com/Andrewpqc/qiaqia.git && cd qiaqia && make && sudo make install

Once you have finished one of the commands, the corresponding executable binary file will be placed under the /usr/local/bin/ directory of your machine. If you want to uninstall Qiaqia,just to input:

sudo rm /usr/local/bin/qiaqia*

in you terminal.

start

Before you start qiaqia_client, you must make sure that qiaqia_server is already started on your local machine or anywhere network can reach.

You can start qiaqia_server like the following command:

qiaqia_server -p <port to be listen>

I already deployed a qiaqia_server on my machine at 120.77.220.239:8765, so you can a quick start like the following:

qiaqia_client -h 120.77.220.239 -p 8765  //it' down now :<

then,choose a pretty nickname for yourself and start. Enjory!

=========================
            +     
            +   +
            +      +
            +          +
            +             O 
            +
            +
            +
            +
            +
            +
=========================

About

Command line chat application for geeks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 57.7%
  • C 41.0%
  • Makefile 1.3%
0