rwsdk-realtime

Configure Cloudflare Durable Objects and WebSockets for real-time bidirectional client-server updates.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/kcc989/logoer --skill rwsdk-realtime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rwsdk-realtime
Source: https://github.com/kcc989/logoer/tree/main/.claude/skills/rwsdk-realtime
Command: npx skills add https://github.com/kcc989/logoer --skill rwsdk-realtime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables real-time bidirectional updates between clients and servers using Cloudflare Durable Objects and WebSockets, eliminating the need for polling.

Core Features & Use Cases

  • Real-time bidirectional updates across connected clients
  • Durable Object-backed state management for scalable coordination
  • WebSocket routing and client wiring for low-latency UI updates
  • Scoped update groups using a key to isolate channels (e.g., per doc, room, or user)

Quick Start

Initialize the realtime client, export the Durable Object, wire the WebSocket route, and configure wrangler.jsonc to bind the Durable Object namespace for deployment.

Frequently Asked Questions about rwsdk-realtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add real-time WebSocket updates to a RedwoodSDK app?

To add real-time WebSocket updates to a RedwoodSDK app, you initialize the realtime client, export a Cloudflare Durable Object, and wire the WebSocket route to enable bidirectional server-client communication.

What is the best way to sync UI state across clients without polling?

The best way to sync UI state without polling is using WebSockets backed by Cloudflare Durable Objects, which provides low-latency, bidirectional updates and scalable state coordination for connected clients.

Can I isolate real-time updates per room or document using Cloudflare Durable Objects?

Yes, you can isolate real-time updates per room or document by scoping update groups with a specific key, ensuring that Durable Object state management and WebSocket messages remain contained within isolated channels.

How do I configure wrangler.jsonc for WebSocket routing in RedwoodSDK?

To configure wrangler.jsonc for WebSocket routing, you bind the Durable Object namespace to your deployment configuration, enabling the RedwoodSDK application to route real-time WebSocket traffic to the correct Durable Object instance.

Does RedwoodSDK support collaborative apps and live dashboards over WebSockets?

Yes, RedwoodSDK supports collaborative apps and live dashboards over WebSockets by leveraging Cloudflare Durable Objects for state management, ensuring low-latency, server-synced UI updates across all connected clients.

What are the limitations of using Durable Objects for real-time WebSocket state?

Using Durable Objects for real-time WebSocket state requires proper wrangler.jsonc namespace configuration and manual client initialization, meaning you must manage WebSocket routing and Durable Object exports yourself for deployment.