{"categories":[{"label":"Screen Capture","url":"https://skillfed.io/packages/category/multimedia-graphics-capture-screen-capture"}],"enrichment":{"capability":"nokap captures screenshots and PDFs from web pages or HTML strings using headless Chrome via the Chrome DevTools Protocol, without requiring Selenium or Playwright.","skillfed_tags":["web-automation","screenshot-generation","pdf-export"],"use_cases":["Generate thumbnails or previews of web pages for display in dashboards or content management systems","Export HTML reports or tables rendered by libraries directly to PDF or image files","Capture specific page elements using CSS selectors for automated documentation generation","Convert dynamically generated HTML from templates or data to static images without a full browser","Create retina-quality screenshots for design mockups or testing responsive layouts at different scales"],"what_it_does":"nokap is a lightweight Python library for capturing screenshots and PDFs from web pages or HTML strings using headless Chrome. It communicates directly with Chrome via the Chrome DevTools Protocol over WebSockets, eliminating the need for browser driver binaries or heavyweight automation frameworks. The library launches and manages a headless Chrome process, connects via CDP, and uses Chrome's native capture methods to render pages to PNG, JPEG, WebP, or PDF formats.\n\nThe package is designed for developers who need straightforward web-to-image or web-to-PDF conversion without the complexity of larger automation tools. It supports CSS selectors to capture specific elements, viewport control for responsive layouts, zoom scaling for retina-quality output, and rendering of HTML strings directly. Chrome or Chromium must be installed separately on the system; nokap will locate it automatically. The library is typed, actively maintained, and supports Python 3.10 through 3.13.","worth_installing":"Yes, if you need simple web-to-image or web-to-PDF capture and already have Chrome or Chromium installed. The low dependency footprint, active maintenance, and permissive MIT license make it a practical choice over heavier frameworks. No known vulnerabilities. Install it if you want straightforward screenshot and PDF generation without Selenium or Playwright overhead; skip it if you need advanced browser automation or don't have Chrome available."},"id":"nokap","links":{"html":"https://skillfed.io/packages/nokap","md":"https://skillfed.io/packages/nokap.md","pypi":"https://pypi.org/project/nokap/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-08","license_spdx":null,"license_treatment":"permissive","name":"nokap","python_support":"supports_current","summary":"Capture screenshots and PDFs from web pages using headless Chrome via CDP."},"popularity":{"monthly_downloads":516706,"position":6232,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
