Skip to main content

html-asset-toolkit

Package HTML and static frontend builds into one portable single-file HTML by embedding local assets (images, CSS, JS, fonts, audio, video, GLB, STL, WASM) as Base64/Data URLs or inline tags. Also extracts embedded assets back into editable files and renames them using surrounding context. Use whenever the user wants a self-contained, offline, no-assets-folder HTML artifact — course demos, 课件, 百宝箱 HTML, 离线演示, 交互式学习页面, React/Vue/Vite/CRA/webpack build packaging — or asks to extract/inline/rename assets, estimate size, preview locally, or split inline style/script blocks. Triggers on phrases like 内联CSS, 内联JS, 把CSS嵌入HTML, 单文件HTML, inline styles, inline scripts, inline CSS/JS files into HTML. Even if they don't say "single-file", trigger when the goal is an HTML that opens anywhere with no external files. Supersedes the legacy inline-html-assets skill (CSS/JS-only inlining is handled by --no-images-style equivalent flags here).

跳到安装

来源信息

仓库
techdou/html-asset-toolkit
最近来源活动
2026年7月27日 21:30
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。