I googled to find WS Client that support both WS/WSS with specified certificate file but not found anyone.
I don't want wasting time for finding it anymore. So, I decided to make this tool for work and those who needed.
- Support both
Websocket (WS)
&Websocket Secure (WSS)
protocol - Support to use a specified certification file manually
- Support to use
self-signed
&publicly-trusted-signed
certification automatically - Support send/receive/display
Text
&Binary
data type - Support custom websocket header
- Support save/load preferences from JSON file
- Support cross-platform like Windows, Linux, macOS, etc
- Others
Note: This project required Python 3.6 or newer
- Run the command
git clone https://github.com/vic4key/da-Websocket-Client.git
thencd da-Websocket-Client
to get this repository- Run the command
pip install -r requirements.txt
to install required packages- Run the command
python app.py
to run app from the source code- (Optional) To build executable file, run the command
pyinstaller --clean --distpath=bin da-Websocket-Client.spec
- (Optional) To create a package, run the command file
create-package.cmd
(for Windows) or./create-package.sh
(for Linux or macOS) or directly download packages here
Note: (Optional) The sample SSL file for local machine (localhost
& 127.0.0.1
) can be found in the preferences
folder or you can generate your own SSL file by run the following command
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout local.pem -out local.pem -subj "/CN=localhost" -addext "subjectAltName=IP:127.0.0.1"
- Consider to support sending file
- Consider to support more like Socket IO, MQTT, etc
- Support debug logging to allow user knowing what is backend working like packet header, raw data, etc
- Support python plugin system to allow user easy to custom, hijack, mitm, handle, etc without any complex installation
DOING