IPFS是分布式文件系统,寻求连接所有计算机设备的相同文件系统。在某些方面,这很类似于原始的Web目标,但是IPFS最终会更像单个比特流群交换的git对象。
IPFS=IterPlaetaryFileSystem
IPFS云成为一个新的、重要的网络子系统,如果构建得当,可以完善或者替换HTTP,或者更多。
IPFS结合了Git,BitTorret,Kademlia,SFS和Web的优势,提供跟HTTPweb一样简单的接口。
IPFS分为3个代码库:
github.com/ipfs/ipfs-IPFS规范
github.com/ipfs/go-ipfs-Go实现
github.com/protocol/ipfs-webui-Web工作台
使用:
USAGE: ipfs - global p2p merkle-dag filesystem ipfs [<flags>] <commad> [<arg>] ... BASIC COMMANDS iit Iitialize ipfs local cofiguratio add <path> Add a object to ipfs cat <ref> Show ipfs object data get <ref> Dowload ipfs objects ls <ref> List liks from a object refs <ref> List hashes of liks from a object DATA STRUCTURE COMMANDS block Iteract with raw blocks i the datastore object Iteract with raw dag odes file Iteract with Uix filesystem objects ADVANCED COMMANDS daemo Start a log-ruig daemo process mout Mout a ipfs read-oly moutpoit resolve Resolve ay type of ame ame Publish or resolve IPNS ames ds Resolve DNS liks pi Pi objects to local storage repo gc Garbage collect upied objects NETWORK COMMANDS id Show ifo about ipfs peers bootstrap Add or remove bootstrap peers swarm Maage coectios to the p2p etwork dht Query the dht for values or peers pig Measure the latecy of a coectio diag Prit diagostics TOOL COMMANDS cofig Maage cofiguratio versio Show ipfs versio iformatio update Dowload ad apply go-ipfs updates commads List all available commads Use 'ipfs <commad> --help' to lear more about each commad.






评论