WebEmbedding

•
15
•

Clone websites and capture web pages into offline HTML snapshots or bounded rebuilds for AI coding agents using Playwright and HAR replay.

WebEmbedding is a source-first website cloning engine designed for AI coding agents like Claude Code, Codex, and Cursor. Operating as an MCP server and CLI tool, it inspects URLs to determine whether a site can be reused directly via embeds or requires a bounded rebuild. Using Playwright, WebEmbedding captures runtime HTML, computed styles, DOM structures, assets, and HAR network traces to generate self-contained offline snapshots. It verifies clone fidelity through automated visual regression, responsive breakpoint comparisons (desktop, tablet, mobile), and interaction state checks, giving agents an accurate, verified foundation for frontend reconstruction.

주요 기능

01Comprehensive Playwright capture including DOM, runtime HTML, computed styles, assets, and HAR traces
02Multi-breakpoint automated self-verification against desktop, tablet, and mobile screenshots
0315 GitHub stars
04Source-first routing that defaults to safe embed reuse before falling back to bounded rebuilds
05Standardized MCP server integration for agent ecosystems like Claude Code, Cursor, and Codex
06Preservation of modern web elements such as web components and shadow DOM structures

사용 사례

01Creating self-contained HTML snapshots of documentation, landing pages, and marketing sites
02Auditing visual and layout parity across responsive viewports via automated regression testing
03Generating accurate offline frontend clones for AI agents to refactor or restyle