KDesp73 / cchat

A simple chat service for the terminal written in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cchat

A simple chat service for the terminal written in C

Install

git clone --depth=1 https://github.com/KDesp73/cchat
cd cchat
make
./install.sh

Usage

If you want to use this remotely you will have to forward the IP adddress and port of your computer

Start a server

cchat serve --address 127.0.0.1 --port 1234

Connect to the server as a client

cchat connect --address 127.0.0.1 --port 1234

Set a username

Run

cd ~/.config/cchat
echo "[username]" > username

Arguments

  • -a, --address: Specify the ip address
  • -p, --port: Specify the port
  • -v, --version: Print the program's version

Internal commands

  • \help or \?: Prints list of commands
  • \list: Prints list of connected users
  • \clear: Clears the terminal window
  • \whoami: Prints users username
  • \whisper [username] [message]: Sends private message to user with username [username]

More to be implemented soon!

License

GNU

Author

KDesp73

About

A simple chat service for the terminal written in C

License:GNU General Public License v3.0


Languages

Language:C 85.7%Language:Shell 7.1%Language:Makefile 3.9%Language:Roff 3.4%