Passer au contenu

Bitcoin accepté au paiement  |  Expédié depuis Montréal, QC, Canada  |  Soutien expert depuis 2016

Implémentations de relais Nostr

Réponse rapide

Un relais Nostr est le logiciel serveur qui stocke les événements et les sert aux clients. Parce que le protocole est ouvert, des dizaines d'implémentations indépendantes existent dans de nombreux langages, et n'importe qui peut en auto-héberger un — exécuter votre propre relais est une couche de décentralisation de plus. Cette référence compare 23 implémentations et frameworks de relais open source par langage, moteur de stockage et licence, des relais à haut débit comme strfry (C++/LMDB) et rnostr (Rust/LMDB) aux relais souverains personnels comme HAVEN et Chorus et aux frameworks (khatru, relayer) sur lesquels vous construisez le vôtre.

strfry et rnostr mènent sur le débit brut ; khatru et relayer sont les frameworks Go sur lesquels la plupart des relais personnalisés sont construits ; HAVEN, Chorus, Citrine et Servus ciblent un usage personnel et auto-souverain. Tous sont open source — choisissez selon le langage et le moteur de stockage que vous savez exploiter.

Télécharger le CSV Télécharger le JSON API REST →

ImplémentationLangageStockageLicenceCatégorieCe que c'est
strfryC++LMDBGPL-3.0Nostr Relay ImplementationHigh-performance self-contained Nostr relay written in C++ that stores events in LMDB and supports efficient set-reconciliation syncing of events between relays using Merkle trees.
nostr-rs-relayRustSQLite (experimental PostgreSQL)MITNostr Relay ImplementationMinimalistic Nostr relay written in Rust that persists data in SQLite, with experimental PostgreSQL support.
khatruGoPluggable (via eventstore module, e.g. SQLite)UnlicenseNostr Relay FrameworkGo framework for building custom Nostr relays with pluggable storage, authentication, event-filtering policies and HTTP endpoints.
nostreamTypeScriptPostgreSQL (Redis for caching)MITNostr Relay ImplementationNostr relay written in TypeScript backed by PostgreSQL (with Redis), supporting many NIPs including encrypted messaging, proof-of-work and payments (renamed from nostr-ts-relay).
relayerGoPluggable (reference examples include PostgreSQL)UnlicenseNostr Relay FrameworkGo framework for building custom Nostr relay servers, including a reference relay implementation in its examples folder.
rnostrRustLMDBMITNostr Relay ImplementationHigh-performance, scalable Nostr relay written in Rust using LMDB for event storage (architecture inspired by strfry), with configurable extensions for authentication, rate limiting and full-text search.
HAVENGoMITNostr Relay ImplementationPersonal sovereign relay written in Go that combines four relays in one (private, chat, inbox, outbox) plus a built-in Blossom media server, with web-of-trust protection.
ChorusRustMITNostr Relay ImplementationNostr relay written in Rust that can run as a personal relay, open relay or Blossom server, with features such as IP banning, rate limiting and moderation tools.
CitrineKotlinLocal on-device databaseMITNostr Relay ImplementationAndroid application written in Kotlin that runs a Nostr relay on the phone, letting local clients send and receive events with import/export of stored data.
nostr-relay-nestjsTypeScriptPostgreSQLMITNostr Relay ImplementationHigh-performance Nostr relay built with the NestJS framework and PostgreSQL, powered by the nostr-relay library.
grainGonostrdb (LMDB-based)MITNostr Relay ImplementationConfigurable multipurpose Nostr relay written in Go (Go Relay Architecture for Implementing Nostr) with content filtering and hot-reload configuration.
netstrC#PostgreSQLMITNostr Relay ImplementationNostr relay written in C# backed by PostgreSQL, with high test coverage and features such as proof-of-work support and search.
NNostrC#PostgreSQLMITNostr Relay ImplementationC# implementation of both a Nostr relay server and client library, with Docker deployment and optional payment features via BTCPay Server.
WoT RelayGoMITNostr Relay ImplementationNostr relay written in Go (built on the khatru framework) that archives notes from users in your web of trust — people you follow and the people they follow.
sw2GoMITNostr Relay ImplementationNostr relay written in Go that displays and accepts notes only from whitelisted pubkeys, intended for private use, small communities, knowledge bases or dropboxes.
ServusRustPlain-text files (database-free)GPL-3.0Nostr Relay ImplementationSingle-executable, database-free CMS/blogging engine written in Rust that also acts as a personal Nostr relay, Blossom server and NIP-05 identity provider.
ImmortalRustMITNostr Relay ImplementationHigh-performance, configurable Nostr relay written in Rust designed for scale and high-load (paid or community relays).
ShugurGoCockroachDBMITNostr Relay ImplementationProduction-grade Nostr relay written in Go that uses CockroachDB for distributed, high-availability storage.
AlienosGoMITNostr Relay ImplementationPlugin-able, manageable (NIP-86) lightweight self-hosting stack written in Go combining a Nostr relay, Blossom media server and NIP-05 identity, with S3 backups and Tor support.
knostrKotlinMITNostr Relay ImplementationNostr relay implemented in Kotlin using the Micronaut framework, supporting multiple NIPs.
relay29GoMITNostr Relay FrameworkGo library for creating NIP-29 (simple groups) relays, handling group state and moderation; works with khatru, strfry and relayer via wrappers.
BostrJavaScript (Node.js)Nostr Relay Aggregator/ProxyNostr bouncer / relay aggregator proxy written in Node.js, as listed in the awesome-nostr relays directory.
NosflareJavaScriptCloudflare KVNostr Relay ImplementationServerless Nostr relay purpose-built for Cloudflare Workers and the Cloudflare KV store, as listed in the awesome-nostr relays directory.

Source : le dépôt GitHub de chaque projet, recoupé avec la liste awesome-nostr (juin 2026). Voir aussi la comparaison des clients Nostr, la référence des NIP, la référence des types d'événements, l'entrée de glossaire des relais, et le catalogue d'auto-hébergement souverain.