← Back to Skills Marketplace
520xiaomumu

html-deploy-easy

by Xiao Mu · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
76
Downloads
2
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install html-deploy-easy
Description
Instantly 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.
README (SKILL.md)

\r \r

html-deploy-easy\r

\r

Overview\r

\r 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.\r \r Live example and walkthrough:\r

Decision rule\r

\r Use this skill when all of the following are true:\r

  • The deliverable is a single HTML page.\r
  • The page can be self-contained or nearly self-contained.\r
  • Fast sharing matters more than custom domains, CI/CD, or multi-file assets.\r \r Do not use this skill when any of the following are true:\r
  • The project is a React, Vue, Next, or multi-file frontend app.\r
  • The site needs build steps, environment variables, or asset pipelines.\r
  • The user specifically needs their own domain bound to the host.\r
  • The page is likely to exceed the service limit of about 1 MB HTML payload.\r \r

Core workflow\r

\r

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

Fastest path\r

\r Prefer the bundled script when working from local files.\r \r Deploy a new page:\r \r

python scripts/htmlcode_deploy.py deploy page.html --title "launch-page" --code launch-page\r
```\r
\r
Update an existing short code in place:\r
\r
```bash\r
python scripts/htmlcode_deploy.py update launch-page page.html --title "launch-page-v2"\r
```\r
\r
Fetch deployed content:\r
\r
```bash\r
python scripts/htmlcode_deploy.py get launch-page --output launch-page.html\r
```\r
\r
Use raw API calls only when the agent already has HTML content in memory and does not need a file-based workflow.\r
\r
## Request format\r
\r
Always send JSON.\r
\r
Required fields:\r
- `filename`\r
- `content`\r
\r
Useful optional fields:\r
- `title`\r
- `enableCustomCode`\r
- `customCode`\r
\r
Example deploy payload:\r
\r
```json\r
{\r
  "filename": "index.html",\r
  "title": "launch-page",\r
  "content": "\x3C!doctype html>\x3Chtml>...\x3C/html>",\r
  "enableCustomCode": true,\r
  "customCode": "launch-page"\r
}\r
```\r
\r
Example update payload:\r
\r
```json\r
{\r
  "code": "launch-page",\r
  "content": "\x3C!doctype html>\x3Chtml>...updated...\x3C/html>",\r
  "title": "launch-page-v2",\r
  "filename": "index.html"\r
}\r
```\r
\r
## Best practices for agents\r
\r
- Prefer one larger deploy over many tiny edits because the service enforces a 10 second cooldown after success.\r
- Do not use multipart upload or `-F file`. Read files into memory and send them as JSON `content`.\r
- Keep the page self-contained. Inline CSS, inline lightweight JS, and avoid many external dependencies.\r
- Keep images small. Large base64 assets can quickly hit the payload limit.\r
- If the page will be revised repeatedly, reserve a meaningful `customCode` at the first deploy.\r
- Save returned `code`, `url`, and `qrCode` immediately after deployment.\r
- When receiving `429`, respect `retryAfterSeconds` instead of retrying aggressively.\r
- Treat htmlcode.fun as a fast publication channel, not a full static hosting platform.\r
- Tell the user clearly when the page is better suited for Vercel or Netlify instead.\r
\r
## What this host is good at\r
\r
- Temporary landing pages\r
- Demo pages\r
- Shareable documentation pages\r
- QR-linked event or campaign pages\r
- AI-generated single-file frontends\r
- Stable short-link pages that need quick overwrite updates\r
\r
## What this host is not good at\r
\r
- Multi-page sites with shared assets\r
- Framework builds\r
- Large production frontends\r
- Team workflows with preview environments and rollback\r
- Confirmed custom-domain hosting workflows\r
\r
## Example live page\r
\r
Reference example:\r
- https://www.htmlcode.fun/s/htmlcode-fun-guide\r
\r
Use that page as a model for how to explain advantages, limitations, and deployment guidance in one self-contained HTML document.\r
Usage Guidance
This skill appears internally consistent: it reads a local HTML file and POSTs/PATCHes JSON to https://www.htmlcode.fun. Before installing or using it, consider the following: (1) Do not deploy pages containing secrets, API keys, personal data, or any content you would not want stored publicly—the entire page content is transmitted to and stored by a third party. (2) The skill's source/homepage is unknown in the registry metadata; verify that htmlcode.fun is a legitimate/reputable service and that its retention/privacy/TOS meet your needs. (3) Inspect and, if desired, run the bundled script locally on a harmless test file to observe responses and behavior. (4) Be mindful of size limits, rate limits, and the 10s cooldown described in SKILL.md. If you need hosting for sensitive or production apps, prefer a provider where you control account credentials or self-hosting.
Capability Analysis
Type: OpenClaw Skill Name: html-deploy-easy Version: 1.1.0 The skill is a legitimate utility for deploying single-file HTML documents to the 'htmlcode.fun' hosting service. The bundled Python script (scripts/htmlcode_deploy.py) uses standard libraries to perform authenticated API requests and contains no evidence of obfuscation, data exfiltration, or unauthorized command execution. The instructions in SKILL.md are consistent with the tool's stated purpose and do not contain any prompt-injection attempts or malicious directives.
Capability Assessment
Purpose & Capability
The name/description (publish a single self-contained HTML page to htmlcode.fun) aligns with the included Python script and the SKILL.md. No unrelated environment variables, binaries, or hosts are requested; all network calls target the documented BASE URL.
Instruction Scope
SKILL.md explicitly instructs the agent to read single-file HTML into memory and send JSON to htmlcode.fun API endpoints. This is within the declared purpose, but it does mean the agent will transmit full page content (including anything embedded in it) to a third-party service—so pages must not contain secrets or private data.
Install Mechanism
There is no install spec and the skill is instruction-only with a small bundled Python script. Nothing is downloaded from external or untrusted URLs and the script uses only standard library modules.
Credentials
The skill requires no environment variables, credentials, or config paths. That is appropriate for a public one-shot deploy API and no disproportionate secrets are requested.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges, nor does it modify other skills or system-wide config. Autonomous invocation is allowed (platform default) but not combined with other high-risk attributes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install html-deploy-easy
  3. After installation, invoke the skill by name or use /html-deploy-easy
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Alias publish for discoverability. Same htmlcode.fun deployment workflow, script, and live guide as easy-html-deploy
Metadata
Slug html-deploy-easy
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is html-deploy-easy?

Instantly 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 76 downloads so far.

How do I install html-deploy-easy?

Run "/install html-deploy-easy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is html-deploy-easy free?

Yes, html-deploy-easy is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does html-deploy-easy support?

html-deploy-easy is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created html-deploy-easy?

It is built and maintained by Xiao Mu (@520xiaomumu); the current version is v1.1.0.

💬 Comments