AnyCable allows you to use any WebSocket server (written in any language) as a replacement for your Ruby server (such as Faye, ActionCable, etc).
AnyCable uses ActionCable protocol, so you can use ActionCable JavaScript client without any monkey-patching.
- Ruby >= 2.4; NOTE: Ruby 2.6 requires additional installations steps unless
grpc
/protobufs
libs with pre-built binaries haven't been released (see #71) - Redis (for brodcasting, 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.