Skip to content

A client-server chat application for Linux and MacOS, written in C.

License

Notifications You must be signed in to change notification settings

YaroslavChuiko/Ucode-Uchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ucode-Uchat

c gtk3 css sqlite openssl json
commit size release downloads

A simple chat application, implemented in C.

Demo

Demo video



Compiling and building

If you use MacOS, follow the next steps:

  1. Uncomment lines 34 and 31 in client/Makefile and server/Makefile respectively.
  2. Do brew update, brew install gtk+3.
  3. Do make font to install the required font.
  4. Do make.

Otherwise, do make install and make.

Executing

First, run ./uchat_server [port]. This process will work as a daemon and you can kill it by doing kill [pid], where pid is the process id, that will be shown in the beginning of execution.

Then, run the app: ./uchat [ip_address] [port].

You can use standard 8080 port, and 127.0.0.1 for running on localhost.

Preview

Login

login login-error

Register

register register-error

Main window

main-window

Modal

modal

Chat

chat