cloner.sh 437 B

12345678910111213
  1. #!/bin/bash
  2. echo "Cloning Banner"
  3. echo""
  4. echo -e ${green}"Enter Website URL To Clone. Example: https://www.starbucks.com"${clear}
  5. echo ""
  6. read URL
  7. echo ""
  8. echo -e ${yellow}"Cloning $URL"${clear}
  9. /usr/bin/chromium-browser --no-sandbox 2>/dev/null
  10. runuser -u pi -- ./SingleFile/cli/single-file $URL --browser-executable-path=/usr/bin/chromium-browser /home/pi/index.html
  11. echo ""
  12. sleep 2
  13. echo -e ${yellow}"$URL Cloned Successfully"${clear}