awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
spatie avatar

spatie/browsershot

0
View on GitHub↗
5,225 stars·510 forks·PHP·MIT·17 viewsspatie.be/docs/browsershot↗

Browsershot

Browsershot is a PHP library that serves as a Puppeteer browser wrapper to convert HTML and URLs into PDFs, images, or strings using a headless Chrome browser. It functions as a tool for transforming web content into visual media or extracting the final rendered DOM state of a page.

The library enables the automation of browser rendering to generate PDFs and screenshots from web pages. It can retrieve the final rendered HTML markup after all client-side JavaScript execution is complete and can capture a full audit of network requests triggered during the page load process.

The system includes controls for browser orchestration, including the ability to configure binary paths, environment variables, and command-line flags. It utilizes the Chrome DevTools Protocol to manipulate browser state and manage the timing of data extraction.

Features

  • Headless Browser Orchestrators - Provides a programmatic interface to orchestrate headless Chromium instances for rendering web pages.
  • Rendered State Extractors - Extracts the final rendered HTML markup of a page after all client-side JavaScript has executed.
  • Headless Media Generators - Spawns independent browser processes to output high-quality PDFs and images from HTML source.
  • Web Page Media Generation - Automates the conversion of URLs and HTML files into PDF and image formats.
  • Rendered DOM Extraction - Retrieves the final body markup of a page after all client-side scripts have finished executing.
  • Automation Library Wrappers - Provides a PHP wrapper around Puppeteer to automate browser rendering and DOM extraction.
  • Headless Browsers - Uses an automated browser engine to execute JavaScript and render pages for scraping and analysis.
  • Chrome DevTools Protocols - Utilizes the Chrome DevTools Protocol to programmatically control browser state and extract page content.
  • HTML to PDF Converters - Transforms web-based HTML and CSS layouts into portable PDF documents.
  • Web Page Screenshot Tools - Provides tools for capturing visual snapshots of rendered web pages as image files.
  • Network Traffic Auditors - Captures a complete list of all network requests triggered by a page during its loading process.
  • Browser Network Request Auditors - Captures a complete audit of all network requests triggered by a browser during the page load process.
  • HTML-to-Image Converters - Captures web content as static image files while preserving original layout and styling.
  • Rendering State Synchronization - Ensures fully rendered pages are captured by waiting for client-side JavaScript execution to complete.
  • PDF Generators - Implements headless browser capabilities specifically optimized for generating PDF documents.
  • Document Processing - Converts HTML to images or PDFs.

Star history

Star history chart for spatie/browsershotStar history chart for spatie/browsershot

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Browsershot

These projects share indexed features with Browsershot. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • alvarcarto/url-to-pdf-apialvarcarto avatar

    alvarcarto/url-to-pdf-api

    7,114View on GitHub↗

    This project is a browser rendering service and headless Chrome PDF generator built on Puppeteer. It functions as a backend tool for converting web pages and raw HTML content into PDF documents and screenshots. The service distinguishes itself through browser session control, allowing for the injection of session cookies and the configuration of navigation timeouts to handle authenticated pages. It also includes viewport-based layout scaling to adjust browser dimensions and device scale factors during the rendering process. The broader capability surface covers HTML content export and automa

    HTMLchromeheadlessheadless-chrome
    View on GitHub↗7,114
  • knplabs/snappyKnpLabs avatar

    KnpLabs/snappy

    4,473View on GitHub↗

    Snappy is a PHP library that acts as a wrapper for the wkhtmltopdf and wkhtmltoimage binaries. It provides a utility suite for transforming HTML strings and remote URLs into PDF documents and image snapshots. The project enables the generation of downloadable or streamable PDFs and the creation of web page thumbnails. It supports the aggregation of multiple separate URLs into a single unified PDF document. Users can adjust document output through configuration settings for JavaScript execution, cookie handling, background removal, and custom stylesheet application.

    PHP
    View on GitHub↗4,473
  • googlechrome/puppeteerGoogleChrome avatar

    GoogleChrome/puppeteer

    94,974View on GitHub↗

    Puppeteer is a JavaScript library for programmatically controlling Chrome and Firefox through the Chrome DevTools Protocol or the WebDriver BiDi protocol. It launches and manages browser instances—typically without a visible user interface—to automate interactions with web pages, enabling navigation, clicking, typing, and data extraction entirely through code. The library distinguishes itself through deep integration with the Chromium embedding layer, allowing fine-grained process configuration with custom flags, permissions, and sandbox policies. It maintains multiple concurrent command stre

    TypeScript
    View on GitHub↗94,974
  • apify/crawlee-pythonapify avatar

    apify/crawlee-python

    8,097View on GitHub↗

    Crawlee-python is a web crawling framework for building scalable scrapers using Python. It serves as a comprehensive tool for web scraping automation, providing a system to extract structured data from websites using both lightweight HTTP requests and headless browser automation. The framework is distinguished by its anti-bot evasion capabilities, which include browser fingerprint impersonation and tiered proxy rotation to bypass detection systems and solve challenges such as Cloudflare. It also incorporates artificial intelligence for autonomous website navigation and schema-based data extra

    Pythonapifyautomationbeautifulsoup
    View on GitHub↗8,097
Compare all 30 related projects→

Frequently asked questions

What does spatie/browsershot do?

Browsershot is a PHP library that serves as a Puppeteer browser wrapper to convert HTML and URLs into PDFs, images, or strings using a headless Chrome browser. It functions as a tool for transforming web content into visual media or extracting the final rendered DOM state of a page.

What are the main features of spatie/browsershot?

The main features of spatie/browsershot are: Headless Browser Orchestrators, Rendered State Extractors, Headless Media Generators, Web Page Media Generation, Rendered DOM Extraction, Automation Library Wrappers, Headless Browsers, Chrome DevTools Protocols.

Which projects share features with spatie/browsershot?

Projects with overlapping indexed features include: alvarcarto/url-to-pdf-api — This project is a browser rendering service and headless Chrome PDF generator built on Puppeteer. It functions as a… knplabs/snappy — Snappy is a PHP library that acts as a wrapper for the wkhtmltopdf and wkhtmltoimage binaries. It provides a utility… googlechrome/puppeteer — Puppeteer is a JavaScript library for programmatically controlling Chrome and Firefox through the Chrome DevTools… apify/crawlee-python — Crawlee-python is a web crawling framework for building scalable scrapers using Python. It serves as a comprehensive… getgauge/taiko — Taiko is a browser automation framework and web end-to-end testing library used to perform programmatic user actions… chromedp/chromedp — chromedp is a browser automation framework and driver that controls web browsers via the Chrome DevTools Protocol. It…