websocat
« Back to VersTracker
Description:
Command-line client for WebSockets
Type: Formula  |  Latest Version: 1.14.0@0  |  Tracked Since: Dec 26, 2025
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 8,225  |  Forks: 317  |  Language: Rust  |  Category: Networking
Tags: websocket cli networking rust debugging utility
Install: brew install websocat
About:
Websocat is a command-line utility for interacting with WebSocket servers and clients. It functions like 'netcat' or 'curl' for the WebSocket protocol, enabling bidirectional communication for testing, debugging, and automation. Its primary value is providing a simple, scriptable interface to work with real-time web protocols directly from the terminal.
Key Features:
  • Acts as both a WebSocket client and server
  • Supports SSL/TLS for secure connections (wss://)
  • Can pipe data between WebSockets and standard input/output
  • Handles both text and binary WebSocket frames
  • Includes features for connection tunneling and protocol mocking
Use Cases:
  • Testing and debugging WebSocket APIs and services
  • Automating real-time data streams in shell scripts
  • Creating ad-hoc bridges between WebSocket and other network protocols
Alternatives:
  • wscat – Node.js-based alternative; simpler but less feature-rich than websocat
  • curl – General-purpose tool with added WebSocket support in recent versions; less specialized for complex WebSocket interactions
Version History
Detected Version Rev Change Commit
Dec 26, 2025 9:31pm 1.14.0 0 VERSION_BUMP b47a63b3
Nov 12, 2024 4:20pm 0 VERSION_BUMP cdc4fd86