did you know that you can run your very own nostr relay on your current computer? windows, mac, and linux can all run this simple relay software from your system tray.

find the correct relay software for your system here:

https://github.com/CodyTseng/nostr-relay-tray/releases/tag/v1.6.0

after installing, add the relay ws://localhost:4869 to your relay configuration inside your favorite nostr client.

continue creating notes and sending zaps as normal. you'll now have a local backup of all of your content. that's it!

Reply to this note

Please Login to reply.

Discussion

Ooo, thanks for the point out.

So much to learn, so little time.

there are so many different options. try them all out and see what works best. i personally don't use this relay. i run a relay on my phone and a relay on a server computer i have.

Thanks, valuable information

yw

Does it cost $20/month?

no? it's free, you run it on your own computer...

🤝

There is recent FUD of relays costing every nostr participant $20. Thank you for dispelling this.

What? Who's the fuck stick saying that?

Its out of context reference to Will’s relay discussion at Riga. You can scroll through my replies from yesterday.

Will do bruv 🫂

Much appreciated 🙏🫡

Apologies if this is a dim question but what are the data implications of this option IE my computer relies on phone data to be online. Does this relay only run when I am using Nostr, or is it going to be consuming while I'm online, but not using Nostr? Cheers

if you're using an Android phone, in your scenario then i'd say to try the Citrine relay as it runs on your phone. but in either case, these do not broadcast any data to the outside world and only use local data on your device, so there is not an issue about consuming data.

https://github.com/greenart7c3/Citrine

Up all night learning node.js or more accurately, hamming my way through the basics so I can see whats going on with the nostr relay running on my phone. Thanks for that initial nudge. Or rather thanks to you I haven't had much sleep haha.

Anyway, perhaps can you point me in the right direction or to a smarter cookie than me, to get me over the line?

Terminal says I'm set up, I think that's what the following means?

... yo$ npm run start > nostr-server@1.0.0 start /Users/yo/nostr-server > node . WebSocket server is running on ws://localhost:4869

Client connected

Connected to the server

Received: Hello Waster

Message from server: Echo: Hello Waster

But the Kiwi browser on the phone times out. The Firefox for Mac browser says Upgrade Required. Safari not playing either. I turned the relay on and off in case that is part of the process.

What are the URL options? Is it ws://localhost:4869 in the address bar, or am I missing something obvious?

I don't have WiFi, but the phone's connected by Bluetooth to the computer and that has an IP address showing in preferences. And they must be paired judging by Terminal message.

Someone online said it was the browsers not recognising websockets. But Kiwi is Chrome based, no?

AI hasn't helped, #asknostr is my last hope :)

#chickens are fed, I'm off to bed now. Cheers

Ooh a class topic for Derek to teach at Nostr events? 😁

YAAAAAAS

Double YAAAAAAS

Very cool

🙌 🛠️

Clients should just automatically check if 4869 is an open relay port and use it.

so i must have somehow screwed it up because when i added it to my relays it gives me a red dot beside it and i sent a test note it didnt show up listed on the github it talks about building it out on terminal might try that i have been trying to do this for days with different solutions and no such luck also correct me if im wrong but wont this only work if your own the same network

nvm about most of that im actually a idoit and forgot to restart my pc

LFG 💯

TY will do this now!!!