Une minute
Install Nostr Rust relay without Docker
In this article we are going to see how to setup a Nostr relay without Docker.
Prerequisites
- rust installed (else
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
)
Run Nostr relay without Docker
sudo apt-get install build-essential cmake protobuf-compiler pkg-config libssl-dev
git clone -q https://git.sr.ht/\~gheartsfield/nostr-rs-relay
cd nostr-rs-relay
cargo build -q -r
RUST_LOG=warn,nostr_rs_relay=info ./target/release/nostr-rs-relay
And voila the relay will listen on port 8080.