GithubHelp home page GithubHelp logo

iamlucif3r / chat-on Goto Github PK

View Code? Open in Web Editor NEW
38.0 1.0 21.0 7.9 MB

A Secured TCP Chat Room built with Python.

Home Page: https://iamlucif3r.github.io/Chat-On/

License: MIT License

Python 100.00%
python chat chat-application tcp tcp-server tcp-client tcp-socket python-3 python-socket python-socket-server

chat-on's Introduction

Chat-On 🐍 : A Python-Based Chat Room

This is an advanced Python-based Secure Chat room. The project is entirely based on the Socket Progamming; done using Python. A server is set to the listening mode, with a specific IP Address and Port number (that can be edited in the script) and clients are made to connect to the server, after which they are promopted to enter a nickname. The messages are then broadcasted to all the clients present.

πŸ‘‰ Introduction

πŸ‘‰ Sockets

Sockets and the socket API are used to send messages across a network. They provide a form of inter-process communication (IPC). The network can be a logical, local network to the computer, or one that’s physically connected to an external network, with its own connections to other networks. The obvious example is the Internet, which you connect to via your ISP.


Image Credit:Real Python

πŸ‘‰ TCP Socket

In the diagram below, given the sequence of socket API calls and data flow for TCP:

πŸ‘‰ Usage

  1. We will have to start our Server first.
Python Server.py

Note: Before running the server, make sure to edit the IP address and Port number. By default it is running on Localhost:5555

2. Run the Client file, to start the conversation.

Python Client.py

3. Now Enter a nickname and start your chatting.

v1.2 Updates

  • The version 1.2 supports the Admin Controls. The admin has certain controls over the chat room.
  • The enhanced features include
    • Kick Feature : Admin can kick anyone from the Chat Room.
    • Ban Feature : Admin can ban certain members from re-joining the Chat Room. These names are added in a List.
  • Minor Bug Fixes.

Demo-Video πŸ“Ή


This is a demo video of the Working of this project.


Contribution

πŸ‘‰ You're welcome to contribute in this project. Make a new branch, Commit your changes and send me a Pull Request. I'll merge it in the main branch ✌

EduardoJTR : Added Menu System

Contact

πŸ“¬ Contact with me via email: [email protected]

chat-on's People

Contributors

eduardojtr avatar gametimewitharyan avatar iamlucif3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chat-on's Issues

Not about the code! About the words!

Is this surely secured chat room? It is really easy to see what's going on with Wireshark.

Here is some examples:

1
2
3
4
5
6

The password also:

7

Now you see my brother... It is not secured as you have mentioned

Well DoneπŸŽ‰

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.