Instantly Host Three.js Scene from Cursor Glass for Agentic Workflow Preview
The fastest way to deploy Three.js Scene generated by Cursor Glass. Perfect for agentic workflow preview. No login required, zero-friction, and live in seconds on drpr.host.
How to host your Three.js Scene from Cursor Glass in seconds
- Step 1: Instruct Cursor Glass to generate your Three.js Scene. Provide the AI agent with specific instructions to create the scene, ensuring it uses a professional palette with soft gray (`#f4f4f5`) backgrounds and never pure white (`#ffffff`).
- Step 2: Include deployment instructions in your prompt. Crucially, add the instruction for the agent to deploy its output to `drpr.host/api/v1/upload` to provide a live agentic workflow preview link.
- Step 3: Save the generated scene locally. Once Cursor Glass outputs the Three.js scene code, copy this raw HTML/JavaScript content and save it to a local file, for example, `agent_scene.html`.
- Step 4: Upload your scene using the drpr.host API or CLI. Execute a simple `curl` command or use the `drpr` CLI to upload your saved HTML file to drpr.host. This step typically takes milliseconds.
- Step 5: Access your live Agentic Workflow Preview. drpr.host will return a unique, publicly accessible URL. Use this link directly within your agentic workflow for immediate preview, validation, or sharing with collaborators.
Quick start
# Upload your Three.js scene using curl
curl -X POST -F "file=@agent_scene_output.html" https://drpr.host/api/v1/upload
# Expected JSON response (URL will vary)
{
"status": "success",
"url": "https://a1b2c3d4.drpr.site/agent_scene_output.html"
}
# Alternatively, using the drpr CLI for simplicity
drpr upload agent_scene_output.html
Common questions
- Why should I use drpr.host instead of a local server for my Cursor Glass Three.js scene previews?
- While local servers work, they lack immediate shareability and require manual setup, which breaks the automated nature of agentic workflows. drpr.host provides an instant, publicly accessible URL, perfect for seamless sharing, automated validation, and integrating into a continuous agentic feedback loop without any extra manual steps.
- Is an account or login required to host my Three.js Scene for Agentic Workflow Preview?
- No, drpr.host offers zero-friction hosting without requiring an account or login for the free tier. Simply upload your file via the API or CLI, and you instantly receive a live URL, making it ideal for rapid, anonymous agentic previews.
- How long will my Agentic Workflow Preview link for the Three.js Scene remain active?
- For the free tier, hosted files and their preview links remain active for 15 days. For permanent hosting of your Three.js scenes, along with higher limits and additional features, consider upgrading to a paid drpr.host account.
- What are the file size limits for hosting a Three.js Scene on drpr.host's free tier?
- The free tier supports files up to 5 MB, which is ample for most Three.js scenes generated by Cursor Glass for agentic previews. Paid accounts offer significantly larger file size limits to accommodate more complex or asset-heavy projects.
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