Skip to content

cpushalman/irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‘ Basic IRC Server in Python (Socket Programming)

This is a minimal IRC-style chat server built using Python's socket and threading modules. It accepts multiple client connections and broadcasts messages to all connected clients in real-time.


πŸ“¦ Features

  • Handles multiple clients simultaneously
  • Broadcasts messages sent by any client to all others
  • Built with only Python standard libraries
  • Simple and clean structure

πŸš€ Getting Started

🧰 Requirements

  • Python 3.9+
  • A terminal-based TCP client (like telnet or nc) to connect to the server

πŸ”§ Running the Server

  1. Clone the repository:
    git clone https://github.com/cpushalman/irc.git
  2. Run the Server
python server.py
  1. Connect clients using telnet or netcat: Open separate terminals and run:
telnet 127.0.0.1:3000

Note:This script runs on your local machine,if the server establishes connection with multiple terminals using tcp client on your local machine you'll be able to visualize the socket handling concept within your localhost,you can tunnel this onto the internet using any tunnel of your choice like ngrok and be able to connect irc s with your buddies for Ephemeral, Non-Surveilled, or Privacy-Focused Chat

nowhere your chat data is to be found after you send it also the other receives it

About

This is a Internet Relay Chat System built using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages