url2png
Convert URL to PNG suitable for mobile reading.
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install clawskills:clawskills~guoqiao-url2pngcURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~guoqiao-url2png/file -o guoqiao-url2png.md# URL to PNG
Given a url for a webpage, convert it to png suitable for mobile view.
See [examples](https://github.com/guoqiao/skills/tree/main/url2png/examples)
## Requirements
- `uv`
## Installation
```bash
bash ${baseDir}/install.sh
```
The script will:
- install `shot-scraper` as uv tool
- install `chromium` browser module for shot-scraper/playwright
## Usage
```bash
# save to ~/Pictures with proper name by default
bash url2png.sh <url>
# specify output png path
bash url2png.sh <url> path/to/png
```
## Agent Instructions
1. Execute the `url2png.sh` script.
2. Locate the generated PNG file (default in `~/Pictures` if not specified).
3. Send the file to the user. **Crucial:** To avoid compression or dimension limits (especially on Telegram), send the image as a **document/file** (or ZIP it), do not send as a photo.