Create a local copy of an entire website. As someone who travels frequently, I often find myself without internet access, which can be frustrating when I need to access specific documentation or websites. To solve this problem, I made dolly to clone entire websites, crawling the site and saving it to a local folder for offline access.
Usage:
# install:
pnpm install
# run
pnpm run start --url https://noelzubin.github.io/ | npx pretty-pino
# or
pnpm run start --url https://noelzubin.github.io/ --maxPages 30 | npx pretty-pino
# Access the cloned site
open cloned-site/index.html
# or Use any static site server.
cd cloned-site && python3 -m http.server