Netcat, curl and socat for WebSockets. Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions. Connecting to and serving WebSockets from the command line. Executing external program and making it communicate to WebSocket using stdin/stdout. Text and binary modes, converting between lines (or null-terminated records) and messages. Inetd mode, UNIX sockets (including abstract namespaced on Linux). Integration with Nginx using TCP or UNIX sockets. Directly using unauthenticated SOCKS5 servers for connecting to WebSockets and listening WebSocket connections. Auto-reconnect and connection-reuse modes. Linux, Windows, and Mac support, with pre-built executables. Low-level WebSocket clients and servers with an overridable underlying transport connection, e.g. calling an external program to serve as a transport for websocat (for SSL, proxying, etc.).

Features

  • Open a tab in Chromium using remote debugging
  • Proxy TCP connections to WebSocket connections and back
  • Broadcast all messages between connected WebSocket clients
  • There are multiple options for installing WebSocat
  • Pre-built binaries for Linux (usual and musl), Windows, OS X and Android are available on the releases page
  • IPv6 is supported, surround your IP in square brackets or use it as is, depending on context

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow websocat

websocat Web Site

Other Useful Business Software
Simple, Secure Domain Registration Icon
Simple, Secure Domain Registration

Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
Sign up for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of websocat!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Terminals, Rust WebSocket Servers

Registered

2022-05-16