#ws #wss #stream #connect #validation #close

bin+lib wscat-rs

A cli tool for tailing wss websocket streams

5 releases (1 stable)

Uses new Rust 2024

new 1.0.1 Apr 18, 2025
0.9.2 Apr 18, 2025
0.9.1 Apr 18, 2025
0.9.0 Apr 18, 2025
0.1.0 Apr 18, 2025

#129 in WebSocket

Download history

110 downloads per month

MIT license

15KB
111 lines

Publish-Crate Dependabot Updates Rust rust-clippy analyze

wscat-rs

A re-implementation of https://github.com/websockets/wscat for my own amazement and convenience.

wscat‑style client with `wss://` support, `--insecure`, optional slash-commands, and TTY‑aware prefixes

Usage: wscat-rs [OPTIONS] --connect <CONNECT>

Options:
  -c, --connect <CONNECT>  WebSocket URL to connect (ws:// or wss://)
      --insecure           Skip TLS certificate validation
      --slash              Enable slash commands (/ping, /pong, /close)
  -h, --help               Print help

Dependencies

~5–17MB
~223K SLoC