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, Durable Objects, and WebSockets.
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, Durable Objects, and WebSockets.
When To Use
Use when you need to implement a real-time communication system using Durable Objects and WebSockets 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-index-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-index-real-time-application-cloudflar.text | The git clone command used to retrieve the source code for the Cloudflare Workers real-time chat application tutorial. | Exact payloads, commands, or snippets shown in The git clone command used to retrieve the source code for the Cloudflare Workers real-time chat application tutorial. |
examples/workers-deploy-a-realtime-chat-app-index-real-time-application-cloudflar-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-index-real-time-application-cloudflar-3.text | The wrangler deploy command used to deploy the real-time chat application to Cloudflare Workers. | Exact payloads, commands, or snippets shown in The wrangler deploy command used to deploy the real-time chat application to Cloudflare Workers. |
examples/workers-deploy-a-realtime-chat-app-index-real-time-application-cloudflar-4.text | A wrangler.toml configuration file defining the environment settings and routes for a real-time chat application on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file defining the environment settings and routes for a real-time chat application on C... |
examples/workers-deploy-a-realtime-chat-app-index-real-time-application-cloudflar-5.text | A configuration snippet defining the routes pattern and zone ID for the real-time chat application deployment. | Exact payloads, commands, or snippets shown in A configuration snippet defining the routes pattern and zone ID for the real-time chat application deployment. |
examples/workers-deploy-a-realtime-chat-app-index-real-time-application-cloudflar-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-index-real-time-application-cloudflar-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-index-real-time-application-cloudflar-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-index-real-time-application-cloudflar-9.text | A configuration snippet defining Durable Object migrations for ChatRoom and RateLimiter classes. | Exact payloads, commands, or snippets shown in A configuration snippet defining Durable Object migrations for ChatRoom and RateLimiter classes. |
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/index.md
