Copy websites to your computer! Goclone is a utility that allows you to download a website from the Internet to a local directory. Get html, css, js, images, and other files from the server to your computer. Goclone arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link as if you were viewing it online.
# tap
brew tap imthaghost/goclone
# install tool
brew install goclone
# go get :)
go get github.com/imthaghost/goclone
# change to project directory using your GOPATH
cd $GOPATH/src/github.com/imthaghost/goclone/cmd/goclone
# build and install application
go install
Visit the Notion link here to view Goclone's feature/bug progress.
# goclone <url>
goclone https://configtree.co
Usage:
goclone <url> [flags]
Flags:
-C, --cookie strings Pre-set these cookies
-h, --help help for goclone
-o, --open Automatically open project in deafult browser
-p, --proxy_string string Proxy connection string. Support http and socks5 https://pkg.go.dev/github.com/gocolly/colly#Collector.SetProxy
-s, --serve Serve the generated files using Echo.
-u, --user_agent string Custom User Agent
By contributing, you agree that your contributions will be licensed under its MIT License.
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
Contributions are welcome! Please see Contributing Guide for more details.
Tha Ghost 💻 |
Juan Mesaglio 💻 |
Ben Lafferty 💻 |
Omar Sagoo 💻 |