CLText is a CLI messaging service built using Go-Lang. It uses a TCP connection. The whole application is built upon:-
- client: current user and its connection
- room
- command: from the client to the server
- server: which manages all incoming commands, as well it stores rooms and clients
- TCP server itself to accept network connections
Kindly refer to the Wiki
These Instructions are for Linux Ubuntu
- Install the source code
- open the directory in your IDE and run
cd chat/
- run
go build .
which builds an executable in the chat directory itself - run
./chat
which runs the exectuable. Now the server should start
These Instructions are for MacOS
- Install homebrew.
- run
brew install telnet
. - The remaining steps are same to that of Ubuntu which are aforementioned.
This package is licensed under MIT license. See LICENSE for details
Feel free to issue a PR anytime if you feel that the changes can improve the application's functionality.