This project is a simple offline chat application designed to facilitate real-time communication among devices connected to the same Wi-Fi network. Built with Python (Flask and Flask-SocketIO), it provides a seamless chatting experience without requiring an internet connection.
- Real-time messaging: Devices can instantly exchange messages in a shared group chat.
- User-friendly: Login requires only a display name; no additional setup is needed.
- Cross-device support: Compatible with laptops, desktops, and mobile devices connected to the same Wi-Fi network.
- Customizable design: The app includes CSS styling for a clean and modern interface.
- Backend: Flask and Flask-SocketIO.
- Frontend: HTML, CSS, and JavaScript.
- Real-time communication: Powered by the Socket.IO library.
Ensure Python is installed on your system, then run:
pip install flask flask-socketioStart the server by executing:
python app.py- Open the app in a browser by visiting:
Replace
http://<your-local-IP>:5000<your-local-IP>with the IP address of the server. - Share this link with others on the same Wi-Fi network to join the chat.
- Enter your name on the login screen.
- Join the group chat and start messaging!
- All connected devices will see messages in real-time.
- Update the frontend (HTML/CSS) to reflect your preferred design.
- Extend the backend to include additional features like private messaging, emojis, or message history.