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).

Zur Installation springen

Quellinformationen

Repository
techdou/html-asset-toolkit
Letzte Quellaktivität
27. Juli 2026 um 21:30
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.