文档章节

IPFS 全球级分布式文件系统

openthings
 openthings
发布于 2017/02/15 13:18
字数 1566
阅读 450
收藏 2

IPFS = InterPlanetary File System

IPFS

IPFS 简介

IPFS 是分布式文件系统,寻求连接所有计算机设备的相同文件系统。IPFS 结合了 Git, BitTorrent, Kademlia, SFS 和 Web 的优势,提供跟 HTTP web 一样简单的接口。IPFS 云成为一个新的,重要的网络子系统,如果构建得当,那么可以完善或者替换 HTTP,或者说可以完善或者替代更多。在某些方面,这很类似于原始的 Web 目标,但是 IPFS 最终会更像单个比特流群交换的 git 对象。

IPFS 资源

IPFS 分为 3 个代码库:

IPFS 使用

USAGE:

    ipfs - global p2p merkle-dag filesystem

    ipfs [<flags>] <command> [<arg>] ...

    BASIC COMMANDS

        init          Initialize ipfs local configuration
        add <path>    Add an object to ipfs
        cat <ref>     Show ipfs object data
        get <ref>     Download ipfs objects
        ls <ref>      List links from an object
        refs <ref>    List hashes of links from an object

    DATA STRUCTURE COMMANDS

        block         Interact with raw blocks in the datastore
        object        Interact with raw dag nodes
        file          Interact with Unix filesystem objects

    ADVANCED COMMANDS

        daemon        Start a long-running daemon process
        mount         Mount an ipfs read-only mountpoint
        resolve       Resolve any type of name
        name          Publish or resolve IPNS names
        dns           Resolve DNS links
        pin           Pin objects to local storage
        repo gc       Garbage collect unpinned objects

    NETWORK COMMANDS

        id            Show info about ipfs peers
        bootstrap     Add or remove bootstrap peers
        swarm         Manage connections to the p2p network
        dht           Query the dht for values or peers
        ping          Measure the latency of a connection
        diag          Print diagnostics

    TOOL COMMANDS

        config        Manage configuration
        version       Show ipfs version information
        update        Download and apply go-ipfs updates
        commands      List all available commands

    Use 'ipfs <command> --help' to learn more about each command.

IPFS 项目和社区

The IPFS Project is now very large, with hundreds of contributors in our community. You are invited to join it! Here are some links to our communication channels:

You can also find our community on:

IPFS 项目链接

The IPFS Project is big -- there are many subprojects and related efforts. We will document the core ones here, though you should look around. The space is exploding and lots of new projects are springing up all the time.

For a community-curated lists of awesome projects using IPFS, check out awesome-ipfs!

IPFS 协议实现

LanguageProjectCompleteness
Gohttps://github.com/ipfs/go-ipfsreference
Javascripthttps://github.com/ipfs/js-ipfsincomplete
Pythonhttps://github.com/ipfs/py-ipfsstarting

If you would you like to start your own language implementation of IPFS, check out the IPFS Implementation Guide, and the Specifications. The specs are still evolving, but the core formats are stable and can be built on. Make sure to post an issue if you would like to start an effort, as many people have expressed interest in contributing to new implementations.

IPFS 客户端SDK

LanguageClient LibraryCompleteness
Gohttps://github.com/ipfs/go-ipfs-api
Javahttps://github.com/ipfs/java-ipfs-api
Javascripthttps://github.com/ipfs/js-ipfs-api
Pythonhttps://github.com/ipfs/py-ipfs-api
Scalahttps://github.com/ipfs/scala-ipfs-api
Haskellhttps://github.com/davidar/hs-ipfs-api
Swifthttps://github.com/ipfs/swift-ipfs-api
CommonLisphttps://github.com/WeMeetAgain/cl-ipfs-api
Rusthttps://github.com/rschulman/rust-ipfs-api
Rubyhttps://github.com/Fryie/ipfs-ruby
Swifthttps://github.com/NeoTeo/ipfs-osx-service
PHPhttps://github.com/cloutier/php-ipfs-api
C#https://github.com/TrekDev/net-ipfs-api
https://github.com/richardschneider/net-ipfs-api
C/C++contact: @PayasR0%
Juliacontact: @rened0%
Luacontact: @seclorum0%
Erlang!0%
Objective C!0%

Please help by contributing to one of the above client libraries. If you would like to create another, please see the IPFS API Client Implementation Guide, and tell us so we can help!

IPFS 项目列表

This aims to be a directory of all the various repos in the IPFS Github Organization, and other closely related things.

We have a status board that checks all IPFS repositories for CI, Readmes, test coverage, and so on, here: http://project-repos.ipfs.io/

项目组织

  • ipfs - Master repo, intro, and news.
  • community - Community Discussions and documentation on community practices.
  • pm - Community Sprints and Project Management.

得到帮助

  • FAQ - Frequently Asked Questions, and answers. All questions are posed as GitHub issues.
  • support - Support and Help with running IPFS. Post an Issue and we will help there or route you.

文档

  • papers - Academic papers on IPFS.
  • specs - Specifications on the IPFS protocol.
  • notes - Various relevant notes and discussions (that do not fit elsewhere).
  • reading-list - Papers to read to understand IPFS.

研究讨论

  • apps - Coordinating writing apps on top of ipfs.
  • archives - Coordinating archival efforts with IPFS.

规格讨论

协议实现

  • go-ipfs - Implementation in Go.
  • js-ipfs - Implementation in Javascript.
  • py-ipfs - Implementation in Python.

API 客户端实现

IPFS 节点应用

  • station - An IPFS Desktop app.
  • webui - The IPFS WebUI app.

基于IPFS发布Apps

  • astralboot - Low level boot server that deploys directly out of IPFS (TFTP, PXE Boot).
  • ipfs-web-app - IPFS web app interfaces.
  • ipget - wget for IPFS: retrieve files over IPFS and save them locally.
  • starlog - Blog posts in IPFS.
  • container-demos - Demos on how to boot docker images and VMs from IPFS.
  • ipfs-geoip - Geoip over ipfs.
  • ipfs-npm - npm on IPFS.

社区架构

引用列表

其它社区资源

  • examples - Examples on how to use go-ipfs.
  • awesome-ipfs - Useful resources for using IPFS and building things on top of it.
  • ipfs-readme-standard - Standardize all IPFS Readme.md's and other markdown files.
  • ipld-examples - Datastructure examples to use with IPLD, the new data format for IPFS.
  • logo - The logo for IPFS.
  • translation project - Crowdsourced translation of IPFS WebUI and the ipfs.io website.

IPFS 会议

We encourage and support IPFS Meetups, please let us know if you would like to start one. Feel free to organize yourself through the Community discussions and to advertise events in the main repository.

工具

安装

其它

复制库

实现子模块

Many more exist, but we will endeavor to find them and add them here.

© 著作权归作者所有

共有 人打赏支持
openthings
粉丝 261
博文 971
码字总数 514168
作品 1
东城
架构师
当软件定义存储(SDS)遇见区块链(BlockChain)

【编者Peter Ye按】 在开始正文之前,先分享我最近思考得出的一段话: 互联网解决了信息随时分享,移动互联网解决了信息随地分享,物联网解决了信息随物分享,而构建在三者基础之上的区块链解...

Linux宝库
05/04
0
0
『学概念找员外』星际文件系统 IPNS

本文由币车HIT(biche.yaofache.com)大V养成计划支持 上篇文章我们说了星际文件存储 IPFS的一些好处,最强大的地方就是它可以去中心化的存储你的小电影,就是郭嘉知道了,想不通过你就删掉你...

刘飞_007
05/31
0
0
2015 十大新兴热门开源项目盘点

2015是开源盛世的发端,而不是顶点,2015年开源运动所呈现的发展趋势牵动着整个IT业的神经。近日开源软件平台Black Duck公司根据Open Hub网站上的开源项目统计数据给出了近年来诞生的十大热门...

oschina
2015/12/22
10K
11
[干货] 详谈软件定义存储如何约会区块链?

申明: 本文授权转自“当软件定义存储(SDS)遇见区块链(BlockChain)”,整体内容有改动。 互联网解决了信息随时分享,移动互联网解决了信息随地分享,物联网解决了信息随物分享,而构建在三者基...

btb5e6nsu1g511eg5xeg
05/08
0
0
IPFS网站UI全新设计即将发布,还有一项重磅功能

作者:IPFS海神矿机 一个令人兴奋的消息,IPFS网站新版页面即将到来。 新版页面进行了重新设计,设置了多个功能版块,并增加非常实用的功能:支持文件直接上传到IPFS网络。创始人Juan Benet‏...

IPFS海神矿机
前天
0
0

没有更多内容

加载失败,请刷新页面

加载更多

OSX | SafariBookmarksSyncAgent意外退出解决方法

1. 启动系统, 按住⌘-R不松手2. 在实用工具(Utilities)下打开终端,输入csrutil disable, 然后回车; 你就看到提示系统完整性保护(SIP: System Integrity Protection)已禁用3. 输入reboot回车...

云迹
今天
4
0
面向对象类之间的关系

面向对象类之间的关系:is-a、has-a、use-a is-a关系也叫继承或泛化,比如大雁和鸟类之间的关系就是继承。 has-a关系称为关联关系,例如企鹅在气候寒冷的地方生活,“企鹅”和“气候”就是关...

gackey
今天
4
0
读书(附电子书)|小狗钱钱之白色的拉布拉多

关注公众号,在公众号中回复“小狗钱钱”可免费获得电子书。 一、背景 之前写了一篇文章 《小狗钱钱》 理财小白应该读的一本书,那时候我才看那本书,现在看了一大半了,发现这本书确实不错,...

tiankonguse
今天
4
0
Permissions 0777 for ‘***’ are too open

异常显示: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ......

李玉长
今天
5
0
区块链10年了,还未落地,它失败了吗?

导读 几乎每个人,甚至是对通证持怀疑态度的人,都对区块链的技术有积极的看法,因为它有可能改变世界。然而,区块链技术问世已经10年了,我们仍然没有真正的用上区块链技术。 几乎每个人,甚...

问题终结者
今天
4
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部