cloudflare · Cloudflare Workers Docs
Workers Deploy a real-time chat application
A step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers, WebSockets, and Durable Objects for state management and message broadcasting.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Deploy a real-time chat application
A step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers, WebSockets, and Durable Objects for state management and message broadcasting.
When To Use
Use when you need to implement a real-time communication system using WebSockets and Durable Objects on Cloudflare Workers.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-deploy-a-realtime-chat-app-real-time-application-workflow-guide.md | A step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers and Durable Objects. | Questions about a step-by-step tutorial for deploying a serverless real-time chat application using Cloudflare Workers and Durable Ob... |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work.text | The git clone command used to retrieve the repository for the Cloudflare Workers real-time chat application tutorial. | Exact payloads, commands, or snippets shown in The git clone command used to retrieve the repository for the Cloudflare Workers real-time chat application tutorial. |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-2.text | A sequence of terminal commands and instructions for deploying a real-time chat application using Cloudflare Workers. | Exact payloads, commands, or snippets shown in A sequence of terminal commands and instructions for deploying a real-time chat application using Cloudflare Workers. |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-3.text | The terminal command used to deploy the real-time chat application using Wrangler. | Exact payloads, commands, or snippets shown in The terminal command used to deploy the real-time chat application using Wrangler. |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-4.text | A wrangler.toml configuration file defining the routes and environment settings for a real-time chat application deployment. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining the routes and environment settings for a real-time chat application depl... |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-5.text | A configuration snippet defining the routes pattern and zone ID for deploying a real-time chat application on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A configuration snippet defining the routes pattern and zone ID for deploying a real-time chat application on Cloudfl... |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-6.text | A wrangler.toml configuration file defining the routes and environment settings for a real-time chat application deployment. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining the routes and environment settings for a real-time chat application depl... |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-7.text | A configuration snippet defining the routes and custom domain settings for a real-time chat application deployment. | Exact payloads, commands, or snippets shown in A configuration snippet defining the routes and custom domain settings for a real-time chat application deployment. |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-8.text | A wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application. |
examples/workers-deploy-a-realtime-chat-app-real-time-application-cloudflare-work-9.text | A wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining Durable Object bindings and migrations for a real-time chat application. |
What This Skill Covers
- In this tutorial, you will deploy a serverless, real-time chat application that runs using Durable Objects.
- Main sections:
Tags,Before you start,Clone the chat application repository,Authenticate Wrangler,Deploy your project.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/tutorials/deploy-a-realtime-chat-app
