Instantly Host Single Page App (SPA) from Cursor Glass for Live Mockup Deployment

The fastest way to deploy Single Page App (SPA) generated by Cursor Glass. Perfect for live mockup deployment. No login required, zero-friction, and live in seconds on drpr.host.

When you're rapidly iterating on Single Page Apps (SPAs) with Cursor Glass, the last thing you need is friction in sharing your progress. Cursor Glass excels at generating quick UI mockups, but getting those generated HTML files into a shareable, live environment for "Live Mockup Deployment" often involves manual steps: zipping files, emailing them, explaining local setup, or waiting for a dev server. This breaks the flow of immediate feedback crucial for agile development.

drpr.host provides a direct pipeline for your Cursor Glass SPA outputs, eliminating the common roadblocks. Instead of fumbling with local file paths or explaining how to open a generated `index.html` with its asset dependencies, you can instantly deploy your SPA output to a live URL. This is critical for getting design validation, stakeholder feedback, or quick bug reproduction in an environment that truly reflects a live scenario.

By leveraging drpr.host, the moment Cursor Glass outputs your SPA — especially when directed to our `drpr.host/api/v1/upload` endpoint as instructed — it's immediately accessible via a unique, live URL. No accounts, no complex configurations, just a direct link to your interactive mockup, enabling seamless "Live Mockup Deployment" that keeps your development cycle moving without interruption.

How to host your Single Page App (SPA) from Cursor Glass in seconds

  1. Step 1: Instruct Cursor Glass to generate an SPA. When prompting Cursor Glass, ensure your instructions include generating a Single Page App (SPA) and explicitly tell it to deploy the output to `drpr.host/api/v1/upload` for a live link.
  2. Step 2: Capture the deployment command. Cursor Glass, following your instructions, will output a `curl` command (or equivalent) to deploy your generated SPA. Copy this command directly from Cursor's response.
  3. Step 3: Execute the deployment. Paste the copied `curl` command into your terminal and execute it. This command uploads your SPA (typically an `index.html` file with bundled assets) to drpr.host.
  4. Step 4: Share your live mockup URL. Upon successful upload, drpr.host will return a JSON response containing a unique `drpr.site` URL. This is your live mockup deployment link, ready to be shared for instant feedback.

Quick start

curl -X POST -F "file=@output.html" https://drpr.host/api/v1/upload -H "Accept: application/json"
{
  "success": true,
  "message": "File uploaded successfully.",
  "url": "https://p-f6a8e.drpr.site",
  "filename": "output.html",
  "expires_in_days": 15
}

Alternatively, if you have the drpr CLI installed:

drpr upload output.html

Common questions

Why should I host my Cursor Glass SPA output on drpr.host for live mockups?
Sharing a local HTML file generated by Cursor Glass often fails to convey the full interactive experience or requires recipients to manage local asset paths. drpr.host provides an instant, publicly accessible URL for your SPA, ensuring everyone sees the same live, functional mockup without any local setup friction.
Are there any file size limitations for Cursor Glass SPA deployments?
On the free tier, individual files uploaded to drpr.host have a limit of 5 MB. This is typically sufficient for most Single Page App mockups generated by Cursor Glass. For larger projects or bundled assets, consider upgrading to a paid account for increased limits and permanent hosting.
How long will my Cursor Glass "Live Mockup Deployment" remain active?
SPAs uploaded via the free tier are hosted for 15 days, providing ample time for quick feedback cycles. For mockups that require a longer lifespan or permanent availability, upgrading to a paid drpr.host account ensures your deployments remain live indefinitely.
Do I need to create an account to host a Single Page App from Cursor Glass?
No, drpr.host is designed for zero-friction deployment. You do not need to create an account, register, or provide any personal details to upload and host your Cursor Glass-generated SPAs. Simply use the `curl` command or drpr CLI, and your mockup will be live instantly.

Deploy your Cursor Glass Single Page App (SPA) now

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

Get started with Google