How to deploy a website on IPFS with ipfs-deploy

How to deploy a website on IPFS with ipfs-deploy

Reading Time: 1-1 minutes

By popular demand, I publish a guide on how to deploy your website on the decentralized web, on IPFS (Interplanetary File System). To get an idea of what IPFS is, I wrote some slides here.

For simplicity, this guide has links to other guides (preparatory for this one) and specific instructions.

First of all: what does it mean to distribute a website on IPFS? Basically it means that, instead of connecting to my site using the gigantic servers of the companies that host most of the world’s websites (Amazon, Facebook, Google), my site is reconstructed in the visitor user’s computer by collecting bits coming from many different computers around the world, which can belong to ordinary people. A part of my website is also on my desktop computer at home. It is a beautiful example of content decentralization.

The advantage is that my site can virtually never go offline: if a computer goes offline, there are always others who reconstruct the rest. If, on the other hand, a Google datacenter goes offline, for a few moments all sites connected to Google in that datacenter are unreachable. Occasionally it happened with Facebook, which also drove the servers of Whatsapp and Instagram crazy.

Requirements

To start, you need to see the requirements:

  • A static website using the following frameworks: jekyll, hakyll, elevently, gatsby, hugo, hexo, nuxt, pelican, create-react-app, metalsmith, middleman, docusaurus and all websites that support content in the site and docs folders
  • npm installed (download npm)
  • recommended: IPFS node installed locally - How to install an IPFS node
  • an account on a data pinning service, recommended with Pinata - How to configure the Pinata pinning service
  • A Cloudflare account for DNS service

Instructions

Support My WorkBuy me a coffee @ home
Giacomo Barbieri

Giacomo Barbieri

Blogger with over 5 years of experience in blogs and newspapers,passionate about AI, 5G and blockchain. Never-ending learner of new technologies and approaches, I believe in the decentralized government and in the Internet of Money.

rss facebook twitter github youtube mail spotify lastfm instagram linkedin google pinterest medium vimeo stackoverflow reddit quora quora