0.21
A long-lived project that still receives updates
AnyCable integration for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 1.0
~> 1.1
>= 1.10
~> 13.0
>= 4.0.0
>= 0
~> 0.3.0
>= 6.0

Runtime

 Project Readme

Gem Version Build Documentation

AnyCable SDK for Ruby on Rails

AnyCable is an open-source language-agnostic realtime server for reliable two-way communication over WebSockets and SSE. This repository contains code for AnyCable Rails SKD that allows you to use AnyCable as a drop-in replacement for Action Cable.

๐ŸŒ Website ยท ๐Ÿ“š Documentation ยท ๐Ÿ’พ Example Rails Application

Quick Start

Add anycable-rails gem to your Gemfile:

gem "anycable-rails"

Then run our interactive setup command:

bundle exec rails g anycable:setup

Learn more here.

Agent skills

The gem ships a skill for coding agents in skills/anycable-rails. The skill helps agents install and configure AnyCable, troubleshoot connections and broadcasts, and build real-time features. It follows the skills.sh layout, so it works with any agent that reads SKILL.md.

With Rails Hyperdrive, the skill installs automatically: run bin/rails hyperdrive:init the first time, then bundle install or bin/rails hyperdrive:sync puts it into .claude/skills/anycable-rails.

Without Rails Hyperdrive, install it from the repository with the skills.sh CLI, or copy skills/anycable-rails into your agent's skills directory:

npx skills add anycable/anycable-rails

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anycable-rails.

License

The gem is available as open source under the terms of the MIT License.

Security Contact

To report a security vulnerability, please contact us at anycable@evilmartians.com. We will coordinate the fix and disclosure.