Skip to content

avan-pra/ft_irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Girl in a jacket

ircgod

ircgod is a plug and play irc server built from scratch in cpp which aim to provide all basic fonctionnality of an irc server.
It supports multi server, service and most clients

Girl in a jacket

Install

linux
sudo apt install -y libssl-dev make clang && make

42
brew install openssl && export CPPFLAGS=-I$HOME/.brew/opt/openssl/include && make 42

Run

Generate SSL certs for tls communication (optional):
make certs
and then run:

./ircserv <config_filename>

Preconfigured config file can already be found under the conf directory but we advise you to fork sample.conf and modify it to your convenience.

TODO

Handle all vector to connection as connection * (instead of the connection class directly)
Fix client casing check in multi server (comparison in the same casing via to_up())
Make something of service ? (kinda useless atm)
share_client() function doesnt share well the token of the client.
Better logging (timestamp etc...)