将任意网页转换为桌面应用,支持 macOS/Windows/Linux 三大平台。使用 Rust + Tauri 技术栈,生成的应用体积小(约 5MB)、性能高。支持自定义图标、窗口大小、快捷键等丰富配置。
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./skills/web-to-app/web-to-app/SKILL.mdcurl、wget、file、tar首次使用前,需要安装 pake-cli 工具:
npm install -g pake-cli
# 或使用 pnpm(推荐)
pnpm install -g pake-cli收集需求
环境准备
scripts/install_pake.py 检查并安装 pake-cli执行打包
scripts/build_app.py 执行打包输出验证
当需要自定义图标:
当需要高级配置:
--hide-title-bar、--multi-instance)当打包失败:
--debug 参数查看详细日志url:网页 URL(必需)name:应用名称icon:图标路径width:窗口宽度height:窗口高度options:其他可选参数(字典格式)./)生成应用安装包.dmg 安装包(设置 PAKE_CREATE_APP=1 可生成 .app).msi 安装包.deb 或 .AppImage 包--debug 参数查看详细日志--ignore-certificate-errors功能说明:将 GitHub 网页打包成应用 执行方式:脚本调用
from scripts.build_app import build_app
result = build_app(
url="https://github.com",
name="GitHub"
)
# 输出:GitHub.dmg / GitHub_x64.msi / GitHub_x86_64.deb功能说明:自定义窗口大小和图标 执行方式:脚本调用
result = build_app(
url="https://chat.openai.com",
name="ChatGPT",
icon="https://example.com/icon.png",
width=1400,
height=900,
options={
"hide-title-bar": True,
"always-on-top": False
}
)功能说明:允许同时打开多个应用窗口 执行方式:脚本调用
result = build_app(
url="https://example.com",
name="MyApp",
options={
"multi-instance": True,
"activation-shortcut": "CmdOrControl+Shift+P"
}
)生成的应用内置以下快捷键:
| 操作 | macOS | Windows/Linux |
|---|---|---|
| 刷新页面 | ⌘ + R | Ctrl + R |
| 隐藏窗口 | ⌘ + W | Ctrl + W |
| 放大/缩小 | ⌘ + +/- | Ctrl + +/- |
| 重置缩放 | ⌘ + 0 | Ctrl + 0 |
| 复制 URL | ⌘ + L | Ctrl + L |
| 返回首页 | ⌘ + Shift + H | Ctrl + Shift + H |
| 开发者工具 | ⌘ + Option + I | Ctrl + Shift + I(仅调试模式) |
| 清除缓存重启 | ⌘ + Shift + Delete | Ctrl + Shift + Delete |
f595e96
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.