百科.dev
全部条目趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

websocketd

> 编程语言
开源

将任何使用 STDIN/STDOUT 的程序转换为 WebSocket 服务器 。 就像输入,但为WebSockets.

17.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

将任何使用 STDIN/STDOUT 的程序转换为 WebSocket 服务器 。 就像输入,但为WebSockets.

websocketd QQ Websocketd是一个小型命令行工具,可以包接现有的命令行界面程序,并允许通过WebSocket访问. WebSocket 有能力的应用程序现在可以非常容易地被构建. 只要您能够写出一个可执行的程序,读取 STDIN 并写入 STDOUT,您就可以构建一个 WebSocket 服务器. 在Python,Ruby,Perl,Bash,.NET,C,Go,PHP,Java,克洛朱尔,斯卡拉,格鲁维,期待,Awk,VBScript,PowerShell,Haskell,Lua,R,随便什么! 不需要联网图书馆。 - @joewalnes 细节 -- 启动时,websocketd将在指定的端口上启动一个WebSocket服务器,并听取连接. 在连接后,它会叉开适当的进程,当WebSocket连接关闭(反之亦然)时会断开进程. 从 WebSocket 客户端发送的任何消息都会被管道到进程的 STDIN 流,然后是..

核心特点

  • •As well as serving websocket daemons it also includes a static file server and classic CGI server for convenience.
  • •STDERR can optionally be forwarded to WebSocket clients (--passstderr), tagged alongside STDOUT as JSON so a client can tell the two apart.
  • •Command line help available via websocketd --help.
  • •Examples in many programming languages are available to help you getting started.
  • •Plot real time Linux CPU/IO/Mem stats to a HTML5 dashboard using websocketd and vmstat _(for Linux)_
  • •Arbitrary REPL in the browser using websocketd
  • •Retrieve SQL data from server with LiveCode and webSocketd
  • •List files from a configured folder _(for Linux)_
  • •Listen for gamepad events and report them to the system _(this + android = gamepad emulator)_
  • •ReconnectingWebSocket - Simplest way to add some robustness to your WebSocket connections.

> 标签

Goproxywebsocket-serverwebsockets

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言
百科.dev

开发者百科,帮助你快速发现语言、框架、数据库、DevOps 与云原生等优质开发者工具。

快捷入口

  • 首页
  • 全部条目
  • 趋势榜
  • 开源项目

关于我们

  • 关于我们
  • 社区公约
  • 技术资讯

参与我们

发现好用的开发者工具?欢迎提交分享。

提交条目
© 2026 开发者百科 baike.dev数据每日更新 · 发现优质开发者工具