Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dasanchez/websockets-server-terminal

WebSockets interactive server
https://github.com/dasanchez/websockets-server-terminal

Last synced: 11 days ago
JSON representation

WebSockets interactive server

Awesome Lists containing this project

README

        

# websockets-server-terminal

A WebSockets interactive server

![A screenshot of the terminal tool](screenshot.png)

## Requirements

- Python 3.8.5
- prompt_toolkit 3.0.14
- websockets 8.1

## Usage

```
python3 ws_terminal.py
```

- Press **Ctrl+q** to exit.
- Press **tab** and **shift-tab** to change focus.
- Press **Enter** to connect/disconnect and broadcast messages, depending on which field has focus.
- You might need to run with `sudo` if you want to use ssl.