Zack Scholl

IPFS enabled personal internet archive

 / #tutorial #ipfs 

A simple way to make an archive of a website using IPFS and wget.

There are some great ways to archive sites on the web. You can use or the Internet Archive. But, using the IPFS, its really easy to make your own hosted internet archive.

Say you found a cool website, like which shows how a Kalman filter works. All you need to do is recursively download the site, with cross-domain assets, and then pin it to IPFS.

$ mkdir site1 && cd site1
$ wget --restrict-file-names=windows -k --adjust-extension --span-hosts --convert-links --backup-converted --page-requisites 
$ cd ../ && ipfs add -r site1 -Q
<some hash>
$ ipfs pin add -r <some hash>

That’s it! IPFS will automatically resuse assets if they have the same hash, so common files (CSS, JS) will only ever be added once. You can then view your site with the IPFS gateway. For example, the site above is available at