JCodesMore

ai-website-cloner-template: Recreate Websites as Next.js Apps

A template that equips AI coding agents to inspect a website and recreate it as a Next.js application. It suits developers rebuilding sites they own, recovering lost source code, or studying real-world interface implementations.

View on GitHub Compare
Stars
35.6k
Forks
5.2k
Stars, last 30 days
+2,303

Our take

Health score

56/100

How it is scored
Activity
61
Community
37
Issues
58
Pull requests
69

+2,303 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

39,148

Forks

5,819

Change since Nov 14, 2026: +30 stars·+4 forks

Overview

ai-website-cloner-template is a starter project for using an AI coding agent to recreate a website as a Next.js app from its URL. Its guided workflow combines browser inspection, asset collection, implementation, and visual comparison, helping reduce guesswork when translating an existing site into code.

It is aimed at developers who can run an agent with browser access and want an editable codebase, rather than a one-click hosted clone. The project supports several agents and recommends Claude Code with Opus 5.5.

Key Features

  • Starts a website recreation from the /clone-website command and a target URL.
  • Inspects page appearance and interactions, including scrolling, hovering, clicking, and responsive layouts.
  • Extracts design details and downloads site assets for use in the implementation.
  • Produces component specifications with styles, states, behaviors, and content.
  • Uses parallel builder agents in Git worktrees to implement page sections.
  • Assembles the result and runs a visual comparison against the source.
  • Provides a Next.js, React, TypeScript, and Tailwind CSS project foundation.
  • Includes a portable agent skill for Claude Code, Codex CLI, Cursor, and OpenCode.

Use Cases

  • A site owner moving a WordPress, Webflow, or Squarespace site into a modern Next.js codebase.
  • A developer recovering a maintainable implementation when a live site's original source code is unavailable.
  • A frontend developer studying how a production site handles layout, responsive behavior, and interactions.
  • A team creating a starting implementation from an existing site before applying its own changes.

Getting Started

Use the GitHub template to create a copy, set up dependencies, then open the project in a supported coding agent with browser access and run:

/clone-website https://example.com

See the README for setup instructions and supported agents.

Considerations

  • Requires Node.js 24 or later and an AI coding agent with browser access. Agent availability and model access may have separate requirements or costs.
  • Results depend on the agent's ability to inspect and reproduce the target; the repository does not promise pixel-perfect output.
  • The project is intended for lawful recreation. Check target-site terms and permissions, and do not use it for impersonation or to pass off another party's branding or content as your own.
  • The recommended configuration is Claude Code with Opus 5.5; Codex CLI, Cursor, and OpenCode are also listed as supported.
  • The project is a template and workflow, not a hosted cloning service. Review and maintain the generated code as you would any other application.

Found this useful?

Share it with someone who would like ai-website-cloner-template.