文档章节

IPFS 全球级分布式文件系统

openthings
 openthings
发布于 2017/02/15 13:18
字数 1566
阅读 505
收藏 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
粉丝 286
博文 1052
码字总数 574209
作品 1
东城
架构师
私信 提问
当软件定义存储(SDS)遇见区块链(BlockChain)

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

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

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

刘飞_007
2018/05/31
0
0
Filecoin主网推迟意料其中,IPFS将大放异彩

从去年Filecoin众筹以来,Filecoin引发了空前的关注度,大半年冒出数十家大大小小的矿机服务商。与之形成鲜明对比的则是低调到尘埃里的Filecoin团队,自2018年1月1日发布了filecoin的2017年4...

IPFSforce
2018/09/14
0
0
[干货] 详谈软件定义存储如何约会区块链?

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

btb5e6nsu1g511eg5xeg
2018/05/08
0
0
IPFS星际文件系统之-- 环境配置

1. IPFS简介 是一个点对点的分布式超媒体分发协议,它整合了过去几年最好的分布式系统思路,为所有人提供全球统一的可寻址空间,包括、自证明文件系统、和,同时也被认为是最有可能取代的新一...

若与
2018/10/16
0
0

没有更多内容

加载失败,请刷新页面

加载更多

脚本配置java开发环境

@echo off&setlocal enabledelayedexpansion cls @echo "This script is used to registe envionment variables......" @echo. @echo. @echo. set var=%~dp0 set var=%var:~,-1% @echo "regi......

默克鱼
35分钟前
1
0
c++中友元函数理解与使用

在学习c++这一块,关于友元函数和友元类,感觉还是不好理解,但是井下心来,理解,需要把我一下几点。 首先讲友元函数。 (1)友元函数: 1)C++中引入友元函数,是为在该类中提供一个对外(除...

天王盖地虎626
今天
2
0
OSChina 周一乱弹 —— 白掌柜说了卖货不卖身

Osc乱弹歌单(2019)请戳(这里) 【今日歌曲】 @爱漫爱 :这是一场修行分享羽肿的单曲《Moony》 手机党少年们想听歌,请使劲儿戳(这里) @clouddyy :开不开心? 开心呀, 我又不爱睡懒觉…...

小小编辑
今天
917
11
大数据教程(11.7)hadoop2.9.1平台上仓库工具hive1.2.2搭建

上一篇文章介绍了hive2.3.4的搭建,然而这个版本已经不能稳定的支持mapreduce程序。本篇博主将分享hive1.2.2工具搭建全过程。先说明:本节就直接在上一节的hadoop环境中搭建了! 一、下载apa...

em_aaron
今天
5
0
开始看《JSP&Servlet学习笔记》

1:WEB应用简介。其中1.2.1对Web容器的工作流程写得不错 2:编写Servlet。搞清楚了Java的Web目录结构,以及Web.xml的一些配置作用。特别是讲了@WebServlet标签 3:请求与响应。更细致的讲了从...

max佩恩
今天
7
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部