Repository navigation
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Live Cloudflare deployment needs human verification of sandboxed Chrome startup, authenticated viewer/WebSocket/API/MCP continuity, and ten-minute idle shutdown, which local Wrangler checks and a deployment dry run cannot establish.
No open issues 🎉
What changed in this PR
Adds a standalone, copyable Ozwell Computer trial that uses Wrangler directly to run an XFCE desktop and visible Chrome window on Cloudflare, with browser, API, and MCP access to the same session.
Changes:
- Adds token-protected Worker routing to one named Durable Object and container.
- Builds a desktop image with Chrome’s sandbox enabled and starts the X11 desktop services.
- Documents setup, verification, the ten-minute inactivity timeout, temporary session state, and cleanup.
The guide records successful local checks; deployment to a paid Cloudflare account remains unverified.
| File | Description |
|---|---|
test Cloudflare.md |
Step-by-step trial, verification, lifecycle, and cleanup guide. |
examples/ozwell-cloudflare/wrangler.jsonc |
Configures the Worker, container image, Durable Object, and required secret. |
examples/ozwell-cloudflare/worker.js |
Handles authentication, container readiness, inactivity timeout, and request forwarding. |
examples/ozwell-cloudflare/Dockerfile |
Extends Ozwell with Chrome and the X11 desktop runtime. |
examples/ozwell-cloudflare/desktop.sh |
Starts XFCE, Chrome, and Ozwell as the desktop user. |
examples/ozwell-cloudflare/.gitignore |
Excludes local secrets and Wrangler state from Git. |
examples/ozwell-cloudflare/.dockerignore |
Restricts the build context to the Dockerfile and startup script. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28.
What this adds
A developer can launch a single Ozwell Computer on Cloudflare, use its XFCE desktop in a browser, and give an MCP client access to the same Chrome window. The standalone example uses Wrangler directly and can be copied out of this repository. Step-by-step trial guide
Verification
Remaining live check
A deployment to a paid Cloudflare account is still unverified. Steps 3–5 cover uploading the image, opening the workers.dev viewer, confirming that the agent sees the same window, and deleting the trial.