Teaching the Web new TricksWe are pretty happy to share what we've been working on with Beaver to expand the Web: transparent distributed Web apps!
The Web has some messaging primitives, such as the BroadcastChannel and Message Ports. If we focus on BroacastChannel, we find that it's a simple to use gossip messaging API that will ensure that all the browsing context from a given origin can communicate. The app developer doesn't have to deal with access control, it's all managed by the web runtime.
In a regular browser, you can use BroadcastChannel between multiple tabs, in the same chrome window or not. Pretty cool, but also quite limited in today's world where most people use their browser on multiple devices. So... can we extend that capability to be distributed on multiple devices? This is exactly what we did! This relies on a few building blocks:
That let web apps that use BroadcastChannel work on multiple devices, without any new API to learn for app developers! This expands naturally from multiple tabs, multiple windows to multiple devices... pretty neat, right?
Since Beaver's UI is also a Web app, we can use that new capability in Beaver itself! That's what we did with a simple use case first: we added a context menu entry that offers to open the current page on a remote paired device.
Check the video below for a quick demonstration with 2 peers:
Updated Mar 16 2026