This is a python3 implementation of a nostr relay.
pip install nostr-relay
to change the location of the sqlite database and other settings, create a yaml config file that looks like this:
and run with
nostr-relay -c /path/to/config.yaml serve
ws://127.0.0.1:6969 to your relay list.
(obviously, in production you should use a TLS certificate)
Read more about nostr-relay's features
Check out the Changelog
To checkout the development version, clone this repo using fossil:
fossil clone https://code.pobblelabs.org/fossil/nostr_relay
pip install -e nostr_relay