تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

url2png

بواسطة guoqiao

Browser & Automation
868التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Convert URL to PNG suitable for mobile reading.

الوصف

ما الذي تفعله هذه المهارة

Captures a full webpage screenshot and saves it as a PNG optimized for mobile viewing. Uses shot-scraper and Chromium under the hood, installed via uv.

Automates the full install and capture pipeline in one command, including browser setup, so there's no manual Playwright or browser configuration required.

متى تستخدمها

  • Saving a recipe page as an image to read offline
  • Archiving an article before it goes behind a paywall
  • Sharing a webpage snapshot in a chat without sending a link
  • Capturing a long product page for reference
  • Converting a web report to an image for a presentation

مثال على سير العمل

الإدخال

User asks: 'Save this page as an image: https://example.com/article'

الوكيل
  1. 1

    Run url2png.sh with the provided URL

  2. 2

    Wait for shot-scraper to capture the full page using Chromium

  3. 3

    Locate the generated PNG in ~/Pictures

  4. 4

    Send the file to the user as a document to avoid compression

الإخراج

A full-page PNG of the webpage saved to ~/Pictures and delivered to the user

المتطلبات

  • uv installed and available in PATH

التثبيت

clawhub install guoqiao/url2png

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط