Instantly Host Three.js Scene from Cursor Glass for Share Preview with Client

The fastest way to deploy Three.js Scene generated by Cursor Glass. Perfect for share preview with client. No login required, zero-friction, and live in seconds on drpr.host.

When you're leveraging Cursor Glass to rapidly prototype and generate Three.js Scenes, the immediate next step is often to share a live preview with a client or stakeholder. The friction here can derail your agile workflow: copying generated code, manually spinning up a local server, wrestling with temporary deployments, or fumbling with email attachments are all time sinks that pull you away from development.

drpr.host is engineered to eliminate this specific bottleneck. It provides a zero-friction path from your Cursor Glass output to a live, shareable URL. Without requiring any accounts, logins, or complex configurations, you can instantly deploy your Three.js Scene, making client previews effortless and keeping your development cycle swift and focused.

How to host your Three.js Scene from Cursor Glass in seconds

  1. Step 1: Generate Your Scene: Use Cursor Glass to create your Three.js Scene. Ensure the output is a self-contained HTML file (e.g., output.html) or a directory containing all necessary assets.
  2. Step 2: Prepare for Upload: If Cursor Glass outputs a single HTML file, locate it. If it generates multiple files (HTML, JS, CSS, textures), compress the entire project directory into a .zip file.
  3. Step 3: Upload to drpr.host: Utilize a simple curl command or the drpr CLI to upload your prepared file or zip archive directly to drpr.host's API endpoint.
  4. Step 4: Share the Live URL: Instantly receive a unique, live URL for your Three.js Scene. This link is ready to be shared with your client for immediate preview and feedback.
  5. Step 5: Iterate and Update: Incorporate client feedback, make adjustments in Cursor Glass, and re-upload to drpr.host. Each upload provides a fresh, live preview link, streamlining your iteration process.

Quick start

Upload your Cursor Glass-generated Three.js Scene (e.g., output.html) directly from your terminal:

curl -F "file=@output.html" https://drpr.host/api/v1/upload

Example JSON response:

{
  "message": "File uploaded successfully",
  "filename": "output.html",
  "url": "https://drpr.site/aBcDeFgHiJkL/output.html",
  "expires": "2023-11-20T14:30:00Z"
}

Alternatively, if you have the drpr CLI installed:

drpr upload output.html

Common questions

Can I upload a multi-file Three.js Scene generated by Cursor Glass?
Yes, if your Cursor Glass output includes multiple files (HTML, JS, CSS, textures), simply zip the entire project directory. drpr.host will unpack and serve them correctly, providing a single live URL for your client preview.
Is an account required to host my Cursor Glass Three.js Scene for a client preview?
No, drpr.host offers zero-friction uploads without requiring an account or login. You can directly upload your file via curl or the drpr CLI and receive an instant, shareable URL for immediate use.
How long will my Cursor Glass Three.js Scene preview link remain active?
On the free tier, your uploaded Three.js Scene will remain live and accessible for 15 days. For permanent hosting and advanced features, consider upgrading to a paid drpr.host plan.
What are the file size limitations for hosting a Three.js Scene for client previews?
The free tier supports uploads up to 5 MB, which is ample for most simple Cursor Glass-generated Three.js Scenes and their assets. Paid plans offer significantly higher limits for more complex projects requiring extensive assets or larger libraries.

Deploy your Cursor Glass Three.js Scene now

Sign in with Google and gatedpage auto-creates yourcompany.gated.page — private to your @company.com team.

Get started with Google