Skip to content

An implementation of an Internet Relay Chat (IRC) server designed for experimentation and learning

Notifications You must be signed in to change notification settings

42SchoolProjects/ft_irc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_irc Badge (Bonus)

ft_irc

Internet Relay Chat
By NotArt, kaveOO and BLQuatre

Introduction

The goal of this project was to implement an IRC (Internet Relay Chat) server that can handle multiple clients, manage channels, and respect the core rules of the IRC protocol. This project focuses on socket programming, client-server communication, and efficient resource management.

Features

  • Channels Management: Operators, topic, ban, invite, password...
  • File Transfer

Installation & Setup

  1. Clone the repository

    git clone https://github.com/ft-NotArt/IRC
    cd IRC
  2. Build the project

    make
  3. Start the server

    ./IRC <password> <port>
  4. You can choose your client, here's an example with irssi

    irssi -c localhost -n <nick> -w <password> -p <port>

Ban Bot

We made a bot that request a ban upon detecting a badword using regex.

To setup and launch the bot, follow these instructions:

cd bot
make
./Bot <password> <port> [ip]

Example

Example

About

An implementation of an Internet Relay Chat (IRC) server designed for experimentation and learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.9%
  • Makefile 2.9%
  • C 0.2%