{"id":23862755,"url":"https://github.com/xieweixie/ppack","last_synced_at":"2025-09-08T10:33:35.074Z","repository":{"id":147940358,"uuid":"616744348","full_name":"XieWeiXie/PPack","owner":"XieWeiXie","description":"足够简单的将任意网页打包成 Mac 应用","archived":false,"fork":false,"pushed_at":"2024-07-24T06:48:22.000Z","size":8563,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T05:44:36.359Z","etag":null,"topics":["app","chat-gpt","mac","rayso","webview","weread"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XieWeiXie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-21T01:48:25.000Z","updated_at":"2025-05-27T06:52:09.000Z","dependencies_parsed_at":"2024-07-24T08:18:09.381Z","dependency_job_id":null,"html_url":"https://github.com/XieWeiXie/PPack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/XieWeiXie/PPack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XieWeiXie%2FPPack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XieWeiXie%2FPPack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XieWeiXie%2FPPack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XieWeiXie%2FPPack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XieWeiXie","download_url":"https://codeload.github.com/XieWeiXie/PPack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XieWeiXie%2FPPack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274171236,"owners_count":25234846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app","chat-gpt","mac","rayso","webview","weread"],"created_at":"2025-01-03T07:23:48.951Z","updated_at":"2025-09-08T10:33:34.358Z","avatar_url":"https://github.com/XieWeiXie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch4 align=\"right\"\u003e\u003cstrong\u003e\u003ca href=\"https://github.com/XieWeiXie/PPack\"\u003e\u003c/a\u003e\u003c/strong\u003e简体中文\u003c/h4\u003e\n\u003ch1 align=\"center\"\u003ePPack\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003e用 Go 打包网页生成 Mac 桌面 应用\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"left\"\u003e\u003cstrong\u003e原理：使用 webview 将目标网页打包成可执行文件，再根据 Mac 应用的构成，设置对应的图标和应用说明，打包成 dmg 格式的文件\u003c/strong\u003e\u003c/p\u003e\n\n\n## 特征\n\n- 小，非常小，足够小\n- 快，非常快，足够快\n- 简单，非常简单，足够简单\n\n\u003cbody\u003e\n\u003ctable align=\"left\"\u003e\n    \u003ctr align=\"left\"\u003e\n        \u003cth\u003e APP \u003c/th\u003e\n        \u003cth\u003e SIZE \u003c/th\u003e\n        \u003cth\u003e LINK\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr align=\"left\"\u003e\n        \u003ctd\u003e WeRead \u003c/td\u003e\n        \u003ctd\u003e 1.9 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/WEREAD.dmg\"\u003e WeRead.dmg \u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr align=\"left\"\u003e\n        \u003ctd\u003e DouYin \u003c/td\u003e\n        \u003ctd\u003e 2.6 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/DOUYIN.dmg\"\u003e DouYin.dmg \u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr align=\"left\"\u003e\n        \u003ctd\u003e Typst \u003c/td\u003e\n        \u003ctd\u003e 1.9 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/TYPST.dmg\"\u003e Typst.dmg \u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr align=\"left\"\u003e\n        \u003ctd\u003e XiaoHongShu \u003c/td\u003e\n        \u003ctd\u003e 1.9 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/XIAOHONGSHU.dmg\"\u003e XiaoHongShu.dmg \u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e RaySo \u003c/td\u003e\n        \u003ctd\u003e 2 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/RAYSO.dmg\" \u003e RaySo.dmg \u003c/a\u003e  \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e ChatGPT \u003c/td\u003e\n        \u003ctd\u003e 2.3 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/CHATGPT.dmg\" \u003e ChatGPT.dmg \u003c/a\u003e  \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e Godoc \u003c/td\u003e\n        \u003ctd\u003e 1.9 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/GoDoc.dmg\" \u003e Godoc.dmg \u003c/a\u003e  \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e Httpie \u003c/td\u003e\n        \u003ctd\u003e 1.8 MB \u003c/td\u003e\n        \u003ctd\u003e \u003ca href=\"https://github.com/XieWeiXie/PPack/releases/download/v1.0.0/HTTPIE.dmg\" \u003e HTTPIE.dmg \u003c/a\u003e  \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/body\u003e\n\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n\n\n\n\n\n\n\n\n\n## 使用\n\n```shell\n\nmake app URL=https://weread.qq.com/ APP_NAME=weread ICON_NAME=weread.icns\n\nmake app URL=https://www.xiaohongshu.com/ APP_NAME=xiaohongshu ICON_NAME=xiaohongshu.icns\n\nmake app URL=https://typst.app/ APP_NAME=typst ICON_NAME=typst.icns\n\nmake app URL=https://www.douyin.com/ APP_NAME=douyin ICON_NAME=app.icns\n\nmake app URL=https://ray.so/ APP_NAME=rayso ICON_NAME=raycast.icns\n\nmake app URL=https://chat.openai.com/ APP_NAME=chatgpt ICON_NAME=chatgpt.icns\n\nmake app URL=https://weibo.com/ APP_NAME=weibo ICON_NAME=weibo.png\n```\n\n- URL 目标网站\n- APP_NAME 应用名称\n- ICON_NAME 应用图标\n\n\n## 图标\n\n- [iconFinder](https://www.iconfinder.com/)\n- [macosIcons](https://macosicons.com/#/)\n\n## 自制图标\n\n- [Bakery - Simple Icon Creator](https://apps.apple.com/us/app/bakery-simple-icon-creator/id1575220747?mt=12)\n\n\n\n## 示例\n\n\u003ch4 \u003e 常见打包示例 \u003c/h4\u003e\n\u003cp align=\"left\"\u003e \u003ca href=\"https://weread.qq.com/\"\u003e WeRead \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/weread.jpg\" alt=\"WeRead\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e \u003ca href=\"https://www.douyin.com/\"\u003e DouYin \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/douyin2.jpg\" alt=\"DouYin\"\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"left\"\u003e \u003ca href=\"https://typst.app/\"\u003e Typst \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/typst.jpg\" alt=\"Typst\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e \u003ca href=\"https://www.xiaohongshu.com/\"\u003e XiaoHongShu \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/xiaohongshu.jpg\" alt=\"XiaoHongShu\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e \u003ca href=\"https://ray.so/\" \u003e RaySo \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/rayso.jpg\" alt=\"RaySo\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e \u003ca href=\"https://chat.openai.com/\" \u003e ChatGPT \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/chatgpt.jpg\" alt=\"ChatGPT\"\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"left\"\u003e \u003ca href=https://pkg.go.dev/\" \u003e Godoc \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/godoc.jpg\" alt=\"Godoc\"\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"left\"\u003e \u003ca href=https://httpie.io/app\" \u003e Httpie \u003c/a\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./app/httpie.jpg\" alt=\"Httpie\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxieweixie%2Fppack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxieweixie%2Fppack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxieweixie%2Fppack/lists"}