/pgac_demo

Rails 7.1 Action Cable chat room using AnyCable as backend

Primary LanguageRubyThe UnlicenseUnlicense

Action Cable Demo on AnyCable

Install AnyCable & Redis using Homebrew

brew install anycable-go redis

Running

brew services start redis
overmind start -f Procfile.dev

Testing

acli --url=ws://localhost:8080/cable --channel=RoomChannel
\p speak message:from_console_test
^d

Testing in Browser

Visit https://play.anycable.io/ and type wss://pgac.redwoodjs.cn:3334/cable.