English | 简体中文
Simply make any web page a desktop application using rust.
🏂 Small:Nearly 40 times smaller than Electron package, less than 3M.
😂 Fast:Using the Rust Tauri, it`s much lighter and faster than JS.
🩴 Special:Not just packaged, with shortcut pass-through, immersive windows, minimalist customization.
🐶 Toy:Just a simple way to play with Rust instead of the old idea of shelling the web.
WeRead Mac Windows Linux | Twitter Mac Windows Linux |
LiZhi Mac Windows Linux | YouTube Mac Windows Linux |
Qwerty Mac Windows Linux | Reference Mac Windows Linux |
Library Mac Windows Linux | ChatGPT Mac Windows Linux |
🏂More applications such as Flomo / YuQue / RunCode can be downloaded from Release, click to expand shortcut descriptions
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, it supports double-clicking the head to switch to full screen, Mac users support gesture mode to return and go to the next page, and dragging the head to move the window.
- Beginner users: Use the 「Download」 method to play with Pake's capabilities, go to discussion groups for help, or try the Github Actions method.
- Development users: Use 「command line packing」, Mac friendly, Windows/Linux requires a bit of tinkering, but both require environment configuration.
- Hacker users: If you know both front-end and rust, try the following custom development, which allows you to customize your features with deep secondary development.
Pake provides a command line tool that makes it quicker and easier to customize the packages you need, as detailed in documentation.
// Install with npm
npm install -g pake-cli
// Command usage
pake url [options]
// Play casually, first time due to the installation environment will be a little slow
pake https://weekly.tw93.fun --name Weekly --transparent
If you are a little white who doesn't know how to use the command line, a good option is to use GitHub Actions online compilation, see the tutorial.
Before starting, make sure that the computer has installed the Rust >=1.63
and Node >=16 as 16.18.1
environment,refer to the Tauri documentation to quickly configure your environment before you start. If you don't understand, it will be more appropriate to use the above command line 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
- The code structure can be referred to Here, it is convenient for you to learn more before development.
- Modify the
tauri.conf.json
andtauri.xxx.conf.json
in thesrc-tauri
directory to include 4 fieldsurl, productName, icon, identifier
, icon can be selected from theicons
directory or downloaded from macOSicons to match the product. - For window property settings, you can modify the
width/height
of thewindows
property intauri.conf.json
, whether it isfullscreen
, whether it isresizable
, If you want to adapt the immersive header under Mac, you can settransparent
totrue
and then find header element and add thepadding-top
style. - About style rewriting, advertising shielding, js injection, container message communication, and user-defined shortcut keys, you can see Advanced Usage of Make.
Pake's development can not be separated from these Hackers, together contributed a lot of ability, also welcome to follow them ❤️
Tw93 |
Tlntin |
Pan93412 |
Volare |
Bryan Lee |
Essesoul |
Horus |
Aiello |
Steam |
2nthony |
Ayaka Neko |
Dengju Deng |
Fechin |
Po Chen |
Hyzhao |
Liusishan |
Ranger |
- I have two cats, one is called TangYuan, and one is called Coke, If you think Pake makes your life better, you can give my cats feed canned food 🥩🍤.
- If you like Pake, you can star it in Github. Also welcome to recommend Pake to your friends.
- You can follow my Twitter to get the latest news of Pake, or join Telegram chat group.
- I hope that you will enjoy playing with it. If you find a page that would be great for a Mac App, please let me know.