JCodesMore/ai-website-cloner-template

Clone any website with one command using AI coding agents

What it solves

It allows users to recreate an existing website as a clean, modern Next.js application by providing a URL to an AI coding agent. This is particularly useful for migrating platforms (e.g., from WordPress to Next.js), recovering lost source code from a live site, or studying how professional sites are built.

How it works

The project provides a template and a set of instructions (a "skill") that AI coding agents use to execute a multi-phase pipeline:

  1. Reconnaissance: The agent takes screenshots and extracts design tokens and interaction behaviors.
  2. Foundation: It sets up fonts, colors, and global styles and downloads necessary assets.
  3. Component Specs: It creates detailed specification files containing exact CSS values and behaviors for each component.
  4. Parallel Build: Multiple builder agents work in parallel to create individual sections or components.
  5. Assembly & QA: The pieces are merged into a final page and checked against the original site using visual diffs.

Who it’s for

  • Developers looking to migrate legacy websites to a modern stack.
  • Site owners who have lost access to their original source code.
  • Learners who want to deconstruct production-level layouts and animations.

Highlights

  • Broad Agent Support: Compatible with Claude Code, Cursor, Windsurf, GitHub Copilot, Gemini CLI, and others.
  • Modern Tech Stack: Generates code using Next.js 16, React 19, Tailwind CSS v4, and shadcn/ui.
  • High Precision: Uses getComputedStyle() to ensure exact visual reproduction rather than guessing.
  • Automated Workflow: Includes a dedicated /clone-website command for supported AI agents.

Related

  • Project
  • Project
  • Project
  • Project
  • Project