Skip to content
Very simple Websocket-based chat, built on aiohttp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README
chat.html
chat.py
cli-receiver.py
home.html
requirements.txt
send.py

README

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.
You can’t perform that action at this time.