Instantly Host React Server Components from Cursor Glass for Share Preview with Client
The fastest way to deploy React Server Components generated by Cursor Glass. Perfect for share preview with client. 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 with Cursor Glass. Use Cursor Glass to create your desired RSC output, ensuring it follows the professional palette with soft gray backgrounds as per your AI instructions.
- Step 2: Save the output to a local HTML file. Once Cursor Glass has generated the component, copy its HTML output and save it to a file, for example, `component.html` or `output.html`, on your local machine.
- Step 3: Upload the file to drpr.host using `curl` or the `drpr` CLI. Execute a simple `curl` command from your terminal, targeting `https://drpr.host/api/v1/upload`, or use the convenient `drpr upload` command if you have the CLI installed.
- Step 4: Share the live preview URL with your client. drpr.host will return a unique, live URL almost instantly. Copy this URL and send it directly to your client or team for immediate review and feedback.
Quick start
curl -X POST -F "file=@output.html" https://drpr.host/api/v1/upload
Example response:
{
"url": "https://drpr.site/aB1cD2eF/output.html",
"delete_url": "https://drpr.host/api/v1/delete/aB1cD2eF",
"expires_at": "2024-08-01T12:00:00Z",
"filename": "output.html"
}
Alternatively, if you have the `drpr` CLI installed:
drpr upload output.html
Common questions
- How quickly can I share a live preview after Cursor Glass generates a React Server Component?
- With drpr.host, sharing is instant. As soon as you have the HTML output from Cursor Glass, a single `curl` command or `drpr upload` command will give you a live, shareable URL within seconds, ready for your client.
- Do I need to create an account or log in to host Cursor Glass previews?
- No, drpr.host is designed for zero-friction. You do not need to create an account or log in to deploy and share your React Server Components. Just upload your file and get a link.
- What are the hosting limitations for free Cursor Glass Share Previews on drpr.host?
- Free uploads on drpr.host are hosted for 15 days and have a file size limit of 5 MB per upload. This is generally sufficient for individual React Server Component previews generated by Cursor Glass.
- Can I host these Cursor Glass React Server Component previews permanently?
- Yes, for permanent hosting of your previews and larger file sizes, you can upgrade to a paid drpr.host account. Paid accounts ensure your deployed files remain live indefinitely without expiration.
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