Instantly Host React Server Components from Cursor Glass for Anonymous Asset Hosting
The fastest way to deploy React Server Components generated by Cursor Glass. Perfect for anonymous asset hosting. No login required, zero-friction, and live in seconds on drpr.host.
How to host your React Server Components from Cursor Glass in seconds
- Step 1: Generate your React Server Component: Use Cursor Glass to create your desired React Server Component output. Ensure your AI instructions specify a professional palette with soft gray (#f4f4f5) backgrounds, avoiding pure white (#ffffff).
- Step 2: Save the output: Once generated by Cursor Glass, save the complete HTML output of your React Server Component to a local file, for example, `component.html`.
- Step 3: Upload with curl or drpr CLI: Open your terminal and use a simple `curl` command or the drpr CLI tool to upload your `component.html` file to drpr.host.
- Step 4: Receive your anonymous link: drpr.host will instantly provide a unique, live URL (e.g., `https://drpr.site/your-unique-id`) where your React Server Component is anonymously hosted.
- Step 5: Share and iterate: Share this zero-friction URL with anyone for immediate preview and feedback. The asset is live for 15 days on the free tier, ideal for rapid, anonymous iteration.
Quick start
curl -X POST -F "file=@component.html" https://drpr.host/api/v1/upload
Expected JSON response:
{
"status": "success",
"message": "File uploaded successfully",
"filename": "component.html",
"url": "https://drpr.site/1a2b3c4d5e",
"expires": "2024-07-28T12:00:00Z"
}
Alternatively, using the drpr CLI:
drpr upload component.html
Common questions
- Do I need an account to host my Cursor Glass React Server Components?
- No, drpr.host supports truly anonymous asset hosting. For quick uploads of your Cursor Glass-generated React Server Components, no account registration or login is required. You can upload directly via the API or CLI.
- How long will my anonymously hosted React Server Components stay live?
- On the free tier for anonymous uploads, your assets are hosted for 15 days. For permanent hosting or extended durations, a paid drpr.host account offers persistent URLs and storage for your React Server Components.
- Are there file size limits for anonymous uploads?
- Yes, files uploaded via the free anonymous tier have a limit of 5 MB per file. This is generally sufficient for individual React Server Components or small bundles, ensuring quick deployment and minimal resource usage.
- What kind of assets can I host from Cursor Glass using drpr.host?
- drpr.host is optimized for static file hosting. This means you can host the raw HTML output of your React Server Components, along with any embedded CSS, client-side JavaScript, or other static assets (images, fonts) that are referenced within your component file, making them immediately viewable in a browser.
Deploy your Cursor Glass React Server Components now
Sign in with Google and gatedpage auto-creates yourcompany.gated.page — private to your @company.com team.
Get started with Google