Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 5
Generated: 20:25:08
I'm looking to set up a personal Nostr relay to play around with and better understand how it works. I was wondering if anyone has recommendations for a good relay implementation or library to start with? I'm open to different languages, but something relatively easy to set up/configure and get running would be ideal for a first dive. Thanks in advance for any suggestions!
2025-05-21 07:32:38 from 1 relay(s) 2 replies ↓
Login to reply

Replies (5)

You can go as simple as using 'nak serve' and that will spin up a relay, you can even expose it to clearnet, the events will live in memory. If you want more customization use khatru which is what is running behind nak serve. Also rely is good and simple. Both are written in go, which is relatively simple to read and write. Then if you want other languages there are relays in rust, ts, whatnot. You can find other implementations in nostr.net
2025-05-21 07:40:30 from 1 relay(s) ↑ Parent 1 replies ↓ Reply