A simple real-time chat application built with Flask and Flask-SocketIO.
- Create and join chat rooms with unique codes
- Real-time messaging
- Displays active users in the room
- Automatically removes empty rooms
- Clone the repository:
git clone https://github.com/AgrawalAdarsh/Python_ChatApp_Basic.git
- Navigate to the project folder
cd Python_ChatApp_Basic - Install dependencies:
pip install -r requirements.txt
- Run the app:
python main.py - Acceess the chatapp in your browser:
http://localhost:5000or if accessing from another device on same network:http:<your-device-ip>:5000(Find your local ip usingipcongigon windows orifconfigon Linux)
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....
- See requirements.txt for dependencies
- This project is licensed under MIT License.