
经常需要对心意的网站的UI、完整代码进行山寨、复刻,主要的方案包括:
- 给网站 URL地址 一键克隆
- 根据网站截图/设计稿生成网站代码
- 根据Prompt 生成网站代码
- 完整网站克隆,对网站HTML/CSS/JS 全量爬取复制(无AI)
给网站 URL地址 一键克隆
AI Website Cloner Template
https://github.com/JCodesMore/ai-website-cloner-template
基于 Claude Code,通过 Chrome MCP 对目标网站进行截图、提取 design token、字体、颜色、资产、交互行为,然后并行生成像素级精确的Next.js 16 + Tailwind v4 + shadcn/ui 现代代码。
Open Lovable
https://github.com/firecrawl/open-lovable
Firecrawl 开源项目,用 Firecrawl 做网页抓取,结合 Claude / GPT / Groq 等 LLM 分析网站结构,生成 React/Next.js + TypeScript + Tailwind CSS 的现代化代码。
Perfect Web Clone
https://github.com/ericshang98/perfect-web-clone
基于 Claude Agent SDK 的多 Agent 架构,配备 40+ 专用工具,直接从 CSS 和结构化块(而非截图)进行克隆,实现像素级精确复制。
根据网站截图/设计稿生成网站代码
screenshot-to-code
https://github.com/abi/screenshot-to-code
支持将截图、mockup 和 Figma 设计转换为 HTML/Tailwind/React/Vue 代码,支持 Gemini 3 和 Claude Opus 4.5 等模型。
根据Prompt 生成网站代码
根据Prompt 一站式生成网站/APP,业内领先的产品包括 v0.app / lovable.dev/ replit.com / bolt.new / same.new,也可以对网站进行克隆(取决于Prompt精确度),这里汇总开源平替方案。
Dyad
https://github.com/dyad-sh/dyad
v0 / Lovable / Replit / Bolt的开源平替
bolt.diy
https://github.com/stackblitz-labs/bolt.diy
bolt.new 的开源版本
Open Lovable
https://github.com/firecrawl/open-lovable
OpenHands
https://github.com/OpenHands/OpenHands
Adorable
https://github.com/freestyle-sh/adorable
Libra
https://github.com/nextify-limited/libra
OpenUI
https://github.com/wandb/openui
完整网站克隆,对网站HTML/CSS/JS 全量爬取复制(无AI)
传统的网站存档工具HTTrack等,支持对网站网站HTML/CSS/JS 全量爬取,达到克隆目的。
由于目前大部分网站都带有动态效果(React / Vue / 登录态 / 滚动加载等),因此像HTTrack这样的传统工具就无法真正完整克隆。
要达到完整克隆动态网站,在不适用AI的情况下,目前主流的方案是headless browser(Puppeteer / Playwright / Selenium ) + 渲染后抓取。
此类主流的工具包括:
Browsertrix Crawler:https://github.com/webrecorder/browsertrix-crawler
ArchiveBox:https://github.com/ArchiveBox/ArchiveBox
SingleFile:https://github.com/gildas-lormeau/SingleFile
Scrapling:https://github.com/D4Vinci/Scrapling
Crawlee :https://github.com/apify/crawlee
Ultimate Web Cloner:https://github.com/kutyfuty/ultimate-web-cloner
Advanced Web Cloner:https://github.com/hndko/clone_webpage
Kage:https://github.com/tamnd/kage
另外推荐一个100多个知名网站的克隆开源项目Clone Wars:https://gourav.io/clone-wars