Skip to main content

IPFS

Interplanetary filing system is a decentralised filing system. It is a mashup of several things. Think of it like a torrent network, where you download a file using peers. Done over a Tor network. Content can have multiple versions too, so you can think of it like git. Just like a torrent, you only have and share the files that you use/want. It is also encrypted. It takes literally 5 minutes to get it installed. Follow the getting started guide.

Definitions

DHT
A Distributed Hash Table
Merkle DAG
Directed Acyclic Graph

I'm working on a Javascript example data structure on the above, so more coming soon.

Getting started

Lets get it running:

ipfs daemon

Or in docker

docker run -d --name ipfs_host -p 8080:8080 -p 4001:4001 -p 5001:5001 ipfs/go-ipfs:latest

Thats it!

IPFS Repo

A repo is the storage repository of an IPFS node. It is the subsystem that actually stores the data ipfs nodes use. All IPFS objects are stored in in a repo (similar to git).

Resources