GitXplorerGitXplorer
e

ws-chat

public
17 stars
8 forks
1 issues

Commits

List of commits on branch master.
Unverified
3389fe1baf70040362e27c6b5f6437c82500ff3f

Allow sending messages through the websocket

eencukou committed 9 years ago
Unverified
695a6e981eb3b137c6a73ea0d4e0ea4f7e0c9d86

Add cli-receiver and a CLI send tool

eencukou committed 9 years ago
Unverified
7869f0524714fb4fab16ce78f2f4d56af5104bec

Show off 'async for'

eencukou committed 9 years ago
Unverified
4975a6c088ab6a7d0f7804c6d2ca57e65e000bc6

Initial commit

eencukou committed 9 years ago

README

The README file for this repository.

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.