tw93 / Pake

tw93 / Pake

Pake: Turn any webpage into a desktop app with one command, supports macOS, Windows, and Linux. Pake:通过一条命令将任何网页转换为桌面应用,支持 macOS、Windows 和 Linux。

Features

功能特点

  • 🎐 Lightweight: Nearly 20 times smaller than Electron packages, typically around 5M.

  • 🎐 轻量: 体积比 Electron 包小近 20 倍,通常在 5M 左右。

  • 🚀 Fast: Built with Rust Tauri, much faster than traditional JS frameworks with lower memory usage.

  • 🚀 快速: 基于 Rust Tauri 构建,比传统的 JS 框架快得多,且内存占用更低。

  • ⚡ Easy to use: One-command packaging via CLI or online building, no complex configuration needed.

  • ⚡ 易用: 通过 CLI 或在线构建即可一键打包,无需复杂的配置。

  • 📦 Feature-rich: Supports shortcuts, immersive windows, drag & drop, style customization, ad removal.

  • 📦 功能丰富: 支持快捷键、沉浸式窗口、拖拽、样式自定义、去广告等功能。


Getting Started

快速开始

  • Beginners: Download ready-made Popular Packages or use Online Building with no environment setup required.

  • 初学者: 下载现成的热门应用包,或使用在线构建,无需配置任何环境。

  • Developers: Install CLI Tool for one-command packaging of any website with customizable icons, window settings, and more.

  • 开发者: 安装 CLI 工具,即可一键打包任何网站,并支持自定义图标、窗口设置等。

  • Advanced Users: Clone the project locally for Custom Development, or check Advanced Usage for style customization and feature enhancement.

  • 进阶用户: 克隆项目到本地进行二次开发,或查看高级用法以进行样式定制和功能增强。

  • Troubleshooting: Check FAQ for common issues and solutions.

  • 故障排除: 查看常见问题解答(FAQ)以获取常见问题的解决方案。


热门应用包

(WeRead, Twitter, Grok, DeepSeek, ChatGPT, Gemini, YouTube Music, YouTube, LiZhi, ProgramMusic, Excalidraw, XiaoHongShu) (微信读书、Twitter、Grok、DeepSeek、ChatGPT、Gemini、YouTube Music、YouTube、荔枝、ProgramMusic、Excalidraw、小红书)

🏂 You can download more applications from Releases. 🏂 你可以在 Releases 页面下载更多应用。


Shortcuts Reference

快捷键参考

Click here to expand the shortcuts reference! 点击此处展开快捷键参考!

  • Mac: ⌘ + [ / ⌘ + ] (Previous/Next page), ⌘ + r (Refresh), ⌘ + w (Hide window), etc.
  • Mac: ⌘ + [ / ⌘ + ](上一页/下一页),⌘ + r(刷新),⌘ + w(隐藏窗口)等。
  • Windows/Linux: Ctrl + ← / Ctrl + → (Previous/Next page), Ctrl + r (Refresh), Ctrl + w (Hide window), etc.
  • Windows/Linux: Ctrl + ← / Ctrl + →(上一页/下一页),Ctrl + r(刷新),Ctrl + w(隐藏窗口)等。

In addition, double-click the title bar to switch to full-screen mode. For Mac users, you can also use the gesture to go to the previous or next page and drag the title bar to move the window. The new menu also offers options for navigation, zoom, and window controls. 此外,双击标题栏可切换至全屏模式。Mac 用户还可以使用手势进行页面导航,并拖动标题栏移动窗口。新的菜单还提供了导航、缩放和窗口控制选项。


Command-Line Packaging

命令行打包

# Install Pake CLI
# 安装 Pake CLI
pnpm install -g pake-cli

# Basic usage - automatically fetches website icon
# 基础用法 - 自动获取网站图标
pake https://github.com --name GitHub

# Advanced usage with custom options
# 高级用法 - 自定义选项
pake https://weekly.tw93.fun --name Weekly --icon https://cdn.tw93.fun/pake/weekly.icns --width 1200 --height 800 --hide-title-bar

First-time packaging requires environment setup and may be slower, subsequent builds are fast. For complete parameter documentation, see CLI Usage Guide. Don’t want to use CLI? Try GitHub Actions Online Building. 首次打包需要环境配置,速度可能较慢,后续构建会很快。完整的参数文档请参阅 CLI 使用指南。不想使用 CLI?试试 GitHub Actions 在线构建。


Development

开发

Requires Rust >=1.85 and Node >=22 (recommended LTS; >=18 also works). For detailed installation guide, see Tauri documentation. If unfamiliar with development environment, use the CLI tool instead. 需要 Rust >=1.85 和 Node >=22(推荐 LTS 版本;>=18 也可)。详细安装指南请参阅 Tauri 文档。如果不熟悉开发环境,请直接使用 CLI 工具。

# Install dependencies
# 安装依赖
pnpm i

# Local development [right-click to open debug mode]
# 本地开发 [右键打开调试模式]
pnpm run dev

# Build application
# 构建应用
pnpm run build

For style customization, feature enhancement, container communication and other advanced features, see Advanced Usage Documentation. 关于样式定制、功能增强、容器通信及其他高级功能,请参阅高级用法文档。


Support

支持

The most direct way to support me is getting Mole for Mac, my paid Mac cleanup app. If Pake helped you, share it with friends or give it a star. Got ideas or bugs? Open an issue or PR, feel free to contribute your best AI model. 支持我最直接的方式是购买我的 Mac 清理应用 Mole for Mac。如果 Pake 对你有帮助,请分享给朋友或点个 Star。有想法或发现 Bug?欢迎提交 Issue 或 PR,也欢迎贡献你最喜欢的 AI 模型。

I have two cats, TangYuan and Coke. If you think Pake delights your life, you can feed them canned food 🥩. 我有两只猫,汤圆和可乐。如果你觉得 Pake 让你的生活更美好,可以给它们买罐头 🥩。


License

许可

Pake is open source under GPL-3.0, see LICENSE and Pake Output Exception; apps you build with Pake are entirely yours to use and distribute. If you fork Pake into your own product, to avoid confusion please give it a different name and credit Pake as the source. Pake 基于 GPL-3.0 开源,详见 LICENSE 和 Pake 输出异常说明;你使用 Pake 构建的应用完全归你所有,可自由使用和分发。如果你将 Pake 分叉(Fork)为自己的产品,为避免混淆,请使用不同的名称并注明 Pake 为来源。