{"schemaVersion":1,"id":"anycable","name":"AnyCable","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/anycable/","officialUrl":"https://anycable.io/","isCatalog":false,"description":"Realtime infrastructure compatible with Action Cable: a separate WebSocket server reduces the load on a Ruby app, while the client and backend communicate through RPC.","tasks":["Add realtime features to a Rails app","Connect two clients and send a message through an Action Cable channel"],"categoryIds":["backend"],"subcategoryIds":["backend.realtime"],"tags":["AnyCable","Realtime and notifications"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"The open source component used locally or self-hosted for the stated workflow, within its license terms.","paidUsage":"Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.","license":"Ruby gem: MIT; the server implementation, Pro, and managed service licenses are reviewed separately.","selectionGuide":{"purpose":"Add realtime features to a Rails app","chooseWhen":["Add realtime features to a Rails app","Connect two clients and send a message through an Action Cable channel"],"considerInstead":[],"requirements":["A Ruby application and separate WebSocket server; a production configuration with Redis or NATS according to the chosen architecture."],"limitations":["Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.","Terms of use: Ruby gem: MIT; the server implementation, Pro, and managed service licenses are reviewed separately."],"faq":[{"question":"What can you use for free in AnyCable?","answer":"The openly available portion, used locally or self-hosted for the stated use case within its license terms."},{"question":"What additional costs might arise with AnyCable?","answer":"Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected."},{"question":"What terms of use matter for AnyCable?","answer":"Ruby gem: MIT; the server implementation, Pro, and managed service licenses are reviewed separately."},{"question":"How do you get started with AnyCable?","answer":"Set up AnyCable to test: A test Rails project, channel, and server configuration. Connect two clients and send a message through an Action Cable channel. Integrate the checked version into your project; document its configuration, limitations, and recovery method."},{"question":"Do I need to rewrite the Action Cable client immediately?","answer":"The README states Action Cable protocol compatibility and use of the existing JavaScript client. The WebSocket server is separate from the Ruby application; the production guide specifies Redis or NATS. Each application still needs connection and channel authorization checks."}],"related":[],"sources":["https://anycable.io/","https://raw.githubusercontent.com/anycable/anycable/master/README.md","https://github.com/anycable/anycable"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Add realtime features to a Rails app","inputs":["A test Rails project, channel, and server configuration.","A test project and completion criteria for the task: Add realtime features to a Rails app."],"steps":["Set up AnyCable to test: A test Rails project, channel, and server configuration.","Connect two clients and send a message through an Action Cable channel.","Integrate the checked version into your project; document its configuration, limitations, and recovery method."],"checks":["Channel authorization, reconnection, and messaging between clients work consistently.","Check the result against a reference example; separately confirm the terms of any assets and external services used."]},"sources":["https://anycable.io/","https://raw.githubusercontent.com/anycable/anycable/master/README.md","https://github.com/anycable/anycable"],"checkedAt":"2026-10-06","reviewScope":"Purpose and published conditions were reviewed against primary sources on 06.10.2026. The software was not installed, and quality and performance in a specific environment were not tested.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Realtime and notifications","kind":"tool","pricingNote":"Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.","notes":null,"labeledSources":[{"url":"https://anycable.io/","label":"Official website"},{"url":"https://raw.githubusercontent.com/anycable/anycable/master/README.md","label":"Project documentation"},{"url":"https://github.com/anycable/anycable","label":"Current product terms"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}