Instantly Host Web Components from Cursor Glass for Share Preview with Client
The fastest way to deploy Web Components generated by Cursor Glass. Perfect for share preview with client. No login required, zero-friction, and live in seconds on drpr.host.
When you're leveraging Cursor Glass to rapidly prototype and generate Web Components, the last thing you need is friction when sharing your output. Traditionally, presenting a live preview to a client meant deploying to a dev server, fumbling with local host configurations, or manually transferring static files and hoping they render correctly in the client’s environment. This process introduces unnecessary overhead, delaying critical feedback cycles.
drpr.host eliminates this bottleneck entirely. We provide a zero-friction path to instantly host your Cursor Glass-generated Web Components, giving you a live, shareable URL within seconds. There's no login, no complex setup, and no messing with server configurations. You simply upload your component's HTML file, and drpr.host makes it accessible for immediate "Share Preview with Client."
This direct approach is built for developers who prioritize speed and efficiency. Instead of debugging deployment issues or explaining how to open local files, you get a clean, public URL that just works. Focus on refining your Web Components with Cursor Glass, and let drpr.host handle the instant, reliable hosting for client previews.
How to host your Web Components from Cursor Glass in seconds
- Step 1: Generate your Web Component. Use Cursor Glass to create your desired Web Component. Ensure the output is ready for a static file deployment, often a single HTML file containing the component definition and its usage.
- Step 2: Save the component locally. Once Cursor Glass outputs your Web Component, save the relevant HTML file (e.g.,
component.htmlorindex.html) to your local file system. - Step 3: Upload to drpr.host. Open your terminal and use either a simple
curlcommand or the drpr CLI tool to upload your saved file directly to drpr.host. - Step 4: Share the live URL. drpr.host will return an instant, public URL. Copy this URL and share it directly with your client for a live, interactive preview of the Web Component generated by Cursor Glass.
Quick start
Upload your Web Component file directly from your terminal:
curl -X POST -F "file=@output.html" https://drpr.host/api/v1/upload
Expected JSON response:
{
"id": "abc123def456",
"filename": "output.html",
"url": "https://drpr.site/abc123def456/output.html",
"size": 1234,
"expires_at": "2024-03-15T10:00:00Z"
}
Alternatively, use the drpr CLI for an even simpler workflow:
drpr upload output.html
Common questions
- Do I need an account to host my Cursor Glass Web Components?
- No, drpr.host operates on a zero-friction model. You can upload files and get an instant shareable URL without needing to create an account or log in, making your "Share Preview with Client" workflow exceptionally fast.
- How long will my Web Component preview be available on drpr.host?
- Files uploaded via the free tier are hosted for 15 days, providing ample time for client feedback and iteration. For permanent hosting, a paid drpr.host account ensures your files remain live indefinitely.
- Are there any file size limits for Web Components uploaded from Cursor Glass?
- For free tier uploads, there's a 5 MB file size limit, which is typically more than sufficient for Web Components generated by Cursor Glass. Paid accounts offer significantly larger file limits to accommodate more complex projects.
- Can I update a hosted Web Component file if Cursor Glass generates a new version?
- Each upload to drpr.host generates a unique URL. If you update your Web Component in Cursor Glass, simply upload the new file to get a fresh URL for the updated preview. This ensures clients always see the latest iteration.
Deploy your Cursor Glass Web Components now
Sign in with Google and gatedpage auto-creates yourcompany.gated.page — private to your @company.com team.
Get started with Google