macOS
brew install zyrelocal Homebrew formula metadata
安装
brew install zyrelocal Homebrew formula metadata
概览
Local Area Clustering for Peer-to-Peer Applications
历史
Zyre is a ZeroMQ-family C framework for local-area peer discovery, presence, and reliable group messaging. It lets nearby processes find each other over a LAN, join groups, and exchange messages without a central broker.
The public zeromq/zyre repository was created on 2012-10-17 inside the broader ZeroMQ ecosystem. Its README presents Zyre as local-area clustering for peer-to-peer applications, built around UDP beacons for discovery and ZeroMQ Dealer-Router messaging for reliable peer interconnection.
Zyre is closely tied to ZeroMQ's RFC process. The README points to RFC 36, the ZeroMQ Realtime Exchange protocol, for discovery and heartbeating; that stable RFC defines how peers discover each other, organize into groups, and send events over ZMTP.
The project inherited common ZeroMQ community practices: MPL 2.0 source, C4-style contribution process, CLASS C style guidance, generated API documentation, self-tests, and example tools such as zpinger for seeing peers on a local network.
Zyre adoption sits in the ZeroMQ niche rather than in general application networking. The README lists use cases such as local service discovery, clustering services on the same Ethernet network, smart-device control, and multi-user mobile applications, which are exactly the places where brokerless local discovery is useful.
The ZeroMQ Guide's distributed-computing chapter frames discovery, presence, and connectivity as recurring problems for room-scale, WiFi, and proximity networks. Zyre packages one opinionated answer to that problem for C and ZeroMQ users, so its significance is strongest for developers already comfortable with ZeroMQ patterns.
A Zyre application creates a node, starts it, receives event messages, joins or leaves named groups, whispers to individual peers, and shouts to groups. The README describes incoming events as zmsg_t messages delivered by zyre_recv, with the first frame identifying event type.
The bundled zpinger utility is the package's practical command-line face: running it on two or more machines is the README's smoke test for local discovery. Library users build the same primitives into local clusters, device-control networks, and peer-aware services.
Zyre is package-nerd significant because it is a small leaf in a layered messaging stack: libsodium, libzmq, czmq, then Zyre. Packaging it preserves a higher-level ZeroMQ pattern that would otherwise be reimplemented badly in each local-discovery application.
It is also a good example of protocol-backed packaging. The library is not just helper code; it is an implementation of a published ZeroMQ RFC, which gives downstreams a stable conceptual contract even if their only visible executable is zpinger.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
zpinger | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/zeromq/zyre
安装元数据
| 软件包键 | brew:zyre |
|---|---|
| 版本 | 2.0.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/zyre |
| 主页 | https://github.com/zeromq/zyre |
| 仓库 | https://github.com/zeromq/zyre |
| 上游文档 | https://github.com/zeromq/zyre#readme |
| 许可证 | MPL-2.0 |
| 源码归档 | https://github.com/zeromq/zyre/releases/download/v2.0.1/zyre-2.0.1.tar.gz |
| 最后更新 | 2026-06-19T12:33:05-07:00 |
| Pulse | updated |
| 依赖 | czmq, zeromq |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zyre |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.