@liustack/pagepress 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/README.zh-CN.md +12 -0
- package/dist/main.js +0 -0
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -89,6 +89,18 @@ pagepress shot -i https://example.com -o screenshot.png
|
|
|
89
89
|
- `poster` (1200x1500) - Poster
|
|
90
90
|
- `banner` (1600x900) - Banner
|
|
91
91
|
|
|
92
|
+
## 🖼️ Examples
|
|
93
|
+
|
|
94
|
+
### Image Presets
|
|
95
|
+
|
|
96
|
+
| OG Card (1200×630) | Infographic (1080×1350) |
|
|
97
|
+
|:---:|:---:|
|
|
98
|
+
|  |  |
|
|
99
|
+
|
|
100
|
+
| Poster (1200×1500) | Banner (1600×900) |
|
|
101
|
+
|:---:|:---:|
|
|
102
|
+
|  |  |
|
|
103
|
+
|
|
92
104
|
## 🤖 AI Agent Integration
|
|
93
105
|
|
|
94
106
|
This project includes a detailed [SKILL.md](skills/pagepress/SKILL.md) to help AI Agents (such as Claude, ChatGPT) understand how to use this tool.
|
package/README.zh-CN.md
CHANGED
|
@@ -87,6 +87,18 @@ pagepress shot -i https://example.com -o screenshot.png
|
|
|
87
87
|
- `poster` (1200×1500) - 海报
|
|
88
88
|
- `banner` (1600×900) - 横幅
|
|
89
89
|
|
|
90
|
+
## 🖼️ 示例
|
|
91
|
+
|
|
92
|
+
### 图像预设
|
|
93
|
+
|
|
94
|
+
| OG 卡片 (1200×630) | 信息图 (1080×1350) |
|
|
95
|
+
|:---:|:---:|
|
|
96
|
+
|  |  |
|
|
97
|
+
|
|
98
|
+
| 海报 (1200×1500) | 横幅 (1600×900) |
|
|
99
|
+
|:---:|:---:|
|
|
100
|
+
|  |  |
|
|
101
|
+
|
|
90
102
|
## 🤖 AI Agent 集成
|
|
91
103
|
|
|
92
104
|
本项目包含详细的 [SKILL.md](skills/pagepress/SKILL.md),旨在帮助 AI Agent(如 Claude, ChatGPT)理解如何使用此工具。
|
package/dist/main.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liustack/pagepress",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "CLI tool to convert web pages and Markdown to PDF and images",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"pagepress": "./dist/main.js"
|
|
8
8
|
},
|
|
9
|
-
"scripts": {
|
|
10
|
-
"dev": "vite build --watch",
|
|
11
|
-
"build": "vite build",
|
|
12
|
-
"typecheck": "tsc --noEmit",
|
|
13
|
-
"prepublishOnly": "pnpm build"
|
|
14
|
-
},
|
|
15
9
|
"files": [
|
|
16
10
|
"dist",
|
|
17
11
|
"src/pdf/templates"
|
|
@@ -64,5 +58,10 @@
|
|
|
64
58
|
"typescript": "^5.9.3",
|
|
65
59
|
"vite": "^6.4.1",
|
|
66
60
|
"vite-plugin-node": "^5.0.1"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"dev": "vite build --watch",
|
|
64
|
+
"build": "vite build",
|
|
65
|
+
"typecheck": "tsc --noEmit"
|
|
67
66
|
}
|
|
68
|
-
}
|
|
67
|
+
}
|