Sitecap
Capture high-quality screenshots of websites, render HTML content, and extract fully processed HTML using Chrome CDP.
Acerca de
Sitecap is a versatile tool designed for generating website screenshots and extracting rendered HTML content. Leveraging Chrome's headless capabilities via the Chrome DevTools Protocol (CDP), it offers multiple modes of operation: a command-line interface for direct use, an HTTP server for programmatic access via a REST API, and a Model Context Protocol (MCP) server for integration with MCP clients. It provides extensive control over viewport size, image resizing (including cropping and scaling), timeout settings, and domain whitelisting for resource filtering, making it suitable for a wide range of web content capture and analysis tasks.
Características Principales
- Multi-mode operation: CLI, HTTP server, and MCP server
- Comprehensive screenshot controls: viewport, resize, crop, full-height
- Render HTML from stdin or extract fully processed HTML from URLs
- Domain whitelisting for resource filtering (e.g., block ads/trackers)
- Prometheus-compatible metrics for HTTP server monitoring
- 4 GitHub stars
Casos de Uso
- Automate website screenshot generation for testing or archival
- Retrieve the final rendered HTML of JavaScript-heavy Single Page Applications (SPAs)
- Generate images from dynamic or programmatically generated HTML content