Skip to main content

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 testsnak serve
A fast public relay with negentropy syncstrfry
A single binary on SQLitenostr-rs-relay
Postgres, paid admission, Tor/I2P, an admin consolenostream
Your own relay logic in Gokhatru
A personal relay with inbox, outbox, DMs and mediaHAVEN
A relay on an Android phoneCitrine
Only notes from your web of trustWoT relay
An invite-only community relaypyramid or zooid

General-purpose relays​

RelayStatusNotes
strfry (C++, LMDB)🟒 1.1.3Runs 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.0Canonical 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.2Docker 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 2026Personal 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.2Test relay at ws://localhost:10547. --negentropy, --blossom, --auth flags. Nothing is saved.
fonstr (JavaScript, memory)🟒 0.0.26Dev/test only. npx fonstr, 1,000 events in memory by default. For a relay on Android, use Citrine.

Frameworks: build your own relay​

FrameworkStatusNotes
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.2Alternative 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​

RelayStatusNotes
HAVEN🟒 v1.2.2Four relays in one (private, chat, inbox, outbox) plus Blossom. Built on khatru. Moved from bitvora/haven.
Citrine🟒 v3.2.0A relay that runs on Android. Install from Zapstore, F-Droid, Obtainium or GitHub releases.
WoT relay🟑 v0.2.1Accepts 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​

ProjectStatus
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​