Clone any website in seconds. Perfect for learning, prototyping, and building.
Project description
๐ WebClone
Clone any website in seconds. Perfect for learning, prototyping, and building.
WebClone is a powerful command-line tool that creates perfect clones of any website, downloading all HTML, CSS, JavaScript, images, and fonts while organizing everything intelligently.
โจ Features
- ๐ One-Command Cloning - Clone any website with a single command
- ๐ฆ Smart Resource Management - Automatically downloads and organizes all assets
- ๐จ Preserves Design - Maintains exact styling, animations, and layout
- ๐ง Intelligent Path Fixing - Updates all resource paths to work locally
- ๐ Auto Documentation - Generates README for each cloned site
- ๐ฏ Perfect for Learning - Study how top companies build their sites
- ๐ผ Professional Use - Create templates and prototypes quickly
๐ฅ Demo
# Clone any website
webclone https://www.docker.com
# Clone with custom name
webclone https://stripe.com stripe_clone
# It's that simple!
๐ฅ Installation
From PyPI (Recommended)
pip install webclone-cli
From Source
git clone https://github.com/AbdirahmanNomad/webclone.git
cd webclone
pip install -e .
๐ Quick Start
Basic Usage
# Clone a website
webclone https://example.com
# Clone with custom output directory
webclone https://example.com my_custom_folder
# View the cloned site
cd example_com_cloned
python -m http.server 8000
# Visit http://localhost:8000
Real-World Examples
# Clone documentation sites
webclone https://docs.stripe.com stripe_docs
# Clone landing pages
webclone https://vercel.com vercel_landing
# Clone portfolio sites
webclone https://dribbble.com dribbble_clone
๐ What Gets Cloned
WebClone downloads and organizes:
- โ HTML - Complete page structure
- โ CSS - All stylesheets and styles
- โ JavaScript - All scripts and functionality
- โ Images - Including srcset and background images
- โ Fonts - Web fonts and typography
- โ Icons - SVGs and icon fonts
๐ Output Structure
your_cloned_site/
โโโ index.html # Main HTML file
โโโ README.md # Auto-generated documentation
โโโ assets/
โโโ css/ # Stylesheets
โโโ js/ # JavaScript files
โโโ images/ # Images and graphics
โโโ fonts/ # Web fonts
โโโ files/ # Other assets
๐ฏ Use Cases
1. Learning & Education
Study how top companies structure their websites:
webclone https://www.apple.com
webclone https://www.stripe.com
webclone https://www.notion.so
2. Prototyping
Start your project with proven designs:
webclone https://landing-page-example.com my_prototype
# Customize the HTML and CSS to fit your needs
3. Design Inspiration
Build a library of design references:
webclone https://awwwards.com/sites/site1 inspiration/site1
webclone https://awwwards.com/sites/site2 inspiration/site2
4. Client Projects
Quickly create templates for clients:
webclone https://template-site.com client_project
# Customize with client branding
โ๏ธ Advanced Options
from webclone import UniversalWebsiteCloner
# Programmatic usage
cloner = UniversalWebsiteCloner(
url="https://example.com",
output_dir="my_clone"
)
cloner.clone()
๐ ๏ธ Requirements
- Python 3.7 or higher
- Internet connection
- Required packages (auto-installed):
- requests
- beautifulsoup4
- lxml
๐ Command Line Options
webclone <url> [output_directory]
Arguments:
url URL of the website to clone
output_directory Optional: Custom output folder name
๐จ What Makes WebClone Special
| Feature | WebClone | Other Tools |
|---|---|---|
| One-command cloning | โ | โ |
| Smart resource organization | โ | โ |
| Auto path fixing | โ | Partial |
| Handles modern frameworks | โ | โ |
| Preserves animations | โ | โ |
| Auto documentation | โ | โ |
| No configuration needed | โ | โ |
๐ค Contributing
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Development Setup
git clone https://github.com/AbdirahmanNomad/webclone.git
cd webclone
pip install -e ".[dev]"
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Author
Abdirahman Ahmed
- Website: abdirahman.net
- GitHub: @AbdirahmanNomad
- LinkedIn: Abdirahman Ahmed
๐ Acknowledgments
- Built with Python and BeautifulSoup
- Inspired by the need for better web development learning tools
- Thanks to all contributors and users!
โ ๏ธ Disclaimer
WebClone is intended for:
- โ Learning and education
- โ Personal prototyping
- โ Design inspiration
- โ With permission for client work
Please respect:
- โ Copyright and intellectual property
- โ Terms of service of websites
- โ Privacy and data protection laws
Always get permission before using cloned content publicly or commercially.
๐ Stats
- 100+ websites successfully cloned
- Zero configuration required
- Seconds to complete a clone
- Unlimited possibilities
๐ฅ Popular Clones
Users have successfully cloned:
- Landing pages (Stripe, Vercel, Linear)
- Documentation sites (Docker, React, Vue)
- E-commerce sites (Shopify themes, product pages)
- Portfolio sites (Designer portfolios, agency sites)
๐ Roadmap
- GUI version
- Browser extension
- Multi-page cloning
- Template marketplace
- Direct deployment options
- More customization options
๐ฌ Community
Join our community:
- GitHub Discussions
- Report Issues
- Share your clones on Twitter with #WebClone
๐ Show Your Support
Give a โญ๏ธ if this project helped you!
Made with โค๏ธ by Abdirahman Ahmed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webclone_cli-1.0.0.tar.gz.
File metadata
- Download URL: webclone_cli-1.0.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38b42db910ca7673ec770b55c8e9a7366650d218b812336841672307b77a38e9
|
|
| MD5 |
15d99765dbbb8be0fcb86e6e8da1c18b
|
|
| BLAKE2b-256 |
e1fe7b9e17dffc3947eccfac8c59e14d34127f5c26be6a20002b37fe1604caad
|
File details
Details for the file webclone_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: webclone_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9301eda6dd36c7b06cec25bb9b7212b36249959f259c2709ea0eb1537340487d
|
|
| MD5 |
bec3af47fe571ffecd7f0d1bd949c7c3
|
|
| BLAKE2b-256 |
f16237aef234f90e32097381df9f6b43b0514e7ea8d2fdd3099fb69d349ab425
|