RCWeb Apps are mini-applications that are run within the RCWeb ecosystem. They function by connecting and controlling web pages through the real-time sharing of JavaScript between web browsers.
Most apps in this ecosystem are AI Generated and implemented without modifying any server-side code. Since all logic lives on the client-side, incorporating a new app is as easy as serving static web files.
RCWeb apps are versatile and utilize different communication patterns depending on the desired functionality.
One web browser controls or streams to a remote web browser.
/v/, /c/): Send colors, images, videos, websites, and custom JavaScript instantly from a smartphone to a large display./camera-control/ and /screen-control/ provide peer-to-peer WebRTC streaming directly from one broadcaster device to any viewers within the room./graffiti/ to collaboratively paint on a shared screen using mobile devices as "spray cans," or use /3dviewer/ to remotely inspect and rotate high-fidelity 3D models using mobile gyroscope sensors.Multiple users share state, forming a real-time decentralized application.
/chat/) or full multi-user audio and video WebRTC mesh networking (/chat-rtc/)./notepad/, /notepad-pro/) featuring real-time presence and Operational Transformation (OT) mechanics./gallery/) or large multi-gigabyte files (/files-pro/) without relying on any central server databases./whiteboard/), or produce music together on a shared 16-step sequencer (/drums/).An excellent foundation for local multiplayer games driven by the shared-screen Asymmetric Pattern. Players drop in seamlessly by scanning a QR code with their mobile device to launch a dedicated smart-controller.
/bomberman/, /tankwar/, /pacman/): Dynamic engines where users navigate procedural labyrinths, plant bombs, and wage intense geometric combat./tetris/, /snake-pro/, /flappy/): Scaled-up multiplayer environments where dozens of users control their own snake, or play competitive puzzle matches using dedicated touch-button remotes./spacewar/, /spacewar2d/, /spacewar3d/): Demonstrating extreme system flexibility by showing a rudimentary DOM-based app evolving all the way into a fully hardware-accelerated 3D wave defense game using Three.js./flight/, /racer/, /tilt-maze/): Advanced physics implementations where smartphones become analog steering wheels, tilt accelerators, or 6-axis flight yokes.A fundamental concept of the RCWeb architecture is the Virtual Room. Rather than each browser maintaining an isolated session with the server, browsers connect to a shared Room via a unique ID in their URL.
The server acts purely as a proxy for data. When an event occurs in one browser, it sends a WebSocket message containing executable JavaScript. The Java backend catches this and broadcasts it into the command queues of other clients in the same room. The receiving browsers execute the code immediately, allowing for real-time replication of user interfaces and state.
This design pattern presents the perfect sandbox for testing untrusted LLM-generated code due to several structural advantages: