CloneWeb CLI
A powerful CLI tool to clone websites into local folders using Puppeteer + AI.
With CloneWeb CLI, you can scrape, analyze, and replicate website structures effortlessly — ideal for prototyping, backups, or research.
✨ Features
- 🌐 Clone full websites into local folders
- 🤖 AI-powered code cleaning & structuring (via OpenAI)
- 🖥️ Puppeteer for accurate DOM & resource fetching
- ⚡ Simple command-line usage
- 📂 Saves websites into neatly organized local folders
📦 Installation
CloneWeb CLI can be installed globally or locally, depending on your use case.
🔹 Global Installation (Recommended)
Global installation makes the CLI available system-wide so you can run it from anywhere in your terminal.
This is the preferred method since CLI tools are meant to be accessible everywhere.
npm install -g cloneweb-cli
pnpm add -g cloneweb-cli
USAGE
Here options are:
cloneweb-cli <url> [options]
🔹 Local Development / Installation from Source
If you want to run CloneWeb CLI locally from the repo (without publishing to npm), follow these steps:
pnpm install
npm install
pnpm run dev
npm run dev