A real-time chat application built using Flask and Flask-SocketIO, enabling users to join chat rooms and communicate instantly in real time. The application features a clean interface and supports multiple users concurrently.
- Real-time communication with WebSockets
- Join and participate in chat rooms
- Built with Flask and Flask-SocketIO
- Responsive frontend with HTML and CSS
- Backend: Flask, Flask-SocketIO
- Frontend: HTML, CSS
- Language: Python
Real-Time-Chat-Application/
βββ static/
β βββ css/
β βββ style.css
βββ templates/
β βββ index.html
βββ main.py
βββ .gitignore
- Clone the repository:
git clone https://github.com/Maina-M19/Real-Time-Chat-Application.git
cd Real-Time-Chat-Application- Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install flask flask-socketio- Run the application:
python main.py- Open your browser:
Go to http://localhost:5000 to use the app.
This project is open source and available under the MIT License.
Thanks to the Flask and Socket.IO communities for their powerful libraries.