Uchat is our team program which is made to show how chat could be user friendly and include some interesting features, which differs it among others.
Before running the program you should write some commands in terminal and do some monipulations
- First of all, we should install brew
git clone https://:@gitlab.ucode.world:8443/services/ubrew.git
- Run script
zsh install.sh
- After this manipulations we should download GTK 4
# for average user
brew install gtk4
# for campus user
brew install gtk+3
brew install gtk4
- Finaly get to compiling and running the program
make
./uchat_server 888
./uchat 127.0.0.1 888
Our code is a complex of visual part, databases and backend. For visual part was used GTK 4:
#include <gtk/gtk.h>
Databases are written with the help of databases engine SQlite3
#include "../../frameworks/SQLite3/inc/sqlite3.h"
Safe connection is provided by SSL 1.1.1
#include <openssl/ssl.h>
#include <openssl/err.h>
Precisely because of the large amount of code, we cannot register absolutely everything, but we will leave a link to GIT with all the available code
Weather icons were made by Roman Káčerek and have been adapted from this site: https://www.flaticon.com/packs/weather-407
Concept of our chat: https://www.figma.com/file/cYoYKe1oJApM1YqCESteyq/uchat?node-id=77%3A993
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.