Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dasanchez/websockets-server-terminal
- Owner: dasanchez
- License: unlicense
- Created: 2021-01-29T03:02:38.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-29T03:30:26.000Z (almost 4 years ago)
- Last Synced: 2023-05-03T02:38:18.946Z (over 1 year ago)
- Language: Python
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.