Home

Bridging Nostr with my IndieWeb site

I recently set up a lightweight, automated pipeline to bridge my Nostr feed directly with my IndieWeb site using purely POSIX-compliant tools.

The core fetching logic resides in nostr.sh. It uses websocat to connect to Nostr relays and streams incoming events directly into jq. From there, events are split into two categories:

  • indieweb.json: Contains all posts explicitly tagged with #indieweb.
  • nostr.json: Contains all other micro-posts for my secondary feed.

Next, parser.sh processes these JSON payloads and converts them into semantic HTML fragments (indieweb.html and nostr.html) enriched with Microformats2 markup. Caddy then serves these pre-rendered fragments efficiently without heavy server-side processing overhead.


Webmentions & Responses