macOS
brew install anycable-golocal Homebrew formula metadata
安装
brew install anycable-golocal Homebrew formula metadata
概览
WebSocket server with action cable protocol
历史
AnyCable-Go is the Go realtime server component of AnyCable, a framework for replacing or extending Ruby on Rails Action Cable with a separate WebSocket service. In package-manager terms, it is the installable server binary that turns AnyCable from a Ruby gem into a deployable realtime system.
The AnyCable README says the project lets applications use any WebSocket server as a replacement for a Ruby server such as Action Cable, while keeping the same Action Cable protocol and JavaScript client compatibility. The current docs broaden the positioning: AnyCable is a realtime server with delivery guarantees for Rails, Laravel, Node.js, Python, and any backend that can speak HTTP.
The Go server grew alongside the Ruby/Rails integration. Official docs describe two operating modes: RPC-backed mode, where the server delegates connection and subscription logic to an application, and standalone pub/sub mode, where signed streams and JWT-style authentication allow use without a full Action Cable backend.
AnyCable's adoption story started in the Rails world, where it offered a path away from running large numbers of persistent WebSocket connections inside Ruby application processes. The official README links talks from RailsClub Moscow 2016, RubyConfMY 2017, RubyKaigi 2018, Wroc_Love.rb 2018, and RubyConf 2018, plus an Evil Martians post marking AnyCable 1.0 after four years of real-time web with Ruby and Go.
The docs now present AnyCable beyond Rails: Laravel, Node.js serverless, Python and generic HTTP backends, Hotwire, SSE, long polling, Pusher protocol, GraphQL, and server-side reliable streams. That wider docs surface explains why anycable-go is packaged as a standalone Homebrew formula rather than only as a Ruby gem transitive artifact.
Operators run anycable-go as a WebSocket/realtime server and configure it with environment variables, CLI flags, or, since v1.5.4, a TOML config file. Official docs say it looks for ./anycable.toml and /etc/anycable/anycable.toml by default, and also accepts --config-path.
For Rails, a typical deployment pairs anycable-go with anycable or anycable-rails in the application, a broadcast adapter such as Redis, NATS, or HTTP, and a WebSocket URL pointed at the AnyCable server. For non-Rails usage, users can run standalone signed streams, MySQL-like clients are irrelevant, and the operational focus becomes pub/sub, delivery guarantees, and connection draining.
AnyCable-Go matters because it is a case study in splitting a framework feature into a polyglot service. Homebrew installs a Go binary, RubyGems installs the Rails-side pieces, npm may install client packages, and deployment docs bridge all of them.
The project also shows how a package can be a protocol implementation rather than just an app. Its significance is tied to Action Cable compatibility, the extended Action Cable protocol, reliable streams, and the ability to operate realtime traffic with Go's runtime characteristics while keeping Rails channel code.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./anycable.toml/etc/anycable/anycable.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
anycable-go | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/anycable/anycable
安装元数据
| 软件包键 | brew:anycable-go |
|---|---|
| 版本 | 1.6.15 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/anycable-go |
| 主页 | https://anycable.io |
| 仓库 | https://github.com/anycable/anycable |
| 上游文档 | https://docs.anycable.io/anycable-go/configuration |
| 许可证 | MIT |
| 源码归档 | https://github.com/anycable/anycable/archive/refs/tags/v1.6.15.tar.gz |
| 最后更新 | 2026-06-29T20:47:05Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | anycable-go |
| 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.