Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kdesp73/cchat
A simple chat service for the terminal written in C
https://github.com/kdesp73/cchat
chat chat-application clanguage cli sockets terminal
Last synced: about 2 months ago
JSON representation
A simple chat service for the terminal written in C
- Host: GitHub
- URL: https://github.com/kdesp73/cchat
- Owner: KDesp73
- License: gpl-3.0
- Created: 2024-01-31T19:30:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T00:18:54.000Z (6 months ago)
- Last Synced: 2024-08-06T02:34:23.690Z (6 months ago)
- Topics: chat, chat-application, clanguage, cli, sockets, terminal
- Language: C
- Homepage:
- Size: 136 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cchat
A simple chat service for the terminal written in C
## Install
```console
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
```console
cchat serve --address 127.0.0.1 --port 1234
```### Connect to the server as a client
```console
cchat connect --address 127.0.0.1 --port 1234
```### Set a username
Run
```console
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](./LICENSE)
## Author
[KDesp73](https://github.com/KDesp73)