DEV Community

mibii
mibii

Posted on

Decentralized blog via ipfs

In a previous post i reviewed how to get you own ipfs node.

Decentralized blog

Now let's review the possible practical use of IPFS in implementing the practical thing. Here is for example the post blog that doesn't need any server at all. I place the interface page on netlify, also i place the interface page at ipfs https://gateway.pinata.cloud/ipfs/QmPsp3WXwRyNghtkXRg7eFcxNdcCe4pSboYvTydoVZFhK2 but actually it is not required, you may save page locally on your PC and it is will be working fine. (Gitgub link to webpage source)

The page looks next:

Image description

To get view the post just - click on dropdown text list.

  • in a first dropdown text list - select the predefined my post CID address. Or past manually the address that you will receive from me later.
  • in the second dropdown text list - select the the url link of any publik ipfs gateway or if you have a locally running ipfs node select next url http://127.0.0.1:8080/ipfs/

That it , you are ready to see my post:
for example:

Image description

Final Thoughts

Learning how to run your own IPFS node and contribute to the decentralized web is a great step in mastering distributed technologies. While it may seem complex at first, running your own node provides you with full control over how your files are stored and shared.

Experiment with adding more files, pinning them, and accessing them through different gateways. In time, you’ll appreciate the resilience and innovation that IPFS brings to the web!

Happy coding! 🚀

Top comments (0)