Skip to content

AgrawalAdarsh/Python_ChatApp_Basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Chat App

A simple real-time chat application built with Flask and Flask-SocketIO.

Features

  • Create and join chat rooms with unique codes
  • Real-time messaging
  • Displays active users in the room
  • Automatically removes empty rooms

Installation

  1. Clone the repository:
    git clone https://github.com/AgrawalAdarsh/Python_ChatApp_Basic.git
  2. Navigate to the project folder
    cd Python_ChatApp_Basic
    
  3. Install dependencies:
    pip install -r requirements.txt
    

Usage:

  1. Run the app:
    python main.py
    
  2. Acceess the chatapp in your browser: http://localhost:5000 or if accessing from another device on same network: http:<your-device-ip>:5000 (Find your local ip using ipcongig on windows or ifconfig on Linux)

Deployment

1.To allow external devices to connect, run the app using:

python main.py

Then on other devies, enter:

http:<you-ip>:5000

Ensure all the devices are on same network

  • NOTE: To run the code on same network remember to check the network ipv4 to add on other devices rather than on which it is run....

Requirements:

  • See requirements.txt for dependencies

License:

  • This project is licensed under MIT License.

About

This is a basic python_chatserver GUI based implememtation using flask,flask_socketio,python implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors