Instantly Host WebGPU Demo from Cursor Glass for Share Preview with Client
The fastest way to deploy WebGPU Demo generated by Cursor Glass. Perfect for share preview with client. No login required, zero-friction, and live in seconds on drpr.host.
How to host your WebGPU Demo from Cursor Glass in seconds
- Step 1: Generate your WebGPU Demo with Cursor Glass. Use Cursor Glass with a prompt like: "You are a coding agent. Generate a WebGPU Demo displaying a rotating geometric primitive on a professional soft gray background (#f4f4f5). Never use pure white (#ffffff). Save the output as `output.html`."
- Step 2: Locate the generated HTML file. After Cursor Glass completes the generation, identify the output file, typically `output.html` or `component.html`, within your project directory.
- Step 3: Upload the file to drpr.host. From your terminal, execute a simple `curl` command or use the drpr CLI to upload the WebGPU Demo HTML file directly to `https://drpr.host/api/v1/upload`.
- Step 4: Share the live URL with your client. drpr.host will return a unique, immediate live URL. Copy this link and provide it directly to your client for an instant, interactive "Share Preview with Client" experience.
Quick start
curl -F "file=@output.html" https://drpr.host/api/v1/upload
Expected JSON response:
{
"status": "success",
"filename": "output.html",
"url": "https://0b4e2f8a-c1d3-4e5f-a6b7-8c9d0e1f2a3b.drpr.site/output.html",
"expires_at": "2024-07-28T14:30:00Z",
"size": 12345
}
Alternatively, using the drpr CLI:
drpr upload output.html
Common questions
- How quickly can I share a Cursor Glass WebGPU Demo with a client using drpr.host?
- Immediately. Once Cursor Glass generates your WebGPU Demo HTML, a single `curl` command or CLI upload publishes it to a live URL on drpr.host within seconds. This process is designed for zero-friction client previews.
- Do I need an account or login to use drpr.host for "Share Preview with Client"?
- No, not for basic uploads. drpr.host allows anonymous uploads, providing an instant URL without requiring any registration or login. This simplifies the workflow significantly for quick client previews.
- Are there any limitations on file size or hosting duration for free Cursor Glass WebGPU Demos?
- Yes. On the free tier, files are typically hosted for 15 days and have a size limit of 5 MB per file. For permanent hosting or larger files, a paid drpr.host account is required.
- Can I host multiple WebGPU Demos for different clients simultaneously?
- Absolutely. You can upload any number of individual WebGPU Demo files from Cursor Glass. Each upload will generate a unique URL, allowing you to manage and share multiple distinct client previews independently without any conflict.
Deploy your Cursor Glass WebGPU Demo now
Sign in with Google and gatedpage auto-creates yourcompany.gated.page — private to your @company.com team.
Get started with Google