Transferring a blog(https://anonyome.com/blog/) and its content to the Swarm decentralized storage and hosting it from there.
https://bah5acgza4wtxzscc2agatux2u55e3cfcpwvyfr7tqhdc2suo63gxd34iu4wq.bzz.link - MY WORK.
You want to know how to do yours also right!. Just follow along...
Now you are ready to upload and host your website on the swarm decentralized storage. I used the instructions here: https://docs.ethswarm.org/docs/access-the-swarm/upload-a-directory
To publish an existing blog, the easiest way for me is to:
Mirror the website using
$wget -m -np -k "url"
The wget is used for retrieving files (Remember to follow fair data society principle)
-np is not include parent directory (since all we need is the blog)
-k is for downloading all js,css, and any other prerequisites
and then the url.
After i downloaded all i need, i edited the code in order for it to function properly. and then published on SWARM. This is the result below. https://bah5acgza4wtxzscc2agatux2u55e3cfcpwvyfr7tqhdc2suo63gxd34iu4wq.bzz.link Anonyme.com Blog published on Swarm.
Credit to https://anonyome.com/blog/