An open API service indexing awesome lists of open source software.

https://github.com/pawbud/cltext

aka Command Line Text is a Messaging Service based on Go-Lang using a TCP connection
https://github.com/pawbud/cltext

go-lang golang messaging tcp-server

Last synced: about 2 months ago
JSON representation

aka Command Line Text is a Messaging Service based on Go-Lang using a TCP connection

Awesome Lists containing this project

README

        

![Made With Go Badge](https://img.shields.io/badge/Made%20with-Go-informational?style=for-the-badge&logo=go)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge&logo=go)]
[![BCH compliance](https://bettercodehub.com/edge/badge/PawBud/CLText?branch=master)](https://bettercodehub.com/)

# What is CLText?

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

# Commands

Kindly refer to the [Wiki](https://github.com/PawBud/CLText/wiki)

# Install & Run
**These Instructions are for Linux Ubuntu**
1. Install the source code
2. open the directory in your IDE and run `cd chat/`
3. run `go build .` which builds an executable in the chat directory itself
4. run `./chat` which runs the exectuable. Now the server should start

**These Instructions are for MacOS**
1. Install [homebrew](https://brew.sh/).
2. run `brew install telnet`.
3. The remaining steps are same to that of Ubuntu which are aforementioned.

![CLText](images/Server_Start.png)

## Commands in Use

![](images/Server_Functionality.png)

## Licence
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.