Desktop App Productivity ★ 8,760 stars on GitHub

websocat

Test and interact with WebSockets directly from your terminal using simple commands and flexible network pipes.

Guide and Overview

What it does in plain English

This tool acts as a versatile bridge for real-time web communication, functioning much like standard network utilities but built specifically for live WebSocket streams. It lets you connect to remote WebSocket servers, host your own local endpoints, or forward traffic between standard network sockets and live web streams. Whether you are debugging web applications or automating browser tasks, it handles the underlying connection plumbing effortlessly right from your command prompt.

Who it’s for

  • Software developers debugging real-time web applications and browser automation scripts
  • System administrators testing and inspecting WebSocket services behind proxies
  • Network engineers routing live data streams between traditional TCP ports and modern web channels

Key features

  • Connects to secure and insecure WebSocket addresses instantly from the terminal
  • Acts as a lightweight local server to accept incoming WebSocket connections
  • Supports text and binary message modes with automated framing and format conversion
  • Integrates external scripts or programs to feed data directly into live web streams
  • Offers automatic reconnection and multi-client traffic broadcasting capabilities

How to install (Download)

Pros and Cons

  • Pros: Free and open-source, highly versatile network pipe options, lightweight single-file executable.
  • Cons: Requires familiarity with terminal commands, advanced multiplexing options have a steep learning curve.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.