No Description

Mek Karpeles 0d2768e623 Updating IPFS documentation 10 years ago
img e41419ec93 README update: alpha demo video 10 years ago
papers 208df8daa4 moved papers out 10 years ago
CONTRIBUTE.md 31fd30b921 Touched up contribute, linked to community docs 10 years ago
LICENSE 9c9a44457d added MIT license 11 years ago
README.md 0d2768e623 Updating IPFS documentation 10 years ago

README.md

IPFS - The Permanent Web

ipfs

Welcome to IPFS (the InterPlanetary File System)! Why not watch a video to get started?

Table of Contents (links)

Overview

IPFS (InterPlanetary File System) is an Open Source distributed file system that seeks to connect all computing devices with the same system of files. In some ways, this is similar to the original aims of the Web, but IPFS is actually more similar to a single bittorrent swarm exchanging git objects. You can read more about its origins in the paper IPFS - Content Addressed, Versioned, P2P File System.

IPFS could become a new major subsystem of the internet. If built right, it could complement or replace HTTP. It could complement or replace even more. It sounds crazy. It is crazy.

Alpha Demo

Want to see more? Check out Juan Benet's talk at Sourcegraph - IPFS: The Permanent Web.

How IPFS Works

IPFS is a protocol:

  • defines a content-addressed file system
  • coordinates content delivery
  • combines Kademlia + BitTorrent + Git

IPFS is a filesystem:

  • has directories and files
  • mountable filesystem (via FUSE)

IPFS is a web:

  • can be used to view documents like the web
  • files accessible via HTTP at http://ipfs.io/<path>
  • browsers or extensions can learn to use ipfs:// directly
  • hash-addressed content guarantees authenticity

IPFS is modular:

  • connection layer over any network protocol
  • routing layer
  • uses a routing layer DHT (kademlia/coral)
  • uses a path-based naming service
  • uses bittorrent-inspired block exchange

IPFS uses crypto:

  • cryptographic-hash content addressing
  • block-level deduplication
  • file integrity + versioning
  • filesystem-level encryption + signing support

IPFS is p2p:

  • worldwide peer-to-peer file transfers
  • completely decentralized architecture
  • no central point of failure

IPFS is a cdn:

  • add a file to the filesystem locally, and it's now available to the world
  • caching-friendly (content-hash naming)
  • bittorrent-based bandwidth distribution

IPFS has a name service:

  • IPNS, an SFS inspired name system
  • global namespace based on PKI
  • serves to build trust chains
  • compatible with other NSes
  • can map DNS, .onion, .bit, etc to IPNS

Current State of IPFS

IPFS is a work in progress!

Please note that IPFS is a work in progress. It is an ambitious plan to make the internet more free, open, secure, and high performance. It builds on the good ideas of numerous battle-tested distributed systems.

Security Issues

The IPFS protocol and its implementations are still in heavy development. This means that there may be problems in our protocols, or there may be mistakes in our implementations. And -- though IPFS is not production-ready yet -- many people are already running nodes in their machines. So we take security vulnerabilities very seriously. If you discover a security issue, please bring it to our attention right away!

If you find a vulnerability that may affect live deployments -- for example, by exposing a remote execution exploit -- please send your report privately to security@ipfs.io. Please DO NOT file a public issue.

If the issue is a protocol weakness that cannot be immediately exploited or something not yet deployed, just discuss it openly.

Demos & Examples

Language Implementations

For a list of IPFS API Client Libraries, please refer to Client Libraries

Language Project Completeness
Go (reference) https://github.com/ipfs/go-ipfs
Javascript https://github.com/ipfs/js-ipfs
Python https://github.com/ipfs/py-ipfs
Haskell https://github.com/cleichner/haskell-ipfs
.net https://github.com/wasabii/dotnet-ipfs
C++ https://github.com/subtly/cpp-ipfs
Rust https://github.com/rschulman/rust-ipfs

Would you like to start your own language implementation of IPFS? Check out the IPFS Implementation Guide. There is at present no "perfect spec" and many protocol details are still to be decided upon.

Client Libraries

For a list of IPFS implementations, please refer to *Language Implementations.

Language Client Library Completeness
Go https://github.com/ipfs/go-ipfs-api
Java https://github.com/ipfs/java-ipfs-api
Javascript https://github.com/ipfs/js-ipfs-api
Python https://github.com/ipfs/python-ipfs-api
Scala https://github.com/ipfs/scala-ipfs-api
Haskell https://github.com/davidar/hs-ipfs-api
Swift https://github.com/ipfs/swift-ipfs-api
CommonLisp https://github.com/WeMeetAgain/cl-ipfs-api
Rust https://github.com/rschulman/rust-ipfs-api
Ruby https://github.com/Fryie/ipfs-ruby
Swift https://github.com/NeoTeo/ipfs-osx-service
PHP https://github.com/cloutier/php-ipfs-api
C/C++ contact: @PayasR 0%
Julia contact: @rened 0%
Lua contact: @seclorum 0%
Erlang ! 0%
Objective C ! 0%

Want to contribute one of the above client libraries? Tell us so we can help!

Community Projects

Project Description
astralboot A low level boot server that deploys directly out of IPFS.
ipfs-web-app IPFS web app interface.
starlog Logging the development of an interplanetary filesystem. This will evenutlaly be a way of making blog posts with IPFS.
station Electron Shell based IPFS app.
webui The IPFS webui accessible from the api gateway typically at port 500.1

FAQ

Feel free to submit more questions as issues or via my email.

What is the goal of IPFS?

To evolve infrastructure of the internet and the web, with many things we've learned from successful systems, like Git, BitTorrent, Kademlia, Bitcoin, and many more.

This is the sort of thing that would have come out of ARPA/DARPA/IETF/BellLabs in another age. In this age, these things "come out of the woodwork", which is coming to mean "from the internet", despite wood being a subpar computer construction material.

Is this open-source?

Yes! 100% raw, unadulterated, Free Open Source Software.

How do I help!?

Please read CONTRIBUTE.md. Help with the design. Write or contribute to an implementation or application.

How is this different from X?

There is probably a specific discussion about that in the issues. If not, start it.

Who designed it?

IPFS is the brainchild of Juan Benet.

But IPFS has been designed by the internet at large. The ideas behind IPFS have been around for many years, in the form of excellent open source systems and research. If it gets far at all, IPFS will be standing on the wigs of giants.

And, there are many people whose papers, conversations, or work have directly contributed to its design and implementation.

What is the relation to Filecoin?

Filecoin is the sister protocol of IPFS. While neither protocol depends on each other, they are perfectly complementary. IPFS handles high performance distribution of objects; Filecoin handles incentivizing the world to backup/seed objects.

Why the name IPFS?

The original name was GFS, which stood for the Global File System and seemed more accurate than GitFS. But that exact name was already taken. So I switched Global for Galactic, in an homage to Licklider's Intergalactic Computer Network, and because peer-to-peer systems look like galaxies to me. But GFS caused confusion with yet another GFS, even though that one is not even open source.

By popular demand (there were votes and a pronouncement of "GFS is dead. Long live IPFS!" and everything), I switched it to IPFS - InterPlanetary File System, which has several nice properties:

  • IP evokes the goal better: internet infrastructure
  • InterPlanetary still pays a weaker homage to Licklider
  • If all goes well, it may some day actually be InterPlanetary.
  • Name clashes less.

Though it gets harder every day, I can still be convinced to change the name. If you have the killer name, drop me a line.