ANAVEM
Languagefr
AI Website Cloner Template showing original and cloned website comparison
Open SourceOpen SourceTypeScript

AI Website Cloner Template

AI Website Cloner Template is a TypeScript-based tool that automatically reverse-engineers websites and rebuilds them as pixel-perfect clones using Claude Code. It extracts design tokens, creates component specifications, and deploys parallel builder agents to reconstruct entire websites.

Evan MaelEvan Mael
27 March 2026 12 min 1,815
1,815 Stars TypeScriptOpen Source 12 min
Introduction

Overview

What is AI Website Cloner Template?

AI Website Cloner Template is an innovative open-source project created by JCodesMore that automates the process of reverse-engineering websites and rebuilding them as pixel-perfect clones. Built with TypeScript and Next.js, this tool leverages Claude Code's capabilities to inspect websites, extract design elements, and automatically generate React components that match the original site's appearance and functionality.

Released in March 2026, the project has quickly gained traction with over 1,800 GitHub stars, demonstrating significant interest from developers looking to streamline website cloning workflows. The tool represents a new approach to web development automation, combining AI-powered analysis with systematic component generation.

Getting Started

Setting up the AI Website Cloner Template is straightforward, requiring only Node.js and Claude Code:

# Clone the repository
git clone https://github.com/JCodesMore/ai-website-cloner-template.git my-clone
cd my-clone

# Install dependencies
npm install

# Start Claude Code with Chrome MCP enabled
claude --chrome

Once the setup is complete, you can immediately start cloning websites using the built-in skill command. The tool requires Node.js 20 or higher and access to Claude Code with Chrome MCP capabilities.

Usage & Practical Examples

The primary workflow revolves around the /clone-website skill, which handles the entire cloning process:

Basic Website Cloning

# Clone a website with default settings
/clone-website https://example.com

This command initiates a five-phase pipeline that automatically handles reconnaissance, foundation setup, component specification, parallel building, and final assembly.

Advanced Configuration

For more control over the cloning process, you can edit the TARGET.md file before running the clone command:

# Example TARGET.md configuration
## Pages
- Home page
- About page
- Contact page

## Fidelity Level
Pixel-perfect

## Scope
- Header navigation
- Hero section
- Footer
- Exclude: Blog section, User dashboard

Development Workflow

# Start development server
npm run dev

# Build for production
npm run build

# Run linting
npm run lint

The tool generates a well-structured Next.js project with components organized in the src/components/ directory, extracted assets in public/, and detailed research documentation in docs/research/.

Performance & Technical Architecture

The AI Website Cloner Template employs a sophisticated multi-agent architecture that significantly reduces cloning time through parallelization. By using isolated git worktrees, multiple builder agents can work simultaneously on different sections without conflicts, then merge their work automatically.

The tool's reconnaissance phase captures comprehensive data about the target website, including exact getComputedStyle() values, interaction models, responsive breakpoints, and asset paths. This detailed analysis ensures that the generated components maintain visual fidelity with the original design.

Built on Next.js 16 with React 19, the generated clones benefit from the latest performance optimizations and features. The use of Tailwind CSS v4 with oklch design tokens provides modern color management and consistent styling across components.

Who Should Use AI Website Cloner Template?

This tool is particularly valuable for several types of users:

Web Developers and Agencies who need to quickly prototype or recreate existing websites for clients, competitive analysis, or migration projects. The automated workflow can save dozens of hours compared to manual reverse-engineering.

Design System Teams looking to analyze and extract design tokens from existing websites to build comprehensive design systems or ensure consistency across properties.

Researchers and Analysts studying web design patterns, user interface trends, or conducting competitive analysis who need detailed breakdowns of website structures and components.

Educational Institutions teaching web development concepts, where students can analyze professional websites and understand how complex layouts are constructed.

However, users should be aware of ethical and legal considerations when cloning websites, ensuring they have appropriate permissions and use cases that respect intellectual property rights.

Verdict

AI Website Cloner Template represents a significant leap forward in automated web development tooling. Its combination of AI-powered analysis, parallel processing, and modern web technologies creates a powerful solution for website reverse-engineering. While the tool requires access to Claude Code and raises some ethical considerations, its technical capabilities are impressive and could revolutionize how developers approach website analysis and recreation. For teams with legitimate use cases and access to the required tools, this project offers substantial time savings and technical insights that would be difficult to achieve manually.

Capabilities

Key Features

  • Automated Website Analysis: Screenshots, design token extraction, and comprehensive interaction analysis
  • Parallel AI Agents: Multiple builder agents work simultaneously in isolated git worktrees
  • Component Specification Generation: Detailed specs with exact CSS values and behavioral patterns
  • Asset Management: Automatic download and organization of images, videos, and other resources
  • Visual Quality Assurance: Built-in diff testing against original websites
  • Modern Tech Stack: Next.js 16, React 19, TypeScript, shadcn/ui, and Tailwind CSS v4
  • Flexible Configuration: Optional TARGET.md file for fine-grained control over cloning process
  • Git Worktree Integration: Isolated development environments that merge automatically
Setup

Installation

Prerequisites

Before installing, ensure you have:

  • Node.js 20 or higher
  • Access to Claude Code with Chrome MCP enabled

Installation Steps

# Clone the repository
git clone https://github.com/JCodesMore/ai-website-cloner-template.git my-clone
cd my-clone

# Install dependencies
npm install

# Start Claude Code with Chrome MCP
claude --chrome

Verification

# Test the installation
npm run dev

# Verify Claude Code integration
/clone-website --help
How to Use

Usage Guide

Basic Website Cloning

# Clone a website with default settings
/clone-website https://example.com

Advanced Configuration

Edit TARGET.md before cloning for custom settings:

# TARGET.md example
## Pages
- Home page
- About page

## Fidelity Level
Pixel-perfect

## Scope
- Header navigation
- Main content
- Footer

Development Commands

# Start development server
npm run dev

# Build for production
npm run build

# Run ESLint
npm run lint

Project Structure

src/
  app/              # Next.js routes
  components/       # React components
    ui/             # shadcn/ui primitives
  lib/utils.ts      # Utilities
public/
  images/           # Downloaded assets
docs/
  research/         # Component specs
Evaluation

Pros & Cons

Pros
  • Fully automated website cloning workflow
  • Pixel-perfect reproduction with exact CSS values
  • Modern tech stack with Next.js 16 and React 19
  • Parallel AI agents for faster processing
  • Comprehensive asset management and organization
  • Built-in visual quality assurance testing
  • Open source with MIT license
Cons
  • Requires Claude Code access which may be limited
  • Complex setup process for beginners
  • Ethical and legal considerations for website cloning
  • Limited documentation as a new project
  • Dependency on Chrome MCP for website inspection
Other Options

Alternatives

Webflow

Visual website builder with import capabilities, but requires manual design recreation

Learn More

Browser DevTools

Manual inspection and copying of website elements, time-intensive but universally available

Learn More

Figma to Code

Various plugins that convert designs to code, but require existing design files

Learn More

Teleport

Code generation platform focused on design-to-code conversion

Learn More

Frequently Asked Questions

Is AI Website Cloner Template free to use?+
Yes, the tool is completely open source under the MIT license. However, it requires access to Claude Code, which may have its own pricing structure.
How does this compare to manual website reverse-engineering?+
The tool automates the entire process that would typically take hours or days manually. It extracts exact CSS values, creates component specifications, and builds the clone automatically using AI agents.
What websites can I clone with this tool?+
The tool can analyze and clone most modern websites, but you should ensure you have legal permission to clone the target website and respect intellectual property rights.
Do I need programming knowledge to use this tool?+
Basic knowledge of Node.js, Git, and web development concepts is helpful. The tool generates TypeScript/React code, so familiarity with these technologies is beneficial for customization.
How active is the project's development?+
Very active - the project was created in March 2026 and has been updated as recently as March 27, 2026, with over 1,800 stars indicating strong community interest.
References

Official Resources (3)

Evan Mael
Written by

Evan Mael

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Further Intelligence

Deepen your knowledge with related resources

Discussion

Share your thoughts and insights

Sign in to join the discussion