Skip to content

davestgermain/nostr_relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Python 3.9+ implementation of a nostr relay.

Features

Installation

pip install nostr-relay

To run:

nostr-relay serve

to change the location of the database and other settings, create a yaml config file that looks like this:

and run with nostr-relay -c /path/to/config.yaml serve

Then add ws://127.0.0.1:6969 to your relay list.

(obviously, in production you should use a TLS certificate)

Visit the nostr-relay fossil repository for more information.