websockify
Websockify.
Decision gist · record as of 2026-08-14
Yes. Websockify is a mature, actively maintained tool with no known vulnerabilities, low install friction, and a clear use case for bridging WebSocket clients to TCP services. The LGPLv3 copyleft license is standard for this class of infrastructure software. Install it if you need to expose TCP services to web clients; skip it if you have no WebSocket-to-TCP bridging requirement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure Python wheel distribution.
- Actively maintained with recent commits and a stable release history since 2013.
- Four runtime dependencies (numpy, requests, jwcrypto, redis) are standard libraries with broad availability.
License · maintenance · safety
LGPLv3 (copyleft) — Licensed under LGPLv3 (copyleft). Derivative works and modifications must be distributed under compatible terms; static linking or proprietary wrapping requires legal review.
last release 2025-05-26 (445 days) · last repo commit 2026-05-24 · 4,433 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 387,066 downloads/mo, #7,046 on PyPI
Alternatives
Verify before relying
pip install websockify
from websockify import server
server.WebSocketProxy(listen_host='0.0.0.0', target_host='localhost').start()- Whether numpy is truly optional or required for production use despite being listed as install_requires.
- Performance characteristics and throughput limits under typical proxy loads.
- Compatibility guarantees for the four runtime dependencies (numpy, requests, jwcrypto, redis) across their version ranges.
- Specific port configuration requirements and defaults for WebSocket listener and target connections.
What it is and what it does
Websockify is a WebSocket-to-TCP proxy that accepts WebSocket connections and forwards traffic bidirectionally to a target TCP server. Originally part of the noVNC project, it translates the WebSocket handshake and protocol into standard socket communication, allowing web browsers and WebSocket clients to reach any TCP-based service without native WebSocket support. It supports both plain ws:// and encrypted wss:// connections, with automatic SSL detection.
The package includes optional features for authentication via pluggable auth modules, token-based routing to multiple targets, session recording, daemonization, and wrapping local programs via LD_PRELOAD to intercept their TCP bindings. It can serve static web content on the same port and integrates with redis and jwcrypto for advanced deployments. Typical use cases include exposing remote services to web browsers, enabling browser-based access to legacy TCP services, and bridging web applications to infrastructure that lacks native WebSocket support.
Use it for
- Proxy remote services to web browsers for integrated remote access applications.
- Enable browser-based clients to reach legacy TCP services without native WebSocket support.
- Route multiple TCP services through a single WebSocket endpoint using token-based target selection.
- Record and replay WebSocket traffic for debugging or compliance auditing with session recording.
- Serve web UI and WebSocket proxy on the same port for unified remote access deployments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Websockify is a mature, actively maintained tool with no known vulnerabilities, low install friction, and a clear use case for bridging WebSocket clients to TCP services. The LGPLv3 copyleft license is standard for this class of infrastructure software. Install it if you need to expose TCP services to web clients; skip it if you have no WebSocket-to-TCP bridging requirement.
Install
websockify on PyPI
Before you install
Low install friction with a pure Python wheel distribution. Actively maintained with recent commits and a stable release history since 2013. Four runtime dependencies (numpy, requests, jwcrypto, redis) are standard libraries with broad availability.
License in practice
Licensed under LGPLv3 (copyleft). Derivative works and modifications must be distributed under compatible terms; static linking or proprietary wrapping requires legal review.
Quickstart
pip install websockify
from websockify import server
server.WebSocketProxy(listen_host='0.0.0.0', target_host='localhost').start()
Verify before relying
- Whether numpy is truly optional or required for production use despite being listed as install_requires.
- Performance characteristics and throughput limits under typical proxy loads.
- Compatibility guarantees for the four runtime dependencies (numpy, requests, jwcrypto, redis) across their version ranges.
- Specific port configuration requirements and defaults for WebSocket listener and target connections.
Package facts
| License | LGPLv3 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesnumpyrequestsjwcryptoredis |
| Maintenance | Actively maintained 445 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 387,066 / month, #7,046 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: websockify-0.13.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “websocket to tcp proxy”
- websockifyTranslates WebSocket connections to normal TCP socket traffic,…
- daphneDaphne is an ASGI server that handles HTTP, HTTP/2, and WebSocket…
- websockets-proxyEnables WebSocket connections through HTTP and SOCKS proxies by…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also lomond · websockets-proxy · mitmproxy · hass-web-proxy-lib · portend · websockets · pproxy · SocketSwap · httpx-ws · signalrcore