mirror of https://github.com/skiqqy/cmesg
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
assets | 3 years ago | |
src | 3 years ago | |
tests/configs | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
config.example | 3 years ago |
README.md
cmesg
Messeging Application
This is a simple messaging server + client, the goal of this project is to allow a simple tui mode (using nc) to chat, or using a far more complicated GUI with advanced features.
Dependencies
Client | Server |
---|---|
GTK+ devel | pthreads |
Compiling
$ make
Running the server
$ ./bin/cmesg [options]
Running the client
$ ./bin/client [options]
Help
$ ./bin/cmesg -h
Admin
When compiling with $ make
, a templete config file is created, this templete
file is used to configure the admin user, who can login to the server and
do privilaged commands (such as ban a user, mute someone etc).
In order to enable this, one must run cmesg like so,
$ mesg -c /path/to/config
Testing
Run the server and then,
$ nc localhost <port>