Simplify, speed up, and secure access to the InterPlanetary File System (IPFS)
Browse files stored on IPFS easily and securely with Cloudflare’s Distributed Web Gateway without downloading software. Serve your own content hosted on IPFS from a custom domain over HTTPs.
Distributed Web Gateway Terms of Use
What is IPFS?
The InterPlanetary File System (IPFS) is a distributed file storage protocol that allows computers all over the globe to store and serve files as part of a giant peer-to-peer network.
Any computer, anywhere in the world, can download the IPFS software and start hosting and serving files.
If someone runs IPFS on their computer and uploads a file to the IPFS network, that file can be viewed and downloaded by anyone else in the world who is also running IPFS.
How does IPFS Work
Distributed Computers Join the Network
Any computer can download the IPFS software and start adding and requesting files from the network.
Unique Hash Created for Every File
Every file added to IPFS is given an address derived from a hash of the file’s content. That address is like a fingerprint. It belongs uniquely to that file and will be the same, no matter where the file is stored in IPFS.
Users Can Access and Query Anywhere
Any computer on the network can query the hash and retrieve the file. Not just from one location, but from any location which has it stored on its network node.
Why Are People Using IPFS?
Ensure Integrity of Content
Every file on IPFS has a unique address determined by the exact bits that comprise the file. If even a single bit changes, the whole address changes. This allows the users to know for sure if a file has ever been tampered with.
Host with Redundancy
Achieve resiliency because every file on IPFS can be hosted in many different places, yet accessed from the same address. If one computer hosting the file goes offline, the network will just retrieve the file from another computer.
Generally, to access content stored on IPFS, you have to be running an IPFS node. That means downloading dedicated software and allocating local storage space on your computer. Cloudflare’s Distributed Web Gateway makes all of that unnecessary. Cloudflare’s gateway allows you to browse any file stored on the public IPFS network by going to https://cloudflare-ipfs.com/<path-to-content>.
No need to download anything. No need to give up local storage space. It all happens in your browser.
Cloudflare’s gateway helps speed up delivery of IPFS content. By caching IPFS content in our 150+ data centers, Cloudflare can deliver content requested through our gateway from a data center near you.
For each file that Cloudflare’s gateway requests on your behalf, we check the hash of the file to ensure that the content hasn’t been modified in transit. Our gateway also serves all content over HTTPS, protecting it from manipulation.
Curious about what types of content you can run on IPFS? Click here to go to an example.
If you want to put your own files on IPFS, go to the Developer Docs to learn how.
If you have content stored in IPFS that you want to serve from a custom domain name, you can do so in just a few minutes using this gateway. All you need is a domain name you own, access to your DNS records, and the hash of the content stored on IPFS. More in-depth instructions, including how to get your content onto IPFS in the first place, can be found in our developer documentation.
Here are the key steps to take:
Distributed Web Gateway Terms of Use