English | 简体中文
Turn any webpage into a desktop app with Rust with ease.
- 🎐 Nearly 40 times smaller than an Electron package (less than 3M!)
- 🚀 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).
WeRead Mac Windows Linux | Twitter Mac Windows Linux |
LiZhi Mac Windows Linux | ChatGPT Mac Windows Linux |
YouTube Mac Windows Linux | XiaoHongShu Mac Windows Linux |
ProgramMusic Mac Windows Linux | CodeRunner Mac Windows Linux |
Flomo Mac Windows Linux | Qwerty Mac Windows Linux |
🏂 You can download more applications (such as YuQue / Reference) from Releases. Click here to expand the shortcuts reference!
Mac | Windows/Linux | Function |
---|---|---|
⌘ [ | Ctrl ← | Return to the previous page |
⌘ ] | Ctrl → | Go to the next page |
⌘ ↑ | Ctrl ↑ | Auto scroll to top of page |
⌘ ↓ | Ctrl ↓ | Auto scroll to bottom of page |
⌘ r | Ctrl r | Refresh Page |
⌘ w | Ctrl w | Hide window, not quite |
⌘ - | Ctrl - | Zoom out the page |
⌘ | Ctrl | Zoom in the page |
⌘ = | Ctrl = | Zoom in the Page |
⌘ 0 | Ctrl 0 | Reset the page zoom |
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.
- 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?
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 --transparent
If you are new to the command line, you can compile packages online with GitHub Actions. See the Tutorial for more information.
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
npm run dev
# Local debug
npm run dev:debug
# Pack application
npm run build
- You can refer to the codebase structure before working on Pake, which will help you much in development.
- Modify the
url
andproductName
fields in thetauri.conf.json
file under the src-tauri directory, as well as theicon
andidentifier
fields in thetauri.xxx.conf.json
file. You can select aicon
from theicons
directory or download one from macOSicons to match your product needs. - For configurations on window properties, you can modify the
tauri.conf.json
file to change the value ofwidth
,height
,fullscreen
(or not),resizable
(or not) of thewindows
property. To adapt to the immersive header on Mac, changetransparent
totrue
, look for theHeader
element, and add thepadding-top
property. - For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see Advanced Usage of Make.
Pake's development can not be without these Hackers. They contributed a lot of capabilities for Pake. Also, welcome to follow them! ❤️
Tw93 |
Tlntin |
Pan93412 |
Volare |
Bryan Lee |
Essesoul |
Horus |
Aiello |
Steam |
孟世博 |
2nthony |
Null |
Ayaka Neko |
Dengju Deng |
Fechin |
Po Chen |
Hyzhao |
Liusishan |
Ranger |
- I have two cats, TangYuan and Coke. If you think Pake delights your life, you can feed them some canned food 🥩.
- If you like Pake, you can star it on GitHub. Also, welcome to recommend Pake to your friends.
- You can follow my Twitter to get the latest news of Pake or join our Telegram chat group.
- I hope that you enjoy playing with it. Let us know if you find a website that would be great for a Mac App!