Install
openclaw skills install html-deploy-easyInstantly publish a single self-contained HTML page to htmlcode.fun for fast live URLs without GitHub, Vercel, or Netlify, ideal for landing or demo pages.
openclaw skills install html-deploy-easyUse 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 operationsUse this skill when all of the following are true:
Do not use this skill when any of the following are true:
<title><meta name="description"><meta name="viewport" content="width=device-width, initial-scale=1.0">enableCustomCode=true and choose customCode on first deploy.POST https://www.htmlcode.fun/api/deploy.code, url, and qrCode.PATCH https://www.htmlcode.fun/api/deploy/content using the same code.429, wait for retryAfterSeconds before retrying.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.
Always send JSON.
Required fields:
filenamecontentUseful optional fields:
titleenableCustomCodecustomCodeExample 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"
}
-F file. Read files into memory and send them as JSON content.customCode at the first deploy.code, url, and qrCode immediately after deployment.429, respect retryAfterSeconds instead of retrying aggressively.Reference example:
Use that page as a model for how to explain advantages, limitations, and deployment guidance in one self-contained HTML document.