Automic VaultAutomic Vault

brew

使用 Homebrew 安装 anycable-go

查看 anycable-go 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install anycable-go

local Homebrew formula metadata

概览

软件包摘要

WebSocket server with action cable protocol

命令和别名

  • anycable-go

历史

项目历史与用法

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.

时间线

  • 2016: Official README links a RailsClub Moscow talk about AnyCable.
  • 2018: Official README links RubyKaigi, Wroc_Love.rb, and RubyConf talks focused on high-speed cables and Ruby/Go realtime architecture.
  • 2020: Official README links AnyCable 1.0 coverage after four years of real-time web with Ruby and Go.
  • 2024: Official docs note TOML configuration support in anycable-go since v1.5.4.
  • 2026: The official release feed shows v1.6.15 with maintenance fixes and Go toolchain updates.

Related projects

  • Action Cable is the Rails WebSocket framework whose protocol AnyCable supports.
  • anycable and anycable-rails are the Ruby-side integration packages.
  • anycable-client is the JavaScript client SDK linked from the official docs.
  • Lite Cable is mentioned by the docs for non-Rails Ruby application logic.

来源

  • Official AnyCable README, docs markdown bundle, configuration docs, release feed, and source_facts.description.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./anycable.toml/etc/anycable/anycable.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
anycable-gocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.6.15
管理器更新时间2026-06-29
本地数据OK
上游当前
检测到的最新版本v1.6.15

https://github.com/anycable/anycable

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameanycable-go
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment