Decentralized Storage

Decentralization in the Browser



Since it would be impractical to expect everyone to upgrade their software for decentralized storage such as IPFS right away, teams like those at Protocol Labs are developing different modules that allow the technology to run in nontraditional places. For example, any website to easily integrate peer-to-peer storage into their services by making use of WebRTC technologies built into modern browsers.

Try the online IPFS portal!

Visit try-ipfs.weteachblockchain.org to try using the Interplanetary File System to share files directly with other users.

USING THE INTERFACE

When you reach the page, you’ll be able to upload and download files from IPFS using the browser window.

Wait for the note to initialize

Once your node has finished initializing, you can upload files and share them with others using the 'Link' button. They'll then be able to download them from your node, right in your browser window!

WHAT'S HAPPENING?

Everything here is working just like it did in the command line interface. Once the node is done initializing, it will have its own ID and addresses and will begin to network with other IPFS peers throughout the network. You can see the connected peers in the lower left portion of the user interface:

These are IPFS addresses. They can make things difficult to read, but you’ll notice there are patterns depending on the client software being used and the location of the node. When your node uploads or requests a file, these other nodes will receive your request and either serve the file themselves or offer to route information to a node that can serve the file.

The peers we see above are operating for free to facilitate the network, which presents some problems if we want to get things running at a larger scale. Instead, a number of solutions have been proposed to compensate nodes for storing files. This problem is largely unsolved though several projects are attempting to solve this issue along with tackling many others.