Installation Using npm
cd 'your hexo project'
npm i --save hexo-deployer-ipfs
Configuration in your _config.yml file, configure a deployer as below.
deploy:
- type: "required, value is 'ipfs', type string"
path: "your folder, by default it's public, type string"
host: "your ipfs node hostname, by default localhost, type string"
port: "your ipfs port, by default 5001, type integer"
protocol: "protocol, by default http, type string"