Skip to content

Relay Implementations

Melvin Carvalho edited this page Sep 9, 2024 · 20 revisions

Nostr Relays

Welcome to the Nostr Relays Wiki! This page provides an overview of various Nostr relay implementations across different programming languages and platforms. Nostr relays are essential components of the Nostr network, as they route messages between clients and store events. Explore these diverse implementations to find the one best suited for your project.

Table of Contents

image

C++

Strfry

  • Description: A Nostr relay implemented over a protocol extension called "yesstr", which is primarily designed for relay-to-relay communication but could also be used by sophisticated clients.
  • Repository: Strfry

cagliostr

  • Descriptin: High performance Nostr Relay written in C++, sqlite3
  • Repository: cagliostr

TypeScript

Nostream

  • Description: A Nostr relay written in TypeScript. This implementation is production-ready.
  • Repository: Nostream

JavaScript/Node.js

Fonstr

  • Package: fonstr
  • Repository: fonstr
  • Description: A simple and efficient Nostr relay server implemented using Fastify and WebSockets.

Fonstr is an experimental relay designed to run on phone and should be used for testing purposes only.

Rust

nost-rs-relay

  • Description: A self-contained nostr relay Written in Rust.
  • Repository: nostr-rs-relay

Ruby

saltivka

  • Description: A self-contained nostr relay Written in Ruby.
  • Repository: saltivka

Python

PyRelay

  • Description: A Python implementation of a Nostr relay using asyncio.
  • Repository: PyRelay

Others

Links

Contributing

If you know of any other Nostr relay implementations or have created one yourself, feel free to add them to this list or reach out to the maintainers to get them added. Contributions are always welcome!

Clone this wiki locally