| name | url2png |
| description | Convert URL to PNG suitable for mobile reading. |
| metadata | {"openclaw":{"always":true,"emoji":"🦞","homepage":"https://clawhub.ai/guoqiao/url2png","os":["darwin","linux"],"requires":{"bins":["uv"]}}} |
| triggers | ["/url2png <url>","Save this url as image ...","Take long screenshot for this url"] |
URL to PNG
Given a url for a webpage, convert it to png suitable for mobile view.
See examples
Requirements
Installation
bash ${baseDir}/install.sh
The script will:
- install
shot-scraper as uv tool
- install
chromium browser module for shot-scraper/playwright
Usage
bash url2png.sh <url>
bash url2png.sh <url> path/to/png
Agent Instructions
- Execute the
url2png.sh script.
- Locate the generated PNG file (default in
~/Pictures if not specified).
- 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.