Introduction¶
After building a frontend or utility page, a common need is to hand it to Windows users as a “double-click-and-go” experience, rather than asking them to install Node or spin up a local server. Manually wrapping things with Electron or NW.js means maintaining dependencies and build pipelines; for pure static sites that just need a shell, you often want an Agent to produce a .exe directly from natural language instructions.
This post introduces the “Package HTML to EXE” skill on SkillHub (ID: @user_af3b8a3f/exeify-web2exe, current version 0.7.2, community-sourced). It encodes the open-source packager Exeify into a standard SKILL.md workflow: on Windows, the assistant confirms the web source and window options, invokes exeify.exe from the same directory, and produces a standalone exe that renders via the system’s WebView2—requiring no installation for end users. The same command can optionally output an Android APK as well.
What This Is¶
One-line summary: A web packaging Skill for AI assistants that wraps Exeify’s pack subcommand, turning a local HTML/CSS/JS directory or an online URL into a Windows executable (with optional APK output).
- Publishing & listing: A SkillHub community skill, published by
user_af3b8a3f, categorized underdev-programming, taggedrequires_api_key=false(no API Key needed). - Underlying project: Exeify (project homepage: https://github.com/44886/Exeify ); the Skill embeds or ships with
exeify.exe, placed in the same directory asSKILL.md. - Runtime environment: The packager runs on Windows only; the resulting exe relies on WebView2, which is bundled with Windows 10/11. macOS / Linux cannot execute the packaging step.
Core Features¶
The following details are drawn from the Skill’s SKILL.md and the SkillHub page description; apply as needed.
Input source (pick one)
- A local web folder (default entry is
index.html; use--entryto specify another file). - An online
http/httpsURL (requires network access at runtime).
Windows exe
- Double-click to run; embeds WebView2; end users need no additional runtime installation.
- Window: title (auto-reads
<title>from the entry page if unspecified), default size 1024×720,--windowsupports normal / maximized / fullscreen, and--no-resizableis available. - Appearance: app icon (
--icon), splash screen with background color, minimum display duration (--splashfamily). - Source protection is enabled by default (embedded resource encryption and disable “view source”); use
--no-protectto turn it off for debugging.
Android APK (optional)
- The same
packinvocation can additionally output an APK via--apk, with no local Android SDK required. - Most options (app name, icon, splash screen, fullscreen, etc.) are shared with the exe; the package name is auto-generated, a built-in key signs the APK, making it suitable for sideloading or internal distribution.
- APK requires Android 7+ system WebView; since v0.7.1, frontend routing fallback aligns with the exe’s built-in server behavior; since v0.7.2, fullscreen and status-bar avoidance behavior are explicitly documented (see SKILL docs).
Assistant-side behavior
- Trigger phrases cover both Chinese and English, e.g.: “package into exe”, “convert webpage to exe”, “turn a URL into a desktop app”, “website to exe”, “convert webpage to apk”, etc. (full list in the Skill’s description field).
- When parameters are missing, the assistant asks the user to confirm the source path, output filename, window and protection options rather than guessing.
Installation & Activation¶
Follow SkillHub’s official instructions for the installation flow: first ensure the skillhub CLI is available, then install the skill into the current Agent’s skills directory (without --dir, it defaults to ./skills/, which the assistant may not recognize).
Check whether the CLI is installed:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub docs to install (full version or CLI-only):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install this Skill (replace <skills dir> with your environment’s path):
skillhub install @user_af3b8a3f/exeify-web2exe --dir <skills dir>
Common Agent skills directories (from SkillHub’s installation docs):
| Environment | Directory example |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Gemini CLI | ~/.gemini/skills/ |
After installation, verify that exeify.exe exists in the skill directory (some distribution packages include it with the Skill; if missing, download exeify-*-windows-x64.exe from https://github.com/44886/Exeify/releases/latest, rename it to exeify.exe, and place it in that directory). After modifying the skills directory, refresh or restart per your client’s requirements to activate the new Skill.
Typical Usage¶
On Windows, the assistant resolves exeify.exe from the directory containing SKILL.md, constructs the pack command, and executes it. The core forms are as follows.
Local directory, outputting both exe and APK:
exeify.exe pack --local "D:\site" --out "D:\site\app.exe" --apk "D:\site\app.apk"
Local directory, fullscreen with a custom icon and title:
exeify.exe pack --local "D:\site" --out "D:\site\app.exe" --title "My App" --window fullscreen --icon "D:\logo.ico"
Non-default entry page:
exeify.exe pack --local "D:\site" --entry "dist/index.html" --out "D:\app.exe" --apk "D:\app.apk"
Online URL, fixed window size with source protection disabled (for debugging):
exeify.exe pack --url https://example.com --out "D:\demo.exe" --width 1280 --height 800 --no-protect
On success, stdout prints OK: <output path> with exit code 0; on failure, stderr prints Error: <reason> with exit code 1 or 2. The assistant should verify that the .exe / .apk actually exists on disk before reporting back to the user. For the full parameter table and defaults, see SKILL.md within the Skill, or run exeify.exe pack --help locally.
Use Cases & Cautions¶
Who it’s for
- Developers on Windows who need to deliver static pages, small utility pages, or intranet H5 apps to non-technical users as double-clickable executables.
- Teams that prefer a conversational Agent to fill in paths and window parameters rather than hand-writing a packaging script every time.
- Projects that need a Windows exe from the same web assets, with an optional Android sideload APK as a bonus.
Limitations & gotchas
- The packaging step must run on Windows; on non-Windows environments, the assistant should clearly state that the packaging step cannot be executed.
- Local directory mode embeds site files into the exe, so the size grows with assets; URL mode depends on network availability.
- Source protection raises the barrier but is not absolute reverse-engineering protection; sensitive logic should not rely solely on the default protection.
- The GitHub release check is optional; when network connectivity is poor (e.g., mainland China), the Skill silently skips it and uses the bundled
exeify.exefor offline packaging. - The SkillHub page lists this skill’s rating as 100000 and approximately 856 downloads (statistics change as SkillHub updates).
Conclusion¶
“Package HTML to EXE” codifies Exeify’s CLI contract, parameter table, and success/failure criteria into a Skill, enabling the assistant to follow a fixed workflow for “web packaging” and “webpage to exe / apk” intents—reducing missed output-path questions and accidental execution in non-Windows environments.
Official listing links:
- Skill API:
https://api.skillhub.cn/user_af3b8a3f/exeify-web2exe - SkillHub page:
https://www.skillhub.cn/skills/user_af3b8a3f/exeify-web2exe - Installation docs index:
https://skillhub.cn/install/skillhub.md