Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 979 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 979 Bytes

websocket-inspector

A simple Haskell TUI to inspect and debug websocket communication. This is a interactive (TUI) websockets client, which can be used to interactively debug websocket communication with a websocket server.

The program is written using the excellent brick library.

Usage

websocket-inspector --url ws://echo.websocket.org/
websocket-inspector --url "wss://gateway.discord.gg/?v=6&encoding=json"

Demo

demo

demo-gif

How to run it

I have not worked on generating the binary on releases, so you would have to build it on your computer.

  • Clone the repo
  • Make sure you have stack installed
  • cd into this directory and run stack install. This will copy the websocket-inspector binary into your PATH.