कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

url2pdf

guoqiao द्वारा

Browser & Automation
946clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Convert URL to PDF suitable for mobile reading.

विवरण

यह स्किल क्या करती है

Converts a webpage URL to a PDF formatted for mobile reading. Uses Playwright with a headless Chromium browser to render the page accurately. The output PDF path is returned for delivery to the user.

Uses a real browser engine to render pages accurately, capturing styles and layout that simpler HTML-to-PDF converters miss.

इसे कब इस्तेमाल करें

  • Save a long article for offline reading on your phone
  • Archive a recipe page as a portable document
  • Convert documentation to PDF for commute reading
  • Preserve a news article before it goes behind a paywall
  • Share a webpage as a file attachment

उदाहरण वर्कफ़्लो

इनपुट

User asks: 'Save https://example.com/article as a PDF for mobile'

एजेंट
  1. 1

    Runs url2pdf.py with the provided URL as an argument

  2. 2

    Playwright renders the page in a headless Chromium browser

  3. 3

    Script outputs the path to the generated PDF file

  4. 4

    Agent sends the PDF to the user as a document message

आउटपुट

PDF file of the webpage delivered to the user, optimized for mobile screen dimensions

आवश्यकताएँ

  • uv package manager installed
  • Chromium browser installed via: uvx playwright install chromium

इंस्टॉलेशन

clawhub install guoqiao/url2pdf

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक