Skip to content
Tool

Perfectclone

CLI tool that mirrors public websites 1:1 for local serving, rebranding and deployment

Pricing
Open source
Platforms
CLI, macOS, Linux
Listing updated
today

Similar tools

About Perfectclone

Perfectclone is an open-source AI tool for developer tools. It is available on CLI, macOS, Linux, Windows and self-hosted.

The README describes a command-line cloner that crawls a public site in Chromium via Playwright and saves the HTML, JavaScript, CSS, fonts and images the server actually sends. The result is a local folder you can serve, edit and redeploy on a static host, without any AI model or API key involved.

Beyond copying, it offers commands to rename text across HTML, JS, CSS, JSON and SVG files, to repoint canonical and Open Graph URLs at a new domain, and to strip common analytics and marketing trackers. A specific focus is Next.js App Router sites, where the tool edits the serialized React payload alongside the HTML so hydration does not undo changes.

The README is candid about limits: there is no backend, so forms, logins and API calls still reach the original servers, and content loaded after login or behind some click paths may be missed. It suits developers and designers who want a working front-end copy to study, prototype from or rebrand for their own use.

What it does

Real browser crawling
Pages are rendered in Chromium and scrolled so lazy-loaded scripts, fonts and images are captured.
Byte-exact mirroring
Saves the HTML the server sends rather than the rendered DOM, so the site's JavaScript still hydrates.
Text replacement
The replace command renames text across HTML, JS, CSS, JSON and SVG while leaving asset paths intact.
Domain rehosting
Rewrites canonical, Open Graph, JSON-LD and sitemap URLs to point at a new origin.
Tracker stripping
Removes many common analytics and ad pixels from script tags, preload hints and Next.js payloads.
Next.js payload editing
Decodes and edits React Server Component payloads and recalculates byte lengths so edits survive hydration.
Local preview server
Serves the clone with clean URLs and routes Next.js image and RSC requests from the mirrored files.

Good for

  • Preview a public marketing site locally to study its layout and front-end code
  • Rebrand a cloned landing page and deploy it to a static host
  • Archive a public site's front end as static files
  • Create a starting-point mockup from an existing design for a client review

Pricing

Open source

Free and open source under the MIT License

Perfectclone FAQ

Does it use AI or require an API key?

No. The README states that perfectclone mirrors the bytes the site serves and works without an LLM or API key.

Can it clone sites behind a login?

Not currently. The README says it sees what an anonymous visitor sees, and login-based cloning is listed only as a roadmap item.

What are the requirements?

The README says it requires Python 3.10 or newer, and Chromium is downloaded automatically the first time you clone.

Do forms and backend features work in the clone?

No. The README says forms, logins, search and API calls still go to the original servers or fail.

What is the license?

The README says the project is open source under the MIT License.

Is Perfectclone free?

Yes. Perfectclone is open source, so you can use and self-host it for free.

What are the best alternatives to Perfectclone?

The closest alternatives to Perfectclone are cc-switch, Claudette, Screenery, SniffPup and Codecainehq.

Where this comes from

  • Description: written from the project's README.