DEV Community

Antonio Sánchez
Antonio Sánchez

Posted on • Originally published at asanchez.dev

 

Download a copy of an entire website

#go

I have created a simple yet powerful command-line application to easily download an entire copy of any online website.

It is coded with Go and it is available on my GitHub: https://github.com/antsanchez/go-download-web

I normally use it to:

  • Back up any website (at least the rendered part of the website)
  • Create copies of websites for accessing them offline

It also allows you to change the URL of the downloaded website, which can be very helpful when moving an existing static website from a domain to another.

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

If you need any help or have any questions, do not hesitate to contact me.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.