cloneproof is a measurement tool for verifying the quality of AI website clones. It is not responsible for generating clones; instead, it compares the clone with the original website in a real browser, gives a score and specific repair suggestions, and drives an AI agent to correct in a loop.
Purpose: to solve the problem of AI website cloning tools "declaring completion once it looks about right." cloneproof takes over the manual comparison step, automatically measuring differences between the clone and the original website in pixels, layout, styles, text, fonts, and scroll motion, outputting a 0-100 score, and pointing out specific differences (such as selectors, properties, original values, and clone values), while generating prompts for the AI agent to continue repairing.
Main capabilities:
- Measure in a real browser, and after removing original noise, compare pixels, element boxes, computed styles, text, fonts, and scroll motion.
- Support desktop, tablet, and mobile screen sizes.
- Output specific differences, including selectors, properties, and values, rather than vague descriptions.
- Provide a loop mode (cloneproof loop) that automatically performs measurement, repair, and re-measurement until the target score is reached.
- Run locally, with no API keys, accounts, or servers required, depending on Playwright and Python.
- The agent can be any command that reads prompts from standard input, such as claude -p, codex exec -, or a script.
- Each run writes results to the .cloneproof/latest/ directory.
- Support attaching your own Chrome via --cdp to bypass bot walls.
- Support accessing pages after login via --header "Cookie: ...".
Usage:
- After installation, run cloneproof via the command line to measure or loop-repair.
- Loop mode: cloneproof loop performs measurement, repair, and re-measurement until the target score is reached.
- Capture a page: cloneproof capture URL --cdp http://127.0.0.1:9222 to attach Chrome.
- Access login pages: use --header "Cookie: ...".
- Agent integration: any command that reads prompts from standard input can serve as an agent.
Applicable scenarios:
- Verify the quality of AI-generated website clones.
- Compare against the original site during website migration or rebuilding.
- Mirror and measure when learning or researching website layouts.
- Show clone quality in CI and README.
Limitations:
- WebGL/canvas is compared only by pixels.
- Hover and focus states only check up to 16 visible links/buttons on the first screen, for reference only, and are not scored.
- Click states and form validation are not yet compared.
- Pages after login require cookies to be provided.
- Some bot walls block headless browsers; try --headed or --chrome.
- The loop requires more rounds or a stronger agent after falling below 80 points.
- Use only for websites you own, build for clients, migrate, or research; do not publish others' copyrighted content, trademarks, or brands, and do not build imitations of login or payment pages.
- Mobile apps and desktop software (screenshot + accessibility tree), side-by-side scrolling video export, and a built-in clone builder are not yet available.
Scoring mechanism: visual 50, layout 20, styles 12, content 8, resources 5, motion 5; desktop accounts for 45%, mobile 35%, tablet 20%. The original page is probed twice to avoid misjudgments caused by carousels and clocks, and vertical offset is counted only once at the starting position.