HTML Instant Deploy

v1.2.0

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 fronten...

2· 153·0 current·0 all-time
byXiao Mu@520xiaomumu

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for 520xiaomumu/html-deploy.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "HTML Instant Deploy" (520xiaomumu/html-deploy) from ClawHub.
Skill page: https://clawhub.ai/520xiaomumu/html-deploy
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install html-deploy

ClawHub CLI

Package manager switcher

npx clawhub@latest install html-deploy
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included script and SKILL.md. The skill only needs the ability to send HTML to htmlcode.fun and the provided script does exactly that; no unrelated credentials, binaries, or config paths are requested.
Instruction Scope
Instructions explicitly direct the agent to read a local HTML file into memory and POST it as JSON to https://www.htmlcode.fun/api/deploy (and PATCH/GET other endpoints). This is expected for deploy functionality, but it does mean the entire HTML content (including any embedded secrets) will be transmitted to an external host.
Install Mechanism
No install spec — instruction-only with a bundled Python script. No downloads or archive extraction. The script performs straightforward HTTP calls; nothing is written to disk beyond user-specified file output when fetching content.
Credentials
No environment variables, credentials, or config paths are required or accessed. The script does not read environment secrets.
Persistence & Privilege
always is false and the skill does not request permanent presence or modify agent/system-wide configs. It can be invoked autonomously per platform defaults, but that is not combined with broad credential access or other red flags.
Assessment
This skill appears coherent and implements exactly what it advertises: fast deployment of single-file HTML to htmlcode.fun. Before using it, verify that the HTML does not contain sensitive data (API keys, private tokens, user PII) because the whole document is sent to an external service and may become public. Be aware of the service's ~1 MB payload and rate limits (429/retryAfterSeconds). If you need custom domains, multi-file sites, build steps, or guaranteed privacy, choose a different hosting solution (Vercel/Netlify or your own hosting).

Like a lobster shell, security has layers — review code before you run it.

latestvk973k82nz5bqkqk96cdcxj8agn84ye4p
153downloads
2stars
2versions
Updated 1w ago
v1.2.0
MIT-0

HTML Instant Deploy

Overview

Use htmlcode.fun when the output can be delivered as one standalone HTML document and speed matters more than full project-hosting features. This skill is designed for agents that need the shortest path from HTML content to a live shareable URL.

Live example and walkthrough:

Bundled script:

  • scripts/htmlcode_deploy.py for deploy, update, and fetch operations

Decision rule

Use this skill when all of the following are true:

  • The deliverable is a single HTML page.
  • The page can be self-contained or nearly self-contained.
  • Fast sharing matters more than custom domains, CI/CD, or multi-file assets.

Do not use this skill when any of the following are true:

  • The project is a React, Vue, Next, or multi-file frontend app.
  • The site needs build steps, environment variables, or asset pipelines.
  • The user specifically needs their own domain bound to the host.
  • The page is likely to exceed the service limit of about 1 MB HTML payload.

Core workflow

  1. Produce one complete HTML document.
  2. Inline CSS and JS when practical.
  3. Add quality metadata before deploy:
    • <title>
    • <meta name="description">
    • <meta name="viewport" content="width=device-width, initial-scale=1.0">
    • Open Graph tags when the page will be shared
  4. Decide whether the page needs a stable short code.
    • For one-off pages, deploy without custom code.
    • For pages that will be updated in place, set enableCustomCode=true and choose customCode on first deploy.
  5. Deploy with JSON to POST https://www.htmlcode.fun/api/deploy.
  6. Save the returned code, url, and qrCode.
  7. For later edits, update with PATCH https://www.htmlcode.fun/api/deploy/content using the same code.
  8. If the API returns 429, wait for retryAfterSeconds before retrying.

Fastest path

Prefer the bundled script when working from local files.

Deploy a new page:

python scripts/htmlcode_deploy.py deploy page.html --title "launch-page" --code launch-page

Update an existing short code in place:

python scripts/htmlcode_deploy.py update launch-page page.html --title "launch-page-v2"

Fetch deployed content:

python scripts/htmlcode_deploy.py get launch-page --output launch-page.html

Use raw API calls only when the agent already has HTML content in memory and does not need a file-based workflow.

Request format

Always send JSON.

Required fields:

  • filename
  • content

Useful optional fields:

  • title
  • enableCustomCode
  • customCode

Example deploy payload:

{
  "filename": "index.html",
  "title": "launch-page",
  "content": "<!doctype html><html>...</html>",
  "enableCustomCode": true,
  "customCode": "launch-page"
}

Example update payload:

{
  "code": "launch-page",
  "content": "<!doctype html><html>...updated...</html>",
  "title": "launch-page-v2",
  "filename": "index.html"
}

Best practices for agents

  • Prefer one larger deploy over many tiny edits because the service enforces a 10 second cooldown after success.
  • Do not use multipart upload or -F file. Read files into memory and send them as JSON content.
  • Keep the page self-contained. Inline CSS, inline lightweight JS, and avoid many external dependencies.
  • Keep images small. Large base64 assets can quickly hit the payload limit.
  • If the page will be revised repeatedly, reserve a meaningful customCode at the first deploy.
  • Save returned code, url, and qrCode immediately after deployment.
  • When receiving 429, respect retryAfterSeconds instead of retrying aggressively.
  • Treat htmlcode.fun as a fast publication channel, not a full static hosting platform.
  • Tell the user clearly when the page is better suited for Vercel or Netlify instead.

What this host is good at

  • Temporary landing pages
  • Demo pages
  • Shareable documentation pages
  • QR-linked event or campaign pages
  • AI-generated single-file frontends
  • Stable short-link pages that need quick overwrite updates

What this host is not good at

  • Multi-page sites with shared assets
  • Framework builds
  • Large production frontends
  • Team workflows with preview environments and rollback
  • Confirmed custom-domain hosting workflows

Example live page

Reference example:

Use that page as a model for how to explain advantages, limitations, and deployment guidance in one self-contained HTML document.

Comments

Loading comments...