A lightweight chatroom for local networks โ no internet required.
Anyone on the same LAN can join and chat in real time.
-
Start a simple HTTP server to share the client script:
python3 -m http.server 8000 -
Run the chat server (listens on port 5000):
python3 chat_server.py
-
Download
chat_client.pyfrom the host HTTP server or this repo:
http://:8000/BurnerChat/chat_client.py
or
chat_client.py -
Run the client, pointing to the server IP:
python3 chat_client.py <server-ip-address> 5000
-
Install Termux from your app store.
-
Install Python:
pkg install python -
Continue with the client setup above.
- Each client is prompted for a Name when joining.
- Only active members can chat (no offline history).
- Server must be online and listening.
- Works entirely offline โ all devices must be on the same LAN.
This is a small step toward a bigger project:
- Building decentralized, anonymous communication systems.
- Exploring blockchain concepts such as:
- Peerโtoโpeer networking
- Smart contracts
- Cryptography
See the full learning repo on blockchain concepts:
๐ EduChain
hit mashuibr