A lightweight and minimal live chat application built using only Python’s built-in http.server module.
No frameworks or external libraries required — just pure Python.
- No dependencies (runs with standard Python)
- Responsive layout for desktop and mobile
- Real-time messaging with simple username login
- Accessible via both
localhostand local network (IP address + port) - Messages persist in a local file
- Easy to run: just double-click the Python script to start the server
- Runs on port 8080 by default
- Download or clone the repository.
- Double-click
app.py(or run withpython app.py) to start the server. - Open your browser and visit:
- Local: http://localhost:8080
- Network (other devices on LAN):
Replacelocalhostwith your local IP address, e.g.http://192.168.1.10:8080
livechat-python/ app.py # Main Python server (double-click to run) messages.json # Stores messages persistently LICENSE # License file README.md # This file
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by mahyar132 Feel free to fork, improve, or give feedback!