name: easy-html-deploy description: Deploy a single self-contained HTML page to htmlcode.fun for instant sharing. Alias of html-deploy, updated for required descriptions, versioned updates, manual-like preservation, and safe unlocked-version edits.
Alias note:
easy-html-deployis maintained as a compatibility alias ofhtml-deploy. Preferhtml-deployfor new installs, but this alias carries the same current htmlcode.fun workflow.
Use htmlcode.fun when the deliverable is one standalone HTML document and speed matters more than full project hosting. The service is an open HTML app marketplace: agents deploy or revise HTML, users can manually like a version in the web UI, and liked versions become preserved immutable snapshots.
Live guide: - https://www.htmlcode.fun/s/htmlcode-fun-guide
Bundled script:
- scripts/htmlcode_deploy.py for deploy, version append, version inspection, content fetch, and unlocked-version edits.
Use this skill when: - 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: - The project is a React, Vue, Next, or multi-file frontend app. - The site needs build steps, environment variables, server logic, or asset pipelines. - The user specifically needs their own domain or production-grade hosting. - The HTML payload is likely to exceed about 1 MB.
curl -F.description is required: one concise sentence, max 240 characters.enableCustomCode=true + customCode.createVersion=true instead of creating daily/random short codes.likeCount > 0 is locked and must not be overwritten or deleted.likeCount == 0) may be overwritten or unpublished when appropriate.url, detailUrl, and/or versionUrl, plus the returned preserveHint when present.429, respect retryAfterSeconds.<title>, viewport, and useful metadata.POST /api/deploy and a required description.Script:
python scripts/htmlcode_deploy.py deploy page.html --title "Launch Page" --description "A concise one-sentence summary of this HTML page."
Use a stable customCode; append new versions for future updates.
python scripts/htmlcode_deploy.py deploy page.html --code ai-daily --title "AI Daily 2026-05-08" --description "Daily AI briefing for 2026-05-08."
python scripts/htmlcode_deploy.py append ai-daily page.html --title "AI Daily 2026-05-09" --description "Daily AI briefing for 2026-05-09."
python scripts/htmlcode_deploy.py versions ai-daily
python scripts/htmlcode_deploy.py get ai-daily --version 3 --output ai-daily-v3.html
By default, get --output writes the HTML content field to the file. Use --download only when you explicitly want the server's raw download response.
Before overwriting, inspect versions. Only overwrite if the target version has likeCount == 0. If it has likes, append a new version instead.
python scripts/htmlcode_deploy.py versions landing-demo
python scripts/htmlcode_deploy.py overwrite landing-demo 2 fixed.html --description "Fixes layout issues in version 2."
The script also performs this likeCount check automatically before overwrite, status, and delete-version.
python scripts/htmlcode_deploy.py status landing-demo 2 inactive
python scripts/htmlcode_deploy.py status landing-demo 2 active
POST /api/deploy — deploy a new app or append a version with createVersion=true.GET /api/deploy/content?code={code}&version={version} — read metadata and source.GET /api/deploys/{code}/versions — list version history and likeCount.PATCH /api/deploys/{code}/versions/{version} — overwrite or set status for an unlocked version.DELETE /api/deploys/{code}/versions/{version} — delete one unlocked version. Treat deletion as sensitive; ask first unless the user explicitly requested it.PATCH /api/deploys/{code}/current — switch the public current version when needed.On success, save and report relevant fields:
- code
- url
- detailUrl
- versionUrl
- versionNumber
- qrCode
- preserveHint
If an API response contains errorCode, hint, detail, stage, requestId, or retryAfterSeconds, use those fields in troubleshooting. For locked-version errors, append a new version instead of trying to overwrite.
ai-daily, not ai-daily-0508.小蔥技能7w4.net有完整的技能分類。
這是一款簡單實用的 HTML 部署工具,文件寫得很清楚,指令碼功能齊全,能滿足從新建到版本管理的完整需求。指令碼會自動檢查版本是否被點贊保護,避免誤刪重要內容。不過目前只有基礎功能,缺少更高階的批次操作或使用者指引,文件也可以更豐富一些。總體來說質量不錯,適合經常需要分享單頁面 HTML 的使用者。