Skip to content

Rubidium7/ft_irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_irc

Table of Contents
  1. About the project
  2. Getting started
  3. Usage

About the project

connect.PNG

This is an irc server implemented in C++. Supports at least the basic irc server functionalities such as authentication, joining channels, topics, sending files etc. This server was designed to work with irssi, so for the best experience use that client.

Getting started

This is how you might run this program locally. Do note that it was originally made for a unix system, so your mileage may vary depending on your machine.

Prerequisites

As this program is coded in c++ you'll need a c++ compiler. The server was made to work with irssi so that's the client I recommend to install

How to run it

git clone https://github.com/Rubidium7/ft_irc.git
cd ft_irc
make && ./ircserv <port> <password> optional: debug
  • port: the port number where the server will listen to incoming connections
  • password: the password that the irc clients will need to put in to connect to the server
  • debug: if you put this in it will make the program print out whatever the clients send (raw) and the server answers

Usage

if you run something like

./ircserv 8080 localhost

you can connect to it like so from irssi:

irssi_connect.PNG

to join a channel just:

irssi_join.PNG

then just message away:

irssi_messaging.PNG

messaging.PNG

for more info on irssi usage you can check out irssi documentation

Supported commands

  • Join
  • Part
  • Nick
  • User
  • Msg
  • Topic
  • Mode
  • Invite
  • Kick

(back to top)

About

irc server made from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published