mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-25 02:16:56 +08:00
2.0 KiB
2.0 KiB
go-ipfs development
This is a simple description of where the codebase stands.
There are multiple subpackages:
bitswap- the block exchangeblocks- handles dealing with individual blocks and sharding filesblockservice- handles getting and storing blockscmd/ipfs- cli ipfs tool - the main entrypoint atmconfig- load/edit configurationcore- the core node, joins all the piecesfuse/readonly- mount/ipfsas a readonly fuse fsimporter- import files into ipfsmerkledag- merkle dag data structurepath- path resolution over merkledag data structurepeer- identity + addresses of local and remote peersrouting- the routing systemrouting/dht- the dht default routing system implementationswarm- connection multiplexing, many peers and many transportsutil- various utilities
What's done:
- merkle dag data structure
- path resolution over merkle dag
- local storage of blocks
- basic file import/export (
ipfs add,ipfs cat) - mounting
/ipfs(try{cat, ls} /ipfs/<path>) - multiplexing connections (tcp atm)
- peer addressing
- dht - impl basic kademlia routing
- bitswap - impl basic block exchange functionality
- crypto - building trust between peers in the network
- block splitting on import - Rabin fingerprints, etc
What's in progress:
- ipns - impl
/ipnsobj publishing + path resolution - expose objects to the web at
http://ipfs.io/<path>
What's next:
- version control -
commitlike data structure - more...
Cool demos
A list of cool demos to work towards
- boot a VM from an image in ipfs
- boot a VM from a filesystem tree in ipfs
- publish static websites directly from ipfs
- expose objects to the web at
http://ipfs.io/<path> - mounted auto-committing versioned personal dropbox
- mounted encrypted personal/group dropbox
- mounted {npm, apt, other pkg manager} registry
- open a video on ipfs, stream it in
- watch a video with a topology of 1 seed N leechers (N ~100)
- more in section 3.8 in the paper