cf-socka-realtime
CommunityRealtime WebSockets for Durable Objects
Authorfirtoz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Socka + Durable Object WebSockets—defineSocka, SockaWebSocketDO, useSockaSession, SSR-safe ws URLs, web worker forwarding, live-draft vs commit, canvas/whiteboard acceptance, and pre-merge checks. Use for realtime features, /api/ws, or @firtoz/socka.
Core Features & Use Cases
- Define Socka contract (defineSocka) and its usage across the repo.
- Durable Object extension SockaWebSocketDO to manage WebSocket DO wiring.
- Web worker: upgrade path from client to DO websocket.
- Client-side useSockaSession and URL integration for current host.
- Route-safe wss / ws URL builder and SSR-safe URL handling.
Quick Start
Follow the Socka + DO pattern in this skill to wire a WebSocket endpoint and session management for a real-time collaboration feature.
Dependency Matrix
Required Modules
None requiredComponents
Standard packageđź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cf-socka-realtime Download link: https://github.com/firtoz/cf-multiworker-starter-kit/archive/main.zip#cf-socka-realtime Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.