Skip to content
/ cchat Public

A simple chat service for the terminal written in C

License

Notifications You must be signed in to change notification settings

KDesp73/cchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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