Simple chat. Relays Websocket messages to all connected clients.
Needs Python 3.7+ and aiohttp.
Also serves a simple web frontend, which requires a modern browser.
Usage:
Run python3 chat.py
, then go to http://localhost:8080 to see the
Web interface.
Run python3 cli-receiver.py
to see the messages scroll by.
The server (above) needs to be running for this to work.
Run python3 send.py "<your message>"
to send a message from the command line.
The server (above) needs to be running for this to work.