AnyCable allows you to use any WebSocket server (written in any language) as a replacement for your Ruby server (such as Faye, Action Cable, etc).
AnyCable uses the same protocol as ActionCable, so you can use its JavaScript client without any monkey-patching.
AnyCable Pro has been launched 🚀
- Ruby >= 2.7
- Redis or NATS (for broadcasting in production, discuss other options with us!)
Check out our 📑 Documentation.
-
High-speed cables for Ruby, RubyConf 2018, slides and video (EN)
-
One cable to rule them all, RubyKaigi 2018, slides and video (EN)
- Install required GRPC gems:
gem install grpc
gem install grpc-tools
- Re-generate GRPC files (if necessary):
make
Bug reports and pull requests are welcome on GitHub at https://github.com/anycable/anycable.
Please, provide reproduction script (using this template) when submitting bugs if possible.
The gem is available as open source under the terms of the MIT License.
To report a security vulnerability, please contact us at [email protected]
. We will coordinate the fix and disclosure.