Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xieweixie/ppack

足够简单的将任意网页打包成 Mac 应用
https://github.com/xieweixie/ppack

app chat-gpt mac rayso webview weread

Last synced: about 1 month ago
JSON representation

足够简单的将任意网页打包成 Mac 应用

Awesome Lists containing this project

README

        


简体中文


PPack


用 Go 打包网页生成 Mac 桌面 应用


原理:使用 webview 将目标网页打包成可执行文件,再根据 Mac 应用的构成,设置对应的图标和应用说明,打包成 dmg 格式的文件

## 特征

- 小,非常小,足够小
- 快,非常快,足够快
- 简单,非常简单,足够简单


APP
SIZE
LINK


WeRead
1.9 MB
WeRead.dmg


DouYin
2.6 MB
DouYin.dmg


Typst
1.9 MB
Typst.dmg


XiaoHongShu
1.9 MB
XiaoHongShu.dmg


RaySo
2 MB
RaySo.dmg


ChatGPT
2.3 MB
ChatGPT.dmg


Godoc
1.9 MB
Godoc.dmg


Httpie
1.8 MB
HTTPIE.dmg
























## 使用

```shell

make app URL=https://weread.qq.com/ APP_NAME=weread ICON_NAME=weread.icns

make app URL=https://www.xiaohongshu.com/ APP_NAME=xiaohongshu ICON_NAME=xiaohongshu.icns

make app URL=https://typst.app/ APP_NAME=typst ICON_NAME=typst.icns

make app URL=https://www.douyin.com/ APP_NAME=douyin ICON_NAME=app.icns

make app URL=https://ray.so/ APP_NAME=rayso ICON_NAME=raycast.icns

make app URL=https://chat.openai.com/ APP_NAME=chatgpt ICON_NAME=chatgpt.icns

make app URL=https://weibo.com/ APP_NAME=weibo ICON_NAME=weibo.png
```

- URL 目标网站
- APP_NAME 应用名称
- ICON_NAME 应用图标

## 图标

- [iconFinder](https://www.iconfinder.com/)
- [macosIcons](https://macosicons.com/#/)

## 自制图标

- [Bakery - Simple Icon Creator](https://apps.apple.com/us/app/bakery-simple-icon-creator/id1575220747?mt=12)

## 示例

常见打包示例


WeRead




WeRead

DouYin




DouYin

Typst




Typst

XiaoHongShu




XiaoHongShu

RaySo




RaySo

ChatGPT




ChatGPT

Godoc




Godoc

Httpie




Httpie