Turn any webpage into a desktop app with Rust. 利用 Rust 轻松构建轻量级多端桌面应用.
Turn any webpage into a desktop app with Rust with ease.
Features
- 🎐 Nearly 20 times smaller than an Electron package (around 5M!)
- 🚀 With Rust Tauri, Pake is much more lightweight and faster than JS-based frameworks.
- 📦 Battery-included package — shortcut pass-through, immersive windows, and minimalist customization.
- 👻 Pake is just a simple tool — replace the old bundle approach with Rust (though PWA is good enough).
Popular Packages
| WeRead Mac Windows Linux | Twitter Mac Windows Linux |
![]() |
![]() |
| ChatGPT Mac Windows Linux | Poe Mac Windows Linux |
![]() |
![]() |
| YouTube Music Mac Windows Linux | YouTube Mac Windows Linux |
![]() |
![]() |
| LiZhi Mac Windows Linux | ProgramMusic Mac Windows Linux |
![]() |
![]() |
| Qwerty Mac Windows Linux | CodeRunner Mac Windows Linux |
![]() |
![]() |
| Flomo Mac Windows Linux | XiaoHongShu Mac Windows Linux |
![]() |
![]() |
🏂 You can download more applications from Releases. Click here to expand the shortcuts reference!
Before starting
- For beginners: Play with Popular Packages to find out Pake's capabilities, or try to pack your application with GitHub Actions. Don't hesitate to reach for assistance at Discussion!
- For developers: “Command-Line Packaging” supports macOS fully. For Windows/Linux users, it requires some tinkering. Configure your environment before getting started.
- For hackers: For people who are good at both front-end development and Rust, how about customizing your apps' function more with the following Customized Development?
Command-Line Packaging
Pake provides a command line tool, making the flow of package customization quicker and easier. See documentation for more information.
# Install with npm
npm install -g pake-cli
# Command usage
pake url [OPTIONS]...
# Feel free to play with Pake! It might take a while to prepare the environment the first time you launch Pake.
pake https://weekly.tw93.fun --name Weekly --transparentIf you are new to the command line, you can compile packages online with GitHub Actions. See the Tutorial for more information.
Development
Prepare your environment before starting. Make sure you have Rust >=1.63 and Node >=16 (e.g., 16.18.1) installed on your computer. For installation guidance, see Tauri documentation.
If you are unfamiliar with these, it is better to try out the above tool to pack with one click.
# Install Dependencies
npm i
# Local development [Right-click to open debug mode.]
npm run dev
# Pack application
npm run buildAdvanced Usage
- You can refer to the codebase structure before working on Pake, which will help you much in development.
- Modify the
urlandproductNamefields in thepake.jsonfile under the src-tauri directory, the "domain" field in thetauri.config.jsonfile needs to be modified synchronously, as well as theiconandidentifierfields in thetauri.xxx.conf.jsonfile. You can select aiconfrom theiconsdirectory or download one from macOSicons to match your product needs. - For configurations on window properties, you can modify the
pake.jsonfile to change the value ofwidth,height,fullscreen(or not),resizable(or not) of thewindowsproperty. To adapt to the immersive header on Mac, changetransparenttotrue, look for theHeaderelement, and add thepadding-topproperty. - For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see Advanced Usage of Pake.
from https://github.com/tw93/Pake
-----
Pake
Pake,一个开源的项目,很简单的用 Rust 打包网页生成很小的 Mac App,底层使用 Tauri,支持微信读书 Mac版、Flomo、ToolsFun、Witeboard、Vercel、即刻、RoamResearch等,下载dmg安装包打开直接安装。
Pake特征
🏂 小:相比传统的 Electron 套壳打包,大小要小将近 50 倍,一般不到 2M
😂 快:Pake 的底层使用的 Rust Tauri 框架,性能体验较 JS 框架要轻快不少,内存小很多
🩴 特:不是单纯打包,实现了通用快捷键的透传、沉浸式的窗口、拖动、打包样式兼容
🐶 玩:只是一个很简单的小玩具,用 Rust 替代之前套壳网页老的思路玩法,PWA 也很好,友好交流勿喷
微信读书 Mac版下载
微信读书Mac版:https://github.com/tw93/Pake/raw/master/download/WeRead.dmg
GitHub地址:https://github.com/tw93/Pake
------------------
把任意网站制作成桌面客户端程序:Pake
有些网站没有提供桌面客户端程序,如果你想要把网站或者自己的博客制作成桌面端程序的需求,给大家推荐这个「Pake」开源的工具,它提供支持 Mac / Windows / Linux。
据介绍是基于 Rust 编程语言开发,提供了一种简单而高效的方式,并且支持定制开发。项目作者也提供了一些编译成客户端的案例,例如:微信读书、小红书等。
功能特色
相比传统的 Electron 套壳打包,要小将近 20 倍,5M 上下。
Pake 的底层使用的 Rust Tauri 框架,性能体验较 JS 框架要轻快不少,内存小很多。
不是单纯打包,实现了快捷键的透传、沉浸式的窗口、拖动、样式改写、去广告、产品的极简风格定制。
只是一个很简单的小玩具,用 Tauri 替代之前套壳网页打包的老思路,其实 PWA 也很好。
开始之前
小白用户:使用 「常用包下载」 方式来把玩 Pake 的能力,可去 讨论群 寻求帮助,也可试试 Action 方式。
开发用户:使用 「命令行一键打包」,对 Mac 比较友好,Windows / Linux 需折腾下 环境配置。
折腾用户:假如你前端和 Rust 都会,那可试试下面的 「定制开发」,可深度二次开发定制你的功能。
在线编译
如果你是新手小白,可以直接用 Github 在线编译的方式,先 Fork 项目,然后前往 Actions 界面,选择 Build App with Pake-Cli,填写表单信息,点击 Run Workflow 即可。
项目地址:
https://github.com/tw93/Pake/fork
出现绿色小图标则代表打包成功,可以点击 Build App with Pake-Cli 查看打包详情和附件。
这里锋哥简单的编译了 xiaoyi 的博客,不过需要自定义项,如:样式改写、屏蔽广告、逻辑代码注入、容器消息通信、自定义快捷键等等,就需要你会一定的开发能力了,具体可以看作者的项目介绍。
项目地址:
https://github.com/tw93/Pake/blob/master/README_CN.md
--------------------------------------------
Turn any webpage/HTML/Vue/React and so on into desktop and mobile app under 5M with easy in few minutes. 轻松将任意网站/HTML/Vue/React等项目构建为轻量级(小于5M)多端桌面应用和手机应用仅需几分钟. https://ppofficial.netlify.app
Turn any webpage/Vue/React and so on into desktop and mobile app under 5M with easy in few minutes
Due to individuals using this project to package illegal software, which violates its intended purpose, the front-end code will no longer be open-source. If such behavior is found again, all code in this project will cease to be open-source. Please use this software legally and responsibly, or bear the consequences.
YouTube.mp4
PakePlus is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring PakePlus's development.
- 💎 Approximately 20 times smaller than Electron (less than 5MB!) and 10 times faster.
- 🚀 Built with Rust Tauri, PacBao is lighter and faster than JavaScript-based frameworks.
- 📦 Comes with rich built-in features — supports shortcuts, immersive windows, and minimalist customization.
- 👻 PacBao is a minimalist tool that replaces traditional packaging with Tauri for cross-platform desktop apps.
- 📲 Uses native frameworks to package Android and iOS apps — smaller and faster than Tauri2.
- 🤗 Easy to use — just one GitHub Token is all you need to get a desktop app.
- 🌹 No need to install complex dependencies locally — use GitHub Actions for cloud-based automatic packaging.
- 🧑🤝🧑 Internationalization support — automatically follows your system language.
- 💡 Supports custom JavaScript injection — write your own JS to inject into the page.
- 🎨 Beautiful and user-friendly UI — better experience for beginners, supports Chinese names for packaging.
- 📡 Usable directly via the web, but the client offers stronger functionality and is recommended.
- 🔐 Data security — your token is stored only locally, and your project stays safely in your own Git repo.
- 🍔 Supports local packaging and does not require installation of any dependent environments. Local packaging only takes 30 seconds
- 🥥 It's okay without Github Token, local packaging is simple and convenient, and no Token is needed
- ⚔️ Support calling system level APIs in JS scripts, such as downloading files/executing commands/opening new windows, etc
- 🍀 Supports static file packaging — drop in a compiled dist folder or index.html from Vue/React to create a client app.
- 🐞 Debug mode supported — find and eliminate bugs during preview or release.
- 💬 If you run into any issues, feel free to join our technical community for help.
- Have a website? Instantly turn it into a app and elevate its appearance.
- Have a Vue/React project and don’t want to buy a server? Package it as a desktop app.
- Want your Cocos game to run as a cross-platform client? No problem.
- Need to build your Unity project as a cross-platform client? Also no problem.
- Hide your website address from casual sharing or bots scraping your content.
- For internal company platforms — restrict access to your site via a dedicated client only.
- Turn any website into your custom client — inject JS for automation and custom features.
- Annoyed by website ads? Hide them with powerful JS.
- Want to use Tauri2 but the environment is too heavy? Use PacBao instead!
- Download the app from the release page:https://github.com/Sjj1024/PakePlus/releases,
double-click to install, and run the app. or visit web:
- Configure GitHub token or use local packaging, create a new project, and set up the configurations. get token guide. (When using this software, please comply with relevant laws and regulations. If you use GitHub token to use this project, it will automatically star the project and the compilation results will be counted for success or failure to improve the project and obtain feedback. Packaging is for personal use only and should not be disseminated or used for commercial purposes. The packaged resources will be stored in your own Github open source repository and can be viewed by anyone. Therefore, please strictly follow the Github usage guidelines, otherwise you will be responsible for the consequences)
Explanation of Github Token permissions:
1. For the beta version, token permissions required:
All repositories: Fork an original template repository
Actions: Manage GitHub actions
Administration: Fork and manage files in the repository
Contents: Add, delete, modify, and find repository contents
Issues: Submit issues to PacBao
1. For the classic version, token permissions required:
repo: Fork and manage template code
workflow: Compile and release your software
- You can preview the app in a new window and click the publish button to package the app.
- You can download the app from the release page.
- Mac users may see an “App is damaged” warning on installation. click cancel and Run the following command, then reopen the app:(This is because the application requires an official signature to avoid the prompt of "The application is damaged" popping up after installation. However, the cost of the official signature is $99 per year... Therefore, it is necessary to manually bypass the signature to use it normally)
sudo xattr -r -d com.apple.quarantine /Applications/PacBao.app- When you package the app, Mac users may see an “App is damaged” warning on installation. click cancel and Run the following command, then reopen the app:
sudo xattr -r -d com.apple.quarantine /Applications/YourAppName.app-
If you encounter any issues while using the program, please download the latest version, as versions developed before 2025 were based on Tauri v1.0. In 2025, Tauri was upgraded to v2.0. If the latest version still has issues, please submit an issue with detailed information so that we can update and resolve it more quickly.
-
After you add the GitHub Token, PacBao will fork a PacBao repository into your own repository. All your future projects will rely on this repository for creation and compilation, so please do not delete your PacBao repository.
If you want to Contribution PacBao, ensure your environment is prepared beforehand. Make sure Rust >=1.63 and Node >=16 (e.g., 16.18.1) are installed on your computer. For installation guidance, please refer to the Tauri Documentation.
If you’re unfamiliar with these, it’s best to try the one-click packaging tool above.
# Install dependencies
pnpm i
# Local development [Right-click to open debug mode.]
pnpm run dev
# Package the app
pnpm run build
All work is conducted openly on GitHub. Whether you are a core team member or an external contributor, all Pull Requests must go through the same review process.
from https://github.com/Sjj1024/PakePlus













No comments:
Post a Comment