Skip to content
/ TEMPLATE Public template

A bare-bones template for starting new repos for wget snapshots

License

Notifications You must be signed in to change notification settings

wgetsnaps/TEMPLATE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wget snapshot of EXAMPLE_SITE (template repo)

This repo contains a working mirror of EXAMPLE_SITE – as well as the wget script and other code to reproduce the mirror.

site-homepage.png

Code and data

See wgetsnap.sh to check out the wget code for mirroring the site.

Related

Developer notes

If you've cloned this repo and want to recreate the wget mirror yourself, check out the Makefile.

Basically:

  • make snap to execute script(s) for creating a mirror of the target site mirroring the target site (if ./docs doesn't already exist)

  • make serve to view the locally mirrored site

  • make clean to clean out an existing mirror (wget.log and ./docs/)