Code Monkey home page Code Monkey logo

ppack's Introduction

简体中文

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












使用

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 应用图标

图标

自制图标

示例

常见打包示例

WeRead

WeRead

DouYin

DouYin

Typst

Typst

XiaoHongShu

XiaoHongShu

RaySo

RaySo

ChatGPT

RaySo

ppack's People

Contributors

xieweixie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.