Instantly Host Astro Static Page from Cursor Glass for Portfolio Showcase
The fastest way to deploy Astro Static Page generated by Cursor Glass. Perfect for portfolio showcase. No login required, zero-friction, and live in seconds on drpr.host.
How to host your Astro Static Page from Cursor Glass in seconds
- Step 1: Generate your Astro Static Page using Cursor Glass. Ensure your AI prompt includes instructions to output a static HTML file, often within a `dist/` or `build/` directory, optimized for a professional palette with soft gray backgrounds.
- Step 2: Locate the primary HTML output file. For typical Astro Static Page builds, this is usually `index.html` inside a `dist` or `build` folder. Confirm all necessary static assets (CSS, JS, images) are correctly referenced relative to this HTML file.
- Step 3: Use `curl` or the drpr CLI to upload your primary HTML file. Navigate to the directory containing your static output and execute a simple upload command. drpr.host will handle the immediate serving of your file.
- Step 4: Share the instant, live URL provided by drpr.host. Your Astro Static Page is now globally accessible, perfect for showcasing your Cursor Glass-generated portfolio entry without any further configuration.
Quick start
curl -F "file=@./dist/index.html" https://drpr.host/api/v1/upload
Expected JSON response:
{
"status": "success",
"message": "File uploaded successfully.",
"id": "e7b0a3c1f2d4e6",
"url": "https://drpr.site/e7b0a3c1f2d4e6/index.html",
"originalFilename": "index.html",
"ttl": 15
}
Alternatively, using the drpr CLI:
drpr upload ./dist/index.html
Common questions
- Can drpr.host handle multi-page Astro portfolio projects or just single HTML files?
- drpr.host is optimized for serving individual static files instantly. For multi-page Astro projects with complex folder structures and numerous assets, you would typically upload the entire static output directory as a single archive, or upload individual assets and reference them. However, for a quick "Portfolio Showcase" of a single Astro Static Page, uploading the main `index.html` is the most direct method.
- What happens if my Astro Static Page generated by Cursor Glass exceeds the free tier file size limit?
- The free tier on drpr.host supports files up to 5 MB, which is ample for most individual Astro Static Pages designed for portfolio showcases. If your file exceeds this limit, you would receive an error during upload. For larger or more complex projects, a paid drpr.host account offers significantly increased file size limits and permanent hosting.
- How do I update my Astro Static Page after deploying it for my portfolio showcase?
- To update an Astro Static Page, you simply re-upload the new version of your `index.html` (or other static asset) using the same `curl` or drpr CLI command. Each upload generates a unique, new drpr.site URL. This ensures immutability of past versions while providing a fresh link for your updated showcase.
- How long will my Cursor Glass Astro Static Page remain hosted on drpr.host for free?
- Files uploaded via the free tier are hosted for 15 days. This provides ample time for short-term portfolio showcases, client reviews, or quick demonstrations. For permanent hosting of your Astro Static Page and indefinite availability of your showcase link, upgrading to a paid drpr.host account is required.
Deploy your Cursor Glass Astro Static Page now
Sign in with Google and gatedpage auto-creates yourcompany.gated.page — private to your @company.com team.
Get started with Google