html-deploy
Installation
SKILL.md
HTML Deploy
This skill provides a streamlined workflow to take any HTML code or local HTML file and deploy it to a public URL using the htmlcode.fun service.
Workflow
- Extract/Generate HTML: Identify the HTML content to be deployed.
- Call Deployment Script: Use the bundled PowerShell script to handle the JSON payload and API call.
Using the Deployment Script
Run the following command in the terminal:
pwsh ./scripts/deploy.ps1 -Content '<your_html_content>' -Filename 'your_filename.html'
Note: For complex HTML with many quotes, it is safer to write the JSON payload to a temporary file first and use curl directly as shown in the script's implementation.