This is a simple GUI to test Websockets.
This repo contains the source of the WebsocketGUI. If you don't want to host your own server (for example to be able to access local websockets), you can use our hosted site.
NOTE: The website needs to be hosted on a webserver. It doesn't work when you open it as a file because of CORS errors (if someone knows how to fix them, please open a PR). Described here are some ways to easily host the GUI on a Webserver. More instructions may follow.
Live Server is a Extension for Visual Studio Code providing you with many features like live reload.
- Open the Repo in Visual Studio Code
- Install Live Server
- Press
Ctrl + Shift + P
to open the command palette, type inOpen with Live Server
and press enter - Your browser should start automatically
- You may see a overview of files. Click on
index.html
to open the GUI - Start using the WebSocketGUI! (For more instructions see How to use WebSocketGUI)
If you have any questions regarding this software, feel free to contact me on Discord: _SIM_#6866
- Type in your WebSocket URL including the protocol (ws or wss) into the URL field (Example:
ws://localhost:1337
) - Press
Connect
- Wait for the connection to establish (it should print CONNECTED TO <url>)
- Type in the message to send into the
Message to send
field and pressSEND
- Answers from the WebSocket server get printed to the screen.
DISCLAIMER: You are responsible for what you do with this program. Neither me or BlackOnion take responsibility for any damage or any other problems you might encounter by using this program. Example: if you get hacked using this program, the one who attacked you is responsible, not me or BlackOnion.