zatzby / nostr_relay

python nostr relay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

python nostr relay

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 99.8%Language:Mako 0.2%