CMD Chat is a simple yet powerful LAN-based terminal chat application that allows two or more devices to chat with each other without the internet — using only a hotspot or local WiFi.
This project was born while experimenting with socket programming during the development of a backdoor tool, and the idea hit:
💡 "If we can control a system via sockets, why not chat through them too?"
- 📶 Offline communication using LAN or mobile hotspot (no internet required)
- ⚙️ Built using Python's raw socket module
- 💬 Chat directly through the terminal/command line
- 🔗 Supports 1-to-1 and (soon) multi-client messaging
- 📱 Future plan: Mobile app version coming soon
- 🌐 Long-range support possible using NodeMCU ESP8266 as repeater nodes
CMD Chat uses TCP sockets to establish a connection between devices on the same network (e.g., hotspot or WiFi). One system acts as the server, while the others connect as clients.
- Python 3.x
- Devices connected to the same LAN (WiFi or hotspot)
- Basic understanding of command line (for now)
git clone https://github.com/your-username/cmd-chat.git
cd cmd-chatOn one device:
python server.py
On the second device (same LAN):
python client.py
Enter the server IP when prompted (e.g., 192.168.43.1)
Chat via the terminal — all offline!
📱 Mobile app version (Android)
🌐 Mesh network support using ESP8266 (NodeMCU)
🧠 Encrypted communication
👥 Multi-client chatroom support
Shivam Singh Built with 💻 + ❤️ + ☕ during late-night experiments.
This project is licensed under the MIT License.