nostr relay
Project description
This is a python3 implementation of a nostr relay.
Note: this requires Python 3.9+, but is only tested on 3.11
To intall:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nostr_relay-1.6.tar.gz
(42.3 kB
view hashes)
Built Distribution
nostr_relay-1.6-py3-none-any.whl
(34.9 kB
view hashes)
Close
Hashes for nostr_relay-1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34da910d7f2a2f0139e8bc81ebbf48aa1f72f900ab57db4bcf158cd359367ceb |
|
MD5 | a6e3bef01e43226fd2c6f9f007b36e02 |
|
BLAKE2b-256 | c5ed861b40ad8f653314f7e0b230d8625dfc1b9c85428d1384de3cd3b7f45956 |