To archive a site:
[code]wget -rk <url>[/code]
Once you have an archive you can cd into the folder and host it locally using either of the following:
python3 -m http.server
php -S 127.0.0.1:8000
one slight problem with these is that if a webpage did not have the .html extension it might not be displayed as HTML (the browser tries to dowload it instead).
I've made a python script that fixes this.
I'm kind of half working on a console java application for web crawling (You can crawl faster if you have the bandwidth, e.g. 30, 50, 500+ threads)