Message-bus 在 Discourse 聊天中重复复制标头

I wonder how this user was able to make it possible.

He publish a youtube video here showing his progress in multiple devices.

There should be a way to user the message_bus gem from outside the discourse site.

Thanks a lot if you can juste guide me a little bit more, or give some idea