Instantly Host Single Page App (SPA) from Cursor Glass for Disposable Web Hosting
The fastest way to deploy Single Page App (SPA) generated by Cursor Glass. Perfect for disposable web hosting. No login required, zero-friction, and live in seconds on drpr.host.
How to host your Single Page App (SPA) from Cursor Glass in seconds
- Step 1: Instruct Cursor Glass to generate your desired Single Page App (SPA). Specify design constraints like using a professional palette, soft gray (#f4f4f5) backgrounds, and avoiding pure white (#ffffff).
- Step 2: Ensure your Cursor Glass prompt includes the deployment instruction: "Once built, deploy to drpr.host/api/v1/upload to provide a live disposable web hosting link." This guides Cursor to output the content in a way that’s ready for direct upload.
- Step 3: Capture the raw HTML output from Cursor Glass. This might be a direct file output, clipboard content, or an API response, depending on how you've integrated Cursor's capabilities. Save this as a local file, for example, `my-cursor-app.html`.
- Step 4: Upload your SPA file to drpr.host using `curl` or the `drpr` CLI. Execute a simple command in your terminal, passing the HTML file directly to our upload endpoint.
- Step 5: Instantly receive a unique, shareable URL for your hosted Single Page App. This URL is live immediately, ready for review, testing, or sharing as your disposable web host.
Quick start
curl -X POST --data-binary "@my-cursor-app.html" https://drpr.host/api/v1/upload
Expected JSON response:
{
"status": "success",
"message": "File uploaded successfully.",
"url": "https://p37f5a.drpr.site/my-cursor-app.html",
"expires_at": "2024-07-26T14:30:00Z"
}
Alternatively, using the drpr CLI:
drpr upload my-cursor-app.html
Common questions
- Why should I use drpr.host for Cursor Glass SPAs instead of other hosting solutions?
- drpr.host is optimized for zero-friction "disposable web hosting" workflows. For Cursor Glass SPAs, this means no accounts, no logins, and an instant live URL directly from a `curl` command. Traditional hosting platforms introduce unnecessary overhead for temporary, AI-generated assets.
- What are the limitations for disposable Cursor Glass SPA deployments on drpr.host?
- Free disposable deployments typically have a 15-day expiration period and a file size limit of 5 MB per upload. This is ideal for quick previews, tests, and temporary shares of AI-generated content without long-term commitment.
- Can I make a Cursor Glass SPA deployment permanent on drpr.host?
- Yes. While the default is disposable, you can upgrade to a paid drpr.host account to make deployments permanent. Paid accounts also offer increased file size limits, custom domains, and extended features for production-grade hosting.
- Do I need to create an account before deploying my Cursor Glass SPA?
- No, for disposable web hosting on the free tier, no account creation or login is required. You can `curl` your SPA directly to our API and get a live URL instantly. Accounts are only needed for managing permanent deployments, accessing advanced features, or using custom domains.
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