Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Open-source website template extractor that clones authorized sites into clean, editable projects for redesign and development.
cloneX is an open-source website template extractor that crawls authorized websites, downloads their assets, and exports a clean, editable project for redesign and development.
cloneX is a self-hosted web application that turns any website you own or have permission to clone into a ready-to-edit local project. It takes a website URL as input and produces a ZIP export containing crawled HTML pages, CSS, JavaScript, images, fonts, and a generated package.json and README.md. The project runs on a Next.js 14 and React 18 frontend with a FastAPI backend, PostgreSQL 15 database, and Redis-backed Celery worker queue. cloneX is created by hakkachhamza and released under the MIT license.
robots.txt by default, accepts only http and https URLs, and blocks private networks and localhost targets unless explicitly enabled via the ALLOW_PRIVATE_NETWORKS environment variable.pages/ and assets/ subdirectories for CSS, JS, images, and fonts.package.json and page structure as a foundation for a new project, then build features on top of the cloned layout.robots.txt and review how pages, stylesheets, scripts, and media are organized after sanitization.The clone process runs in five steps: crawl internal links with Playwright and BeautifulSoup, download HTML/CSS/JS/images/fonts, rewrite absolute URLs to relative local paths, sanitize the output by removing analytics and tracking scripts, and export the project as a ZIP. You can monitor, pause, resume, or cancel crawls from the project dashboard, and compare the original and generated previews side by side.
cloneX is free and open source under the MIT license. There are no paid tiers; you self-host it with Docker Compose.
HTTrack is an open-source website mirroring tool that downloads full sites for offline browsing, though it focuses on preservation rather than template extraction and does not sanitize branding or generate a package.json.
Yes, cloneX is released under the MIT license and is completely free to use and modify. You run it yourself from the source on GitHub.
No. cloneX is designed for sites you own or have explicit written permission to clone. It blocks private networks by default, respects robots.txt, and strips analytics, tracking, and authentication tokens from exports.
The exported ZIP contains crawled HTML pages in a pages/ folder, CSS/JS/images/fonts in assets/, a README.md, and a package.json. HTML files include placeholders for company name, email, phone, address, and copyright.
Change the SECRET_KEY, use managed PostgreSQL and Redis, configure S3-compatible storage, run Alembic migrations, and place a reverse proxy with TLS in front of the app. Set NODE_ENV=production and DEBUG=false.
Yes, the backend exposes interactive Swagger UI at /api/docs and ReDoc at /api/redoc once running, and you can authenticate to download projects as ZIP files via the API.