Build a Decentralized Blog with Planet and ENS

3 months ago 1

四眼蒙面侠

Ever wanted a blog that is serverless, can’t be taken down by a platform, and uses your own domain?

This article will guide you step-by-step to achieve just that, using only three tools:

  • Planet: An open-source blog app for macOS.
  • An ENS domain (e.g., yourname.eth).
  • A public ENS gateway like eth.limo or eth.link.

Planet is an open-source blogging application for macOS that utilizes IPFS and IPNS technology to manage your blog content. It:

  • Publishes to the IPFS network locally (via content addressing).
  • Automatically generates an IPNS address (like a “permanent address” for your blog).
  • Optionally binds to an ENS domain (making access as simple as yourname.eth.limo).

With just a few clicks, you can have your own Web3-native blog!

  1. Install and open the Planet App.
  2. Click the + in the bottom-left corner to create a new blog.
  3. Fill in the title, description, cover image, and other information.
  4. Click the “New Article” button to start writing.
  5. Click the publish button at the top.
  • Planet will publish your content to a local IPFS node. Every article and asset will generate a unique CID (Content Identifier).
  • Planet will also use your device’s private key to generate an IPNS key pair, creating a stable address for your blog:
ipns://{your-ipns-id}
  • After each publication, Planet updates the IPNS record, ensuring the link always points to your latest blog content.
https://yourname.eth.limo

Step 1: Get Your IPNS Address

  • Open the Planet App and right-click on the blog you want to link.
  • Select Copy IPNS.
  • You will copy a string that starts with k51....

Step 2: Edit Your ENS Records

  • Go to app.ens.domains and find your .eth domain.
  • Navigate to the Records page and click Edit Records.
  • In the Other → Content Hash field, paste the following format:
ipns://k51qzi5uqu5dhlv0jq4akf... (the IPNS address you just copied)

Step 3: Submit the Transaction and Wait for Confirmation

Once confirmed, your blog will be accessible via:

https://yourname.eth.limo

When Planet publishes content, it:

  • Broadcasts it from your local IPFS node.
  • Pushes it to Planet’s community nodes.
  • Can be accessed continuously after being cached by public gateways like eth.limo.

For permanent availability, it is recommended to pin your CID using a service like web3.storage.

  • Planet automatically syncs blog content to official and community nodes.
  • It keeps track of updates via the IPNS address.
  • Visitors on the IPFS network also indirectly cache the content.

This means your blog can remain accessible even after you shut down your computer!

Read Entire Article