Nostr Blog
Article

Introducing Nostr Blog: A Blog That Lives on the Network

If you have ever tried to start a blog, you know the drill. Pick a platform. Set up a database. Wrestle with a CMS. Write a post. Hope the import/export tool works if you ever want to leave. It is a lot of overhead for what should be a simple thing: putting words on the internet.

What if the blog itself were just a window into something bigger? What if you wrote your posts using any tool you liked, and your blog simply showed up, automatically, without a database or a CMS or a login screen in sight?

That is the idea behind Nostr Blog.

What Is It?

Nostr Blog is a server-side rendered blog that pulls your content from the Nostr protocol. You configure it once with your npub, and from that moment on, every post you publish to Nostr with the tag #nostrblog appears on your blog. Long-form articles, short notes, whatever you feel like writing. No extra steps. No importing. No exporting. It just works.

How Is This Different?

Most blogs are walled gardens. Your content lives inside a database on a server you may or may not control. If you want to move platforms, you are at the mercy of export tools and data portability promises. With Nostr Blog, your content lives on the network. The blog is just a reader. A really nice one, sure, but a reader all the same.

You can write your posts in any Nostr client. There are dozens of them. Desktop apps, mobile apps, command-line tools, even bots. Press publish in any of them and your blog picks it up within minutes. If you decide you do not like the way your blog looks, you can point a different frontend at the same Nostr key. Your content travels with you because it was never locked in to begin with.

Comments Without the Account Creation

A blog is nothing without its readers. But asking people to create yet another account just to leave a comment feels like a relic of an older internet. So we built the comments section on Nostr too. It uses an embedded widget called Disgus that weaves Nostr-native comments into every post.

When you reach the bottom of an article, you will find a comment section that works like any other, but with a difference. You can reply using a Nostr browser extension like Alby or nos2x, sign in with a passkey, enter your nsec key directly, or just jump in as a guest with no sign-in at all. No email address. No password. No data mining. Your comment goes straight to the Nostr network as a signed event, and the author gets it wherever they read Nostr.

For the author, the same applies. You can respond to comments from any Nostr client, and the replies appear on your blog automatically. There is no separate moderation dashboard to check and no vendor locking you in. The conversation lives on the open network, not inside a third-party widget.

What Else?

There are a few other touches we are proud of. It handles both long-form articles and short posts with inline images and video embeds. The most recent posts are cached server-side so the page loads fast. Older posts are fetched live from the network when you ask for them. There is a dark mode toggle, full SEO metadata with Open Graph and JSON-LD, and automatic relay discovery so the blog finds your content wherever you publish it.

And because it is built with Astro and server-side rendered by default, it is about as fast as a static site without the rebuild step.

Where to From Here?

Nostr Blog is open source and designed to be self-hosted. The setup is deliberately simple. Clone the repo, run the install, point your domain at it, and enter your npub once. That is it. From there the blog manages itself, refreshing your latest posts every fifteen minutes and serving them with a clean, readable layout.

We think the old model of blogging is due for a rethink. Your words should not live in a database behind an API key. They should live on an open network where you control the keys and anyone can build a window into them. Nostr Blog is one of those windows. We hope you like it.

Comments