How trimpta/simplechat works
Project type and purpose
• This is a lightweight LAN-based CLI chat system written in Python.
• It consists of a simple HTTP file server to distribute the client script and a TCP-based chat server that handles real-time messaging and commands.
File structure
• Top-level files:
• client.py – CLI chat client
• server.py – main chat server (TCP)
• serve_client.py – HTTP file server (serves client.py over port 8000)
• test.py – basic tests or examples
• readme.md, .gitignore
• No subdirectories, so the architecture is flat: two server processes, one client script.
README for additional insights
• Port usages: HTTP on 8000 for client distribution; chat TCP on default ports (5906–5907).
• Key features: broadcast, private whisper, admin commands, user list, exit, clear.