The most powerful automated website cloning template with Puppeteer extraction
Quick Start β’ Features β’ Comparison β’ Support
Automatic Puppeteer extraction of entire website design
116+ real images, 14,000+ exact CSS properties, design system, animations
| Before | After |
|---|---|
| β Estimate CSS values | β 14,000+ exact values from browser |
| β Copy/paste images manually | β 116+ auto-downloaded (WebP optimized) |
| β Guess design tokens | β Tailwind config auto-generated |
| β No animations | β Framer Motion components created |
| β No accessibility check | β WCAG 2.1 full audit with fixes |
| β No performance audit | β Core Web Vitals measured |
| β Manual work: 3-5 days | β Automated: 2 minutes |
# Clone the template
git clone https://github.com/Hackergut/devastating-website-cloner.git my-cloned-site
cd my-cloned-site
# Install dependencies
npm install
# Clone target website
npm run clone https://target-website.comONE COMMAND extracts EVERYTHING in 1-5 minutes:
- β All assets (images, videos, icons - WebP optimized)
- β Complete design system (colors, fonts, spacing)
- β Animations (with Framer Motion code)
- β Accessibility check (WCAG 2.1)
- β Performance audit (Core Web Vitals)
- β Auto-generated Tailwind config
- β Production-ready components
# Extracts EVERYTHING automatically
npm run clone https://site.com
# With custom timeout (5 minutes for heavy sites)
npm run clone https://heavy-site.com 300000# Basic extraction
npm run clone:extract https://site.com # HTML/CSS/assets
npm run clone:assets # Download images
npm run clone:specs # Generate component specs
# Design system
npm run clone:design # Colors, fonts, spacing
npm run clone:responsive # Breakpoints
# Advanced
npm run clone:animations https://site.com # Animations
npm run clone:a11y https://site.com # Accessibility
npm run clone:perf https://site.com # Performancecomputed-styles.json # 14,000+ exact CSS properties
assets.json # All image/video references
text-content.json # All visible text
css-variables.json # Design tokens
animations.json # All transitions and keyframes
accessibility-issues.json # WCAG violations with fixes
performance-metrics.json # Core Web Vitals scores
screenshots/ # Desktop, tablet, mobile
design-system.json # Complete system
tailwind.config.js # Auto-generated!
css-variables.css # CSS custom properties
figma-tokens.json # Ready for Figma import!
responsive-utils.tsx # React breakpoint hooks
framer-motion-components.tsx # Animation components
images/ # All images (WebP optimized, 40% smaller)
icons/ # SVG β React components
videos/ # Downloaded videos
seo/ # Favicons and manifest
npm run clone https://stripe.com
# Output:
# β
100+ images downloaded
# β
14,000+ CSS properties extracted
# β
Design system generated
# β
Animations detected
# β
Accessibility checked
# β±οΈ Time: 2 minutes// tailwind.config.js is already configured!
import type { Config } from 'tailwind';
const config: Config = {
theme: {
extend: {
colors: {
primary: {
100: '#0693e3', // β Extracted from site!
200: '#8ed1fc',
}
},
fontFamily: {
sans: ['Inter', 'sans-serif'], // β Real font!
}
}
}
};// All images already in public/images/
import Image from 'next/image';
<Image
src="/images/hero.webp" // β Already downloaded!
alt="Hero"
width={1440}
height={800}
/>// Import auto-generated hooks
import { useBreakpoint } from '@/lib/responsive-utils';
export function MyComponent() {
const { isMobile, isDesktop } = useBreakpoint();
return (
<div>
{isMobile && <MobileNav />}
{isDesktop && <DesktopNav />}
</div>
);
}// Import extracted animations
import { fadeInUp } from '@/lib/framer-motion-components';
import { motion } from 'framer-motion';
export function Hero() {
return (
<motion.div {...fadeInUp}>
<h1>Welcome</h1>
</motion.div>
);
}| Feature | Claude Code | Manual | DEVASTATING |
|---|---|---|---|
| Images | Manual | Copy/paste | 116+ auto (WebP) |
| CSS | Estimated | Estimated | 14,000 exact |
| Design System | β | β | Tailwind config |
| Animations | β | β | Framer Motion |
| Accessibility | β | β | WCAG complete |
| Performance | β | β | Core Web Vitals |
| Responsive | β | β | Hook generated |
| Time | 30 min | 3-5 days | 2 MINUTES |
npm run clone https://example.com
# Output:
# β±οΈ Time: 45 seconds
# π Images: 12
# π¨ CSS: 1,234 properties
# β
Accessibility: 2 issues
# π Performance: All greennpm run clone https://airbnb.com 300000
# Output:
# β±οΈ Time: 3.5 minutes
# π Images: 324 (WebP optimized)
# π¨ CSS: 42,000 properties
# β
Accessibility: 45 issues (with fixes)
# π Performance: LCP 1.8s
# π¬ Animations: 23 detectednpm run clone https://stripe.com
# Output:
# π¨ Design System: Complete!
# - 12 colors extracted
# - 3 font families
# - 48 spacing values
# - 16 border radius values
# β
Tailwind config auto-generated
# β
Figma tokens ready for import{
"scripts": {
"clone": "node scripts/clone-complete.mjs",
"clone:extract": "node scripts/extract-website.mjs",
"clone:assets": "node scripts/download-assets.mjs",
"clone:specs": "node scripts/generate-specs.mjs",
"clone:design": "node scripts/extract-design-system.mjs",
"clone:responsive": "node scripts/analyze-responsive.mjs",
"clone:animations": "node scripts/extract-animations.mjs",
"clone:a11y": "node scripts/check-accessibility.mjs",
"clone:perf": "node scripts/analyze-performance.mjs"
}
}# Default: 2 minutes
npm run clone https://normal-site.com
# 5 minutes for SPAs
npm run clone https://spa-site.com 300000
# 10 minutes for very heavy sites
npm run clone https://heavy-site.com 600000- Node.js 20+
- 100+ MB disk space
- Stable internet connection
- Target URL accessible (no CAPTCHA)
# Increase timeout
npm run clone https://site.com 600000# Increase Node memory
NODE_OPTIONS="--max-old-space-size=4096" npm run clone https://site.com# Install Chromium
npx puppeteer browsers install chrome| Phase | Time | Notes |
|---|---|---|
| HTML/CSS | 15-30s | DOM traversal |
| Asset download | 10-30s | 10x parallel |
| Screenshots | 5-10s | 3 viewports |
| Design system | 3-5s | CSS analysis |
| Animations | 10-20s | Keyframe extraction |
| Accessibility | 5-10s | WCAG check |
| Performance | 10-20s | Core Web Vitals |
| Total | 1-2 min |
docs/extraction/ 5-50 MB
βββ CSS 600 KB - 2 MB
βββ Assets JSON 100-500 KB
βββ Text 50-500 KB
βββ Screenshots 2-10 MB
public/images/ 1-50 MB (WebP)
docs/design-system/ 20-100 KB
You get a pixel-perfect clone with:
- β Complete design system (Tailwind)
- β All assets (WebP optimized)
- β Animations (Framer Motion)
- β Accessibility fixes (WCAG 2.1)
- β Performance optimized (Core Web Vitals)
- β Responsive hooks
- β Figma tokens
- β Production-ready code
Time: 1-5 minutes vs 3-5 days manual work
website-clone/
βββ .opencode/
β βββ skills/
β βββ clone-website/
β βββ SKILL.md # Main skill
β βββ README.md # Docs
βββ scripts/
β βββ clone-complete.mjs # MASTER SCRIPT
β βββ extract-website.mjs # Puppeteer extraction
β βββ download-assets.mjs # Download + WebP
β βββ generate-specs.mjs # Component specs
β βββ extract-design-system.mjs # Design system
β βββ analyze-responsive.mjs # Breakpoints
β βββ extract-animations.mjs # Animations
β βββ check-accessibility.mjs # WCAG check
β βββ analyze-performance.mjs # Core Web Vitals
β βββ README.md # Docs
β βββ README_COMPLETE.md # Complete docs
βββ docs/
β βββ extraction/ # Extracted data
β βββ design-system/ # Design tokens
β βββ research/ # Component specs
βββ public/
β βββ images/ # Downloaded images
β βββ icons/ # SVG components
β βββ videos/ # Videos
βββ src/
β βββ components/ # Created components
β βββ lib/ # Utilities
β βββ app/ # Next.js pages
βββ package.json # Scripts
βββ README.md # This file
βββ LICENSE # MIT
βββ CONTRIBUTING.md # Contribution guide
βββ CHANGELOG.md # Version history
Contributions are welcome! Please:
- Fork the repository
- Create a branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
See CONTRIBUTING.md for details.
MIT License - see LICENSE for details.
- Puppeteer - Browser automation
- Cheerio - HTML parsing
- Axios - HTTP requests
- Sharp - Image processing
- Next.js - React framework
- Tailwind CSS - Styling
- Framer Motion - Animations
Created with β€οΈ for developers who want the BEST.
No other tool offers this completeness:
- Design system β Tailwind β
- Animations β Framer Motion β
- Accessibility β WCAG check β
- Performance β Core Web Vitals β
- Assets β WebP optimized β
- All automatic β
The most DEVASTATING website cloning solution. π₯