Logo

dev-resources.site

for different kinds of informations.

IPFS (InterPlanetary File System) Explained

Published at
5/26/2024
Categories
ipfs
beginners
programming
Author
kamilrashidev
Categories
3 categories in total
ipfs
open
beginners
open
programming
open
Author
13 person written this
kamilrashidev
open
IPFS (InterPlanetary File System) Explained

1. What is IPFS?

Imagine you have a giant library where everyone can share their books. IPFS is like a giant library for the internet. It helps people store and share files (like books, videos, pictures) all over the world.

2. How is it different from the current internet?

Current Internet (HTTP): When you want to see a webpage or watch a video, your computer asks a specific server (a big computer) for the file. This is like asking one specific library for a book.

IPFS: Instead of asking one place for the file, you ask everyone who has it. Itโ€™s like asking all your friends if they have the book you want. If they do, they share it with you.

3. How does IPFS find files?

Unique Address: Every file in IPFS gets a unique address called a hash (a string of letters and numbers). Itโ€™s like a special code that represents that file.

Content-Based: In IPFS, you find files based on their content, not where they are stored. If you have the hash code, you can find the file no matter who has it.

4. How do you add files to IPFS?

Put the File in IPFS: You add your file (like a picture or a video) to IPFS. It gets broken into smaller pieces, and each piece gets a hash code.

Get a Hash Code: IPFS gives you a hash code for your file.

This hash code is like the fileโ€™s unique address.

Share the Hash Code: If you want to share your file with friends, you give them the hash code. They can use this code to get the file from IPFS.

5. How do you get files from IPFS?

Ask for the File: You use the hash code to ask IPFS for the file.

Find the File: IPFS finds people (nodes) who have the file and asks them for the pieces.

Download the File: Your computer collects all the pieces and puts them back together to give you the file.

6. Why is IPFS cool?

Decentralized: No single server can control or censor the files. Itโ€™s like everyone sharing their books with each other.
Faster: Files can come from many sources at once, so downloads can be faster, especially if lots of people have the file.

Permanent: Files can stay available as long as someone is sharing them. Even if the original uploader goes away, others can still have the file.

7. How do you use IPFS?

IPFS Software: You need to install IPFS software on your computer. This software helps you add and get files from IPFS.
IPFS Network: Your computer becomes part of the IPFS network, sharing and receiving files with other computers.

8. A Simple Example

Adding a File: You have a picture of your cat. You add it to IPFS, and it gets a hash code like QmXyZ....
Sharing the File: You give your friend the hash code QmXyZ.... They use this code to get the picture from IPFS.
Getting the File: Your friendโ€™s computer asks the IPFS network for the file with the hash code QmXyZ.... The network finds the file and sends it to your friend.

9. Key Terms

Node: A computer connected to the IPFS network.
Hash Code: A unique address for a file in IPFS.
Decentralized: Not controlled by one single place; shared among many.

10. Summary

IPFS is like a big library for the internet.
Files are found by their content, not location.
You can add, share, and get files using unique hash codes.
Itโ€™s faster, more reliable, and more free than the current internet.

ipfs Article's
30 articles in total
Favicon
How to work with CAR files with NestJS
Favicon
๐ŸŽƒ๐Ÿš€ Storacha Halloween Hackathon 2024: Time to Store Some Skeletons and Build Spooky Tech! ๐Ÿ’ป๐Ÿ‘ป
Favicon
Ditch the Server, Own Your Words: Building a Decentralized Blog with IPFS
Favicon
Decentralized blog via ipfs
Favicon
How to Run Your Own IPFS Node and Share Files
Favicon
Hosting Websites on IPFS
Favicon
How to Deploy a Next JS App on IPFS (InterPlanetary File System) and automate using Fleek
Favicon
IPFS (InterPlanetary File System) Explained
Favicon
uploading file into pinata
Favicon
DRepo: A Decentralized Version Control System- Day 3
Favicon
Deploy Your HTML Website on IPFS with GitHub and Fleek
Favicon
O que รฉ IPFS?
Favicon
Bakeree IPFS stands at the forefront of IPFS NFT Storage innovation.
Favicon
Simplifying IPFS with Spheron Network Effortless Web Hosting
Favicon
Top Tips for Successfully Hosting Your Static Site on IPFS
Favicon
Simplifying Comprehensive IPNS Management With Spheron Network
Favicon
Exploring Storage Options in Web3: Cloud, IPFS and On-Chain
Favicon
Navigating the IPFS Landscape: An Insider's Perspective
Favicon
Building a Decentralized Web Application with IPFS: A Step-by-Step Guide
Favicon
Step-by-Step Guide How to Store your data on IPFS with Spheron Browser SDK
Favicon
How to Use IPFS with Ethereum
Favicon
IPFS Bootcamp
Favicon
Incognfto: A Private NFT Gallery
Favicon
Innovating Web3 Infrastructure: Spheron X DripVerse Partnership
Favicon
How dAppling uses Filebase
Favicon
How to: IPNS on my Domain?
Favicon
Hosting Static Sites on IPFS
Favicon
Embracing Decentralised Web Hosting: A New Approach to Securing Web3 and DeFi Applications
Favicon
Setup IPFS images cache server in 5 min
Favicon
How to Add a Meson Cloud to Home Screen on iOS and Android?

Featured ones: