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.md
source 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

  1. Extract/Generate HTML: Identify the HTML content to be deployed.
  2. 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:

  1. Write the deployment payload to a temporary JSON file:
    {
      "filename": "index.html",
      "content": "<!DOCTYPE html>..."
    }
    
  2. Execute the deployment via
    curl
    :
    curl -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:

  • url
    : The live public link (e.g.,
    https://www.htmlcode.fun/s/xxxxxx
    )
  • qrCode
    : A link to a QR code for mobile access.
  • cooldownSeconds
    : Wait time before the next deployment.

Limits

  • Only supports single HTML files.
  • Rate limits apply (typically 10 seconds cooldown).