GB-Power-Market-JJ html-deploy
Deploy HTML content or files to the web via htmlcode.fun. Use when the user asks to "deploy to web", "host this html", "generate a live link for this frontend", or provides HTML code that needs an online preview. Support for single-file HTML deployment with instant URL generation.
install
source · Clone the upstream repo
git clone https://github.com/GeorgeDoors888/GB-Power-Market-JJ
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.claude/skills && cp -r "$T/openclaw-skills/skills/520xiaomumu/html-deploy" ~/.claude/skills/georgedoors888-gb-power-market-jj-html-deploy && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/openclaw-skills/skills/520xiaomumu/html-deploy" ~/.openclaw/skills/georgedoors888-gb-power-market-jj-html-deploy && rm -rf "$T"
manifest:
openclaw-skills/skills/520xiaomumu/html-deploy/SKILL.mdsource content
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.
Manual Deployment (Preferred for AI)
To avoid shell escaping issues with large HTML strings:
- Write the deployment payload to a temporary JSON file:
{ "filename": "index.html", "content": "<!DOCTYPE html>..." } - Execute the deployment via
:curlcurl -s -X POST https://www.htmlcode.fun/api/deploy -H "Content-Type: application/json" --data-binary "@temp_payload.json"
API Response
A successful deployment returns a JSON object:
: The live public link (e.g.,url
)https://www.htmlcode.fun/s/xxxxxx
: A link to a QR code for mobile access.qrCode
: Wait time before the next deployment.cooldownSeconds
Limits
- Only supports single HTML files.
- Rate limits apply (typically 10 seconds cooldown).