Terminal commands

To initialise IPFS node for the first time: ipfs init

To change IPFS location (do this everytime you launch a terminal window): export IPFS_PATH=/your/file/path

To add video/thumbnail from local storage: ipfs add "filename.fileext"

To pin video/thumbnail on IPFS node: ipfs pin add <hashvalue>

To download others' videos/thumbnails from other IPFS nodes: ipfs get <hashvalue>

To view what's pinned on your IPFS node: ipfs pin ls | grep 'recursive'

To show network stats: ipfs stats repo

To show bandwidth stats: ipfs stats bw