想将一个网页变成桌面 App,却不想装 Electron?Pake 让你一条命令搞定。
Pake 是用 Rust + Tauri 构建的开源工具,GitHub 47,625 star,口碑极好。相比 Electron,打包出来的应用体积小得多(通常 10-30MB),运行更轻快。
功能亮点
• 一条命令打包:pake https://chat.openai.com -n ChatGPT
• 体积小:基于 Tauri,比 Electron 轻很多
• 支持 macOS / Windows / Linux
• 预置应用商店:官方已打包好 30+ 常用应用,直接下载就能用
• 自定义图标、窗口大小、UA 等参数
预置应用(直接下载即用)
| 应用 | macOS | Windows | Linux |
|——|——-|———|——-|
| ChatGPT | dmg | msi | deb/AppImage |
| DeepSeek | dmg | msi | deb/AppImage |
| Excalidraw | dmg | msi | deb/AppImage |
| Twitter/X | dmg | msi | deb/AppImage |
| YouTube | dmg | msi | deb/AppImage |
| Gemini | dmg | msi | deb/AppImage |
快速开始
安装 Pake(需要 Node.js):
npm install -g pake-cli
打包任意网页:
pake https://chat.openai.com -n ChatGPT --auto-install
常用参数:
• -n / –name:应用名称
• -i / –icon:自定义图标
• –auto-install:macOS 下自动移入 Applications
• –width / –height:窗口宽高
• –single:单实例模式
Electron vs Pake
| | Electron | Pake |
|–|———|——|
| 体积 | 100MB+ | 10-30MB |
| 内存占用 | 高 | 低 |
| 生态 | 成熟 | 快速成长 |
| 打包语言 | JS | Rust |
技术栈
• Rust
• Tauri
• WebView2(Windows)
• WebKit(macOS/Linux)
—
官网:https://pake.keypi.cn
GitHub:https://github.com/tw93/Pake
Release 下载:https://github.com/tw93/Pake/releases



























暂无评论内容