webrtc-remote-control is a set of tools providing a thin abstraction layer above peerjs that will let you be more productive at making WebRTC data channels based apps, with implementations for VanillaJS, React and Vue.
Try the demos
Open a demo on your computer, then scan its QR code with your phone to use it as a remote. Each demo links to its source code.
-
Counter / vanilla
@webrtc-remote-control/coreRemotes increment and decrement a shared counter. No framework.
Open demo → -
Counter / react
@webrtc-remote-control/reactThe same counter, built with the React providers and hooks.
Open demo → -
Counter / vue
@webrtc-remote-control/vueThe same counter, built with the Vue providers and composables.
Open demo → -
Accelerometer 3D
@webrtc-remote-control/reactTilt your phone and watch its 3D model follow on the big screen.
Open demo →
Built with webrtc-remote-control
pingpad
Table tennis in the browser, with your phone as the paddle. Scan the QR code, nothing to install.