News for hackers. Stuff that matters.
Re:Show HN: Webclone.js – A simple tool to clone websites by ohans on Tuesday December 02, 2025 @10:15AM (#46122026)
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/

Re:Show HN: Webclone.js – A simple tool to clone websites by jadesee on Tuesday December 02, 2025 @01:25PM (#46124512)
Great feedback! Will get this fixed. Thank you.
Re:Show HN: Webclone.js – A simple tool to clone websites by ohans on Tuesday December 09, 2025 @04:24AM (#46202981)
No qualms! Thanks for sharing :)
Re:Show HN: Webclone.js – A simple tool to clone websites by jadesee on Thursday December 04, 2025 @09:21AM (#46147946)
Hello. I have tested this and it indeed looks for yt-dlp at the beginning even though the site is not a video platform. I have logged the issue on GitHub and working on a fix. Thank you for the feedback!