AnyCable
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 🚀
Requirements
- Ruby >= 2.7
- Redis or NATS (for broadcasting in production, discuss other options with us!)
Usage
Check out our 📑 Documentation.
Links
Talks
-
High-speed cables for Ruby, RubyConf 2018, slides and video (EN)
-
One cable to rule them all, RubyKaigi 2018, slides and video (EN)
Building
Generating gRPC files from .proto
- Install required GRPC gems:
gem install grpc
gem install grpc-tools
- Re-generate GRPC files (if necessary):
make
Contributing
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.
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.