Relay Implementations
Relay software that is maintained in October 2026, and what each is good for. To install one, go to Running a Relay.
π’ active Β· π‘ quiet (6β12 months) Β· π΄ archived or dead Β· checked Oct 2026. Status is the last push or release on the canonical repo.
Which one?β
| You want⦠| Use |
|---|---|
| A local relay for development and tests | nak serve |
| A fast public relay with negentropy sync | strfry |
| A single binary on SQLite | nostr-rs-relay |
| Postgres, paid admission, Tor/I2P, an admin console | nostream |
| Your own relay logic in Go | khatru |
| A personal relay with inbox, outbox, DMs and media | HAVEN |
| A relay on an Android phone | Citrine |
| Only notes from your web of trust | WoT relay |
| An invite-only community relay | pyramid or zooid |
General-purpose relaysβ
| Relay | Status | Notes |
|---|---|---|
| strfry (C++, LMDB) | π’ 1.1.3 | Runs many large relays. The README lists NIPs 1, 2, 4, 9, 11, 28, 40, 42, 45, 70, 77. Negentropy sync, streaming, router, write-policy plugins, Prometheus /metrics. No search (NIP-50). |
| nostr-rs-relay (Rust, SQLite or Postgres) | π’ 0.10.0 | Canonical repo on sourcehut; GitHub is a mirror. NIP-05 gating, gRPC admission server, pay-to-relay. No NIP-77. |
| nostream (TypeScript, Postgres + Redis) | π’ 3.6.2 | Docker Compose setup and a nostream CLI. Admission fees through ZEBEDEE, LNbits, LNURL, Nodeless, OpenNode or NWC. NIP-42, 43, 45, 50, 66, 77 behind settings. Tor and I2P. |
| chorus (Rust) | π‘ Apr 2026 | Personal relay by default. Built-in Blossom server, NIP-86 management API. The author has marked Gossip idle; check activity before you depend on it. |
| rnostr (Rust, LMDB) | π’ | Docker image rnostr/rnostr. |
| cagliostr (C++, SQLite or Postgres) | π’ | Small and fast. |
| grain (Go, LMDB) | π’ | Configurable relay with a dashboard. |
| nostrcheck-server (TypeScript, MariaDB) | π’ | Relay, Blossom file hosting and NIP-05 in one. |
| servus (Rust) | π’ | Relay, personal website and Blossom server in one binary. |
| HORNETS (Go) | π’ | Relay with a dashboard; paid, public or invite-only. |
| wisp (Zig, LMDB) | π’ | New. "Spider mode" pulls notes from people you follow. |
| nosflare (JavaScript) | π’ | Serverless relay on Cloudflare Workers, Durable Objects and D1. |
| NNostr (C#, Postgres) | π’ | .NET relay and client library. |
| nak serve (Go, memory) | π’ v0.21.2 | Test relay at ws://localhost:10547. --negentropy, --blossom, --auth flags. Nothing is saved. |
| fonstr (JavaScript, memory) | π’ 0.0.26 | Dev/test only. npx fonstr, 1,000 events in memory by default. For a relay on Android, use Citrine. |
Frameworks: build your own relayβ
| Framework | Status | Notes |
|---|---|---|
| khatru (Go) | π’ | The usual way to write a relay with custom rules. It moved into the fiatjaf.com/nostr module: docs, source. Includes LMDB, Bolt and mmm event stores, a Blossom server, NIP-29 helpers and ready-made policies. The old github.com/fiatjaf/khatru repo is archived. |
| rely (Go) | π’ v1.5.2 | Alternative Go framework. |
| nostr-relay (TypeScript) | π’ | The README calls it WIP. Also a desktop app, nostr-relay-tray. |
nostr-relay-builder (Rust) | π’ 0.44.1 (0.45 in alpha) | From Nostr Dev Kit. Builds a relay inside your program. For tests with nostr-sdk 0.45, the local-relay feature's MockRelay is simpler: see Rust. |
A tested khatru relay is on Running a Relay.
Personal and community relaysβ
| Relay | Status | Notes |
|---|---|---|
| HAVEN | π’ v1.2.2 | Four relays in one (private, chat, inbox, outbox) plus Blossom. Built on khatru. Moved from bitvora/haven. |
| Citrine | π’ v3.2.0 | A relay that runs on Android. Install from Zapstore, F-Droid, Obtainium or GitHub releases. |
| WoT relay | π‘ v0.2.1 | Accepts notes only from your web of trust. Moved from bitvora/wot-relay. |
| chronicle | π’ | Personal outbox relay with web-of-trust spam protection. |
| pyramid | π’ | Invite-tree community relay. Built on khatru. |
| zooid | π’ | Multi-tenant relay for Flotilla groups (NIP-29, 43, 86). Replaces frith and triflector. |
For media, run a Blossom server: blossom-server (TypeScript), route96 (Rust), or the one built into HAVEN, chorus, servus or nostrcheck-server. Quick starts are on the wiki's Run a relay page.
Dead or archivedβ
| Project | Status |
|---|---|
| hyper-nostr | π΄ No commits since May 2023. |
| nostr-relay on PyPI (Python) | π΄ Last release Jun 2024; fails to build on Python 3.14. |
| pyrelay (Python) | π΄ No commits since Apr 2023. |
| saltivka (Ruby) | π΄ No commits since Jan 2024. |
| relay29 | π΄ Archived. Use fiatjaf.com/nostr/nip29 or zooid. |
| khatru and go-nostr on GitHub | π΄ Archived. Use fiatjaf.com/nostr. |
caution
cargo install nostr-rs-relay installs crate 0.8.12 from August 2023. Use Docker or build from source instead.
See alsoβ
- Running a Relay
- Configuration
- Relay Explorers: which software public relays run, from their NIP-11 documents.