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.

3,880 stars

Best use case

html-deploy is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using html-deploy should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/html-deploy/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/520xiaomumu/html-deploy/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/html-deploy/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How html-deploy Compares

Feature / Agenthtml-deployStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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:

```powershell
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:
    ```json
    {
      "filename": "index.html",
      "content": "<!DOCTYPE html>..."
    }
    ```
2.  Execute the deployment via `curl`:
    ```bash
    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).

Related Skills

hxd-deploy

3891
from openclaw/skills

部署霍小钉服务到服务器。自动上传 JAR 文件、备份旧版本、重启服务。

Multi-Agent Deployment Skill for OpenClaw

3891
from openclaw/skills

Deploy a production-ready multi-agent fleet in OpenClaw. Includes step-by-step setup guide, workspace templates, and Python automation scripts for agent creation, routing config, memory sync, and cloud deployment — based on a real working 4-agent production setup.

html-slides

3891
from openclaw/skills

为 OpenClaw 打造的网页幻灯片创建技能。将用户需求转化为精美的 HTML 演示文稿,支持从零创建和 PPT 转换两种模式。触发词:做幻灯片 / 做 PPT / 做演示 / 做 slides / 做一个网页版自我介绍 / 帮我做个路演 PPT。

openclaw-deploy-tracker

3891
from openclaw/skills

记录和查询 OpenClaw 生态的部署服务。当需要新增部署、查询现有服务、更新服务状态、检查依赖关系时使用。规范记录格式,提供查询和写入的工作流。无需凭证。

multi-bot-deploy

3891
from openclaw/skills

OpenClaw 多 Bot 多 Agent 一键搭建技能。根据用户提供的 Bot 名称、职能、模型和飞书凭证,自动完成 Agent 创建、账号配置、路由绑定和验证测试全流程。

appdeploy

3891
from openclaw/skills

Deploy web apps with backend APIs, database, file storage, AI operations, authentication, realtime, and cron jobs. Use when the user asks to deploy or publish a website or web app and wants a public URL. Uses HTTP API via curl.

azion-deploy

3891
from openclaw/skills

Deploy applications, static sites, and edge functions to Azion using Azion CLI. Use when the user asks to deploy/publish to Azion, configure link/build/deploy flow, or troubleshoot Azion auth/project linking problems.

xcloud-docker-deploy

3891
from openclaw/skills

Deploy any project to xCloud hosting — auto-detects stack (WordPress, Laravel, PHP, Node.js, Next.js, NestJS, Python, Go, Rust), routes to native or Docker deployment, generates production-ready Dockerfile, docker-compose.yml, GitHub Actions CI/CD, and .env.example. Works from zero Docker setup.

CursorWindsurfCodex

setup-deploy

3891
from openclaw/skills

Configure deployment settings for land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy commands. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy".

land-and-deploy

3891
from openclaw/skills

Land and deploy workflow. Merges the PR, waits for CI and deploy, verifies production health via canary checks. Takes over after /ship creates the PR.

AgentStead Deploy Skill

3891
from openclaw/skills

Deploy and manage AI agents on [AgentStead](https://agentstead.com) cloud hosting.

inspirai-deploy

3891
from openclaw/skills

智能部署工具 - 自动检测部署策略,预检查、发布、监控一体化。支持 K8s/Helm、Docker Compose、Vercel、Fly.io。Triggers: '部署', 'deploy', '发布', '上线', '预检查', '部署监控', 'helm upgrade', 'docker compose up'.