Show HN: Webclone.js – A simple tool to clone websites
I needed a lightweight way to archive documentation from a website. wget and similar tools failed to clone the site reliably (missing assets, broken links, etc.), so I ended up building a full website-cloning tool using Node.js + Puppeteer.

Repo: https://github.com/jademsee/webclone

Feedback, issues, and PRs are very welcome.

  • ohans
  • ·
  • 10 hours ago
  • ·
  • [ - ]
Looks good! You could push to npm so that running it could be as easy as:

npx webclone URL (no repo cloning required)

Also, FYI, when running the example code

node webclone.js https://www.example.com/

It fails (at least for me) until I either install yt-dlp or ignore videos via:

node webclone.js https://www.example.com/

Great feedback! Will get this fixed. Thank you.
can it also clone games? you know these web html games
I haven't tried. Would you be able to share some links so I could test?
[dead]
Hey thanks! This is quite handful, I often do this "manually", lol.
Glad you find it useful. Please feel free to share with your friends.