Home > Web Front-end > JS Tutorial > Decentralized blog via ipfs

Decentralized blog via ipfs

WBOY
Release: 2024-09-07 00:01:46
Original
805 people have browsed it

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:

Decentralized blog via ipfs

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:

Decentralized blog via ipfs

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! ?

The above is the detailed content of Decentralized blog via ipfs. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template