Turn any webpage into a desktop app with Rust with ease .
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.
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 --hide-title-bar
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.89
and Node
>=22
(e.g.,
22.11.0
) installed on your computer.
Note: Older versions (Rust ≥1.78, Node ≥16) may also work but latest stable versions are recommended.
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 build
url
and
productName
fields in the
pake.json
file under the src-tauri directory, the "domain" field in the
tauri.config.json
file needs to be modified synchronously, as well as the
icon
and
identifier
fields in the
tauri.xxx.conf.json
file. You can select an
icon
from the
icons
directory or download one from
macOSicons
to match your product needs.
pake.json
file to change the value of
width
,
height
,
fullscreen
(or not),
resizable
(or not),
hide_on_close
(hide window on close instead of exiting) of the
windows
property. To adapt to the immersive header on Mac, change
hideTitleBar
to
true
, look for the
Header
element, and add the
padding-top
property.
Pake's development can not be without these Hackers. They contributed a lot of capabilities for Pake. Also, welcome to follow them! ❤️