Instantly Host Python PyScript App from Cursor Glass for Share Preview with Client

The fastest way to deploy Python PyScript App generated by Cursor Glass. Perfect for share preview with client. No login required, zero-friction, and live in seconds on drpr.host.

You've leveraged Cursor Glass to efficiently generate a Python PyScript App, achieving rapid iteration on your development ideas. The immediate next step is often to share this interactive output for a "Share Preview with Client." However, bridging the gap from local generation to a live, client-accessible preview typically involves friction: copying code to a web server, setting up local tunneling tools, or explaining how to open local HTML files—each step introducing delays and potential compatibility issues for your client.

This workflow disruption undermines the speed and efficiency Cursor Glass provides. Sending raw HTML files via email means clients can't interact with the application live, and local server setups introduce environment dependencies. The goal is to provide a seamless, interactive experience for your client, mirroring the development agility you achieved with Cursor Glass, without the overhead of traditional deployment or messy file transfers.

drpr.host eliminates this friction entirely. By integrating directly into your post-generation workflow, it transforms your Cursor Glass Python PyScript App output into a live, publicly accessible URL in seconds. No accounts, no configuration, just a direct upload that gets your interactive preview in front of clients instantly, maintaining your development velocity right through to client feedback.

How to host your Python PyScript App from Cursor Glass in seconds

  1. Step 1: Generate your PyScript App in Cursor Glass. Use Cursor Glass to write or generate your Python PyScript application. Ensure your output includes all necessary HTML, CSS, and Python code embedded or linked correctly.
  2. Step 2: Save the HTML output to a file. Once Cursor Glass has produced your PyScript App, save the complete HTML content (e.g., pyscript_app_preview.html) to your local file system.
  3. Step 3: Upload your file to drpr.host via API. Use a simple curl command or the drpr CLI to upload your saved HTML file directly to drpr.host's API endpoint. This action is instantaneous and requires no prior setup or account.
  4. Step 4: Receive your live preview URL. Upon successful upload, drpr.host will return a JSON response containing a unique, live URL where your Python PyScript App is hosted, ready for immediate access.
  5. Step 5: Share the URL with your client. Distribute this URL to your clients for an interactive, real-time preview of your PyScript application, facilitating quick feedback and iteration.

Quick start

curl -X POST --data-binary "@pyscript_app_preview.html" https://drpr.host/api/v1/upload
{
  "status": "success",
  "url": "https://drpr.site/aB1cD2eF",
  "delete_url": "https://drpr.host/api/v1/delete/aB1cD2eF-delete-token"
}

Alternatively, if you have the drpr CLI installed:

drpr upload pyscript_app_preview.html

Common questions

How does drpr.host streamline sharing PyScript apps from Cursor Glass?
drpr.host provides a direct API endpoint to upload your generated PyScript HTML file, instantly giving you a live, shareable URL. This bypasses the need for local server setup, email attachments, or complex deployment steps, allowing you to move from Cursor Glass generation to client preview in seconds.
Do I need an account to host my Python PyScript App previews?
No, drpr.host enables zero-friction uploads without requiring any login or account creation for the free tier. Simply upload your file via curl or the drpr CLI and receive an instant live URL.
What are the limitations for free hosting of PyScript previews on drpr.host?
Free tier uploads are limited to 5 MB per file and are hosted for 15 days. This is ideal for quick previews and temporary sharing. For permanent hosting and larger files, paid accounts offer extended benefits.
What if my PyScript app includes multiple assets like CSS, JS, or data files?
While direct HTML uploads are instant, for PyScript apps with external assets, you can package them into a single .zip file. drpr.host will uncompress the archive and serve the main HTML file (e.g., index.html) along with its associated assets, ensuring your app functions correctly.

Deploy your Cursor Glass Python PyScript App now

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

Get started with Google