MyGit
🚩收到GitHub仓库的更新通知

tw93/Pake

Fork: 3386 Star: 22437 (更新于 2024-03-20 22:15:00)

license: MIT

Language: Rust .

🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用

最后发布版本: V2.3.5 ( 2023-11-18 10:22:07)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

English | 简体中文

Pake

Turn any webpage into a desktop app with Rust with ease.

twitter telegram GitHub downloads GitHub commit GitHub closed issues Open in Colab
Pake supports Mac, Windows, and Linux. Check out README for Popular Packages, Command-Line Packaging, and Customized Development information. Feel free to share your suggestions in Discussions.

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 Tauri (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!
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.

Before starting

  1. 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!
  2. For developers: “Command-Line Packaging” supports macOS fully. For Windows/Linux users, it requires some tinkering. Configure your environment before getting started.
  3. 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

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.

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 build

Advanced Usage

  1. You can refer to the codebase structure before working on Pake, which will help you much in development.
  2. Modify the 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.
  3. For configurations on window properties, you can modify the pake.json file to change the value of width, height, fullscreen (or not), resizable (or not) of the windows property. To adapt to the immersive header on Mac, change transparent to true, look for the Header element, and add the padding-top property.
  4. For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see Advanced Usage of Pake.

Developers

Pake's development can not be without these Hackers. They contributed a lot of capabilities for Pake. Also, welcome to follow them! ❤️

tw93
Tw93
Tlntin
Tlntin
jeasonnow
Santree
pan93412
Pan93412
wanghanzhen
Volare
liby
Bryan Lee
essesoul
Essesoul
AielloChan
Aiello
m1911star
Horus
Pake-Actions
Pake Actions
exposir
孟世博
QingZ11
Steam
hetz
贺天卓
piaoyidage
Ranger
liusishan
Liusishan
liudonghua123
Liudonghua
lakca
Null
houhoz
Hyzhao
geekvest
Null
princemaple
Po Chen
Milo123459
Milo
eltociear
Ikko Eltociear Ashimine
Fechin
Fechin
turkyden
Dengju Deng
nekomeowww
Ayaka Neko
kidylee
An Li
imabutahersiddik
Abu Taher Siddik
ACGNnsj
Null
2nthony
2nthony

Support

  1. I have two cats, TangYuan and Coke. If you think Pake delights your life, you can feed them some canned food 🥩.
  2. If you like Pake, you can star it on GitHub. Also, welcome to recommend Pake to your friends.
  3. You can follow my Twitter to get the latest news of Pake or join our Telegram chat group.
  4. I hope that you enjoy playing with it. Let us know if you find a website that would be great for a Mac App!

最近版本更新:(数据更新于 2024-03-27 23:13:55)

2023-11-18 10:22:07 V2.3.5

2023-08-28 20:33:29 V2.3.2

2023-08-08 15:22:25 V2.3.0

2023-07-21 00:21:49 V2.2.0

2023-07-21 00:00:07 V2.2.0-beta

2023-06-04 16:17:39 V2.0.6

2023-04-29 15:51:47 V2.0.0

2023-04-09 08:37:25 V2.0.0-alpha

2023-03-26 10:41:16 V1.0.8

2023-03-23 23:27:54 V1.0.7

主题(topics):

chatgpt, gpt-4, high-performance, linux-desktop, mac, mac-desktop, music, no-electron, open, openai, poe, productivity, programming, rust, tauri, twitter, webview, windows-desktop, youtube

tw93/Pake同语言 Rust最近更新仓库

2024-03-28 18:31:28 rerun-io/rerun

2024-03-27 17:22:53 FuelLabs/sway

2024-03-27 09:22:07 lapce/lapce

2024-03-26 17:19:50 cowprotocol/services

2024-03-26 16:35:52 rust-lang/rust-analyzer

2024-03-26 06:44:47 bootandy/dust