Real-Time Chat Application
Overview
This script creates a real-time chat application using Flask and SocketIO. It allows users to create or join rooms and chat with others in real-time.
Requirements
- Python 3.x
- Flask
- Flask-SocketIO
Installation
- Install Flask using pip:
pip install flask - Install Flask-SocketIO using pip:
pip install flask-socketio - Clone the repository:
git clone https://github.com/praneethsattavaram/Chat_room
Usage
Running the Application
- Run the script using Python:
python main.py - Open a web browser and navigate to
http://localhost:5000 - Create or join a room to start chatting
Features
Key Features
| Feature | Description |
|---|---|
| Real-time Messaging | Send and receive messages in real-time |
| Room Creation/Joining | Create or join rooms for private conversations |
| User Authentication | Authenticate users using session cookies |
Troubleshooting
- Ensure Flask and Flask-SocketIO are installed
- Check for any updates to Flask or Flask-SocketIO that may affect the application's functionality
Contributing
Contributions are welcome! If you find any issues or have suggestions, please open an issue or submit a pull request.
License
This script is released under the MIT License.
Acknowledgments
- Flask framework
- SocketIO library