forked from Sjj1024/PakePlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME_ZH.md
160 lines (131 loc) · 9.17 KB
/
README_ZH.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<h4 align="right">
<a href="https://github.com/Sjj1024/PakePlus">English</a>
<span style="margin: 0 10px;" >中文</span>
<a href="https://github.com/Sjj1024/PakePlus/discussions/108">日本语</a>
</h4>
<p align="center">
<img src="https://github.com/Sjj1024/PakePlus/raw/main/docs/static/imgs/pakeplus.png" width=138/>
</p>
<h1 align="center">PakePlus</h1>
<p align="center"><strong>9分钟就可以将任何网页变成桌面应用和移动应用,简单易用。</strong></p>
<div align="left">PakePlus 支持 Mac、Windows 和 Linux,很快也将支持 Android 和 iOS。无需在本地安装复杂的依赖环境,只需要一个Github Token就可以了,而且PakePlus本身也才仅仅5M左右小大,最新版本下载请看:<a href="[#popular-packages](https://github.com/Sjj1024/PakePlus/releases)">发布地址</a>。或者访问网页版: <a href="https://pakeplus.pages.dev" target="_blank">PakePlus Web</a>。 查看 README 以获取<a href="#popular-packages">热门包</a>和<a href="#development">自定义开发</a>信息。欢迎在<a href=https://github.com/Sjj1024/PakePlus/discussions>讨论区</a>分享你的建议。</div> 加我微信进微信交流群:lanxingme 。
https://github.com/user-attachments/assets/b88bf541-0b26-4020-9eec-da79e1734fc9
## 特性
- 🎐 体积比 Electron 包小约 20 倍(约 5M!),性能快 10 倍。
- 🚀 基于 Rust Tauri,PakePlus 比基于 JS 的框架更轻量、更快。
- 📦 内置丰富功能包——支持快捷方式、沉浸式窗口、极简自定义。
- 👻 PakePlus 只是一个极简的软件,用 Tauri 替代旧的打包方式,支持跨平台桌面,将很快支持手机端。
- 🤗 PakePlus 易于操作使用,只需一个 GitHub Token,即可获得桌面应用。
- 🌹 不需要在本地安装任何复杂的依赖环境,使用 Github Action 云端自动打包。
- 🧑🤝🧑 支持国际化,对全球用户都非常友好,并且会自动跟随你的电脑系统语言。
- 💡 支持自定义 js 注入。你可以编写自己的 js 代码注入到页面中。
- 🎨 ui 界面更美观更友好对新手更实用,使用更舒适,支持中文名称打包。
- 📡 支持网页端直接使用,但是客户端功能更强大,更推荐客户端。
- 🔐 数据安全,你的 token 仅保存在你本地,不会上传服务器,你的项目也都在你自己的 git 中安全存储。
- 🍀 支持静态文件打包,将你的 dist 目录或者 index.html 丢进来即可成为客户端,何必是网站。
- 🐞 支持 debug 调试模式,无论是预览阶段还是发布阶段,都可以找到 bug 并消灭 bug
## 热门包
<img src=https://sjj1024.github.io/PakePlus/static/imgs/preview.webp width=1920/>
PakePLus支持arm和inter架构的安装包,流行的程序安装包仅仅包含了mac的arm和windows的inter架构,如果需要更多架构的安装包,请使用PakePlus单独编译自己需要的安装包。
<table>
<tr>
<td>DeepSeek
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_aarch64.dmg">Mac</a>
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_x64-setup.exe">Windows</a>
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/DeepSeek_0.0.1_amd64.deb">Linux</a>
</td>
<td>X (Twitter)
<a href="https://github.com/codegirle/PakePlus/releases/download/X/X_0.0.1_aarch64.dmg">Mac</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/X/X_0.0.1_x64-setup.exe">Windows</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/X/x_0.0.1_amd64.deb">Linux</a>
</td>
</tr>
<tr>
<td><img src=https://sjj1024.github.io/PakePlus/static/imgs/deepseek.png width=600/></td>
<td><img src=https://sjj1024.github.io/PakePlus/static/imgs/xtwitter.png width=600/></td>
</tr>
<tr>
<td>YouTube
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTuBe/YouTube_0.0.1_aarch64.dmg">Mac</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTuBe/YouTube_0.0.1_x64_en-US.msi">Windows</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/YouTuBe/you-tube_0.0.1_amd64.deb">Linux</a>
</td>
<td>小红书
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_aarch64.dmg">Mac</a>
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_x64-setup.exe">Windows</a>
<a href="https://github.com/Sjj1024/PakePlus/releases/download/OtherFiles/_0.0.1_amd64.deb">Linux</a>
</td>
</tr>
<tr>
<td><img src=https://sjj1024.github.io/PakePlus/static/imgs/youtube.png width=600/></td>
<td><img src=https://sjj1024.github.io/PakePlus/static/imgs/hongshu.png width=600/></td>
</tr>
<tr>
<td>Tiktok
<a href="https://github.com/codegirle/PakePlus/releases/download/TikTok/TikTok_0.0.1_aarch64.dmg">Mac</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/TikTok/TikTok_0.0.1_x64-setup.exe">Windows</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/TikTok/tik-tok_0.0.1_amd64.deb">Linux</a>
</td>
<td>抖音
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/_0.0.1_aarch64.dmg">Mac</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/_0.0.1_x64-setup.exe">Windows</a>
<a href="https://github.com/codegirle/PakePlus/releases/download/Douyin/_0.0.1_amd64.deb">Linux</a>
</td>
</tr>
<tr>
<td><img src=https://sjj1024.github.io/PakePlus/static/imgs/tiktok.png width=600/></td>
<td><img src=https://sjj1024.github.io/PakePlus/static/imgs/douyin.png width=600/></td>
</tr>
</table>
## 开始之前
1.从发布页面下载应用程序:https://github.com/Sjj1024/PakePlus/releases,
双击安装并运行应用程序。
或者使用网页版:<a href="https://pakeplus.pages.dev" target="_blank">PakePlus Web</a>
2.配置 Github Token,并创建一个新项目并进行配置。Token 获取方法:
<a href="https://sjj1024.github.io/PakePlus/index_en.html">English</a> <a href="https://sjj1024.github.io/PakePlus/index_zh.html" style="margin: 0 20px;">简体中文</a><a href="https://sjj1024.github.io/PakePlus/index_ja.html">日本语</a>
```
Github token权限说明:
1.bate版本token需要的权限说明:
All repositories:要fork一个原始模板仓库
Actions:操作github action
Administration:对仓库进行fork和文件管理
Contents:对仓库内容进行添加/删除/修改/查找等操作
Issues:向PakePlus提交问题
2.classic版本需要的token权限说明:
repo:fork和管理模板代码
workflow:编译和发布你的软件
```
3.你可以在客户端中预览应用程序,点击发布按钮打包应用程序。
4.你可以从发布页面下载编译后的应用程序,并实现安装使用。
## 常见问题
1. **Mac 用户可能在安装时看到“应用已损坏”的警告。** 请点击“取消”,然后运行以下命令,再重新打开应用:(这是由于应用需要官方签名,才能避免安装后弹出“应用已损坏”的提示,但官方签名的费用每年 99 美元...因此,需要手动绕过签名以正常使用)
```sh
sudo xattr -r -d com.apple.quarantine /Applications/PakePlus.app
```
2. **当你打包应用时,Mac 用户可能在安装时看到“应用已损坏”的警告。** 请点击“取消”,然后运行以下命令,再重新打开应用:
```sh
sudo xattr -r -d com.apple.quarantine /Applications/YourAppName.app
```
3. **如果您在使用该程序时遇到任何问题,请下载最新版本。** 2025 年之前开发的版本基于 Tauri v1.0,而在 2025 年,Tauri 已升级至 v2.0。如果最新版本仍然存在问题,请提交 Issue 并附上详细信息,以便我们能够更快地更新和解决问题。
4. 当你添加 Github Token 之后,PakePLus 会 Fork 一个 PakePlus 仓库到你的仓库中,以后你的所有项目都会依赖这个仓库创建和编译,请勿删除你的 PakePlus 仓库。
## 开发 PakePlus
如果你想在本地开发 PakePlus,在开始之前,准备好你的环境。确保你已在计算机上安装了 Rust `>=1.63` 和 Node `>=16`(例如 `16.18.1`)。有关安装指南,请参阅 [Tauri 文档](https://tauri.app/v1/guides/getting-started/prerequisites)。
如果你不熟悉这些,最好尝试上述的一键打包工具。
```sh
# 安装依赖
pnpm i
# 本地开发 [右键单击以打开调试模式。]
pnpm run dev
# 打包应用程序
pnpm run build
```
## 支持
1. 微信和群聊
<p align="center" style="display:flex" >
<img src="https://github.com/Sjj1024/PakePlus/raw/main/docs/static/imgs/mywx.png" width=300/>
<img src="https://github.com/Sjj1024/PakePlus/raw/main/docs/static/imgs/wxcode.png" width=300/>
</p>
1. 如果对你有帮,可以请我喝咖啡.
<p align="center" >
<img src="https://github.com/Sjj1024/PakePlus/raw/main/docs/static/imgs/pay.png" />
</p>