Open question to the nostr community:

How would someone go about setting up a relay? I don't have any specific coding knowledge although I can stumble my way around just fine.

What kind of hardware can I use? Should I be using server hardware or could I use an old laptop? What kind of relay would be easiest to implement for a beginner? Ideally I would set up a few in future, maybe a paid community relay and a personal one? Maybe others if needs warrant.

I've done a bit of reading on nostr.net but I'm still not certain where to start. I genuinely want to learn more about this protocol and the best way I find would be to jump into the deep end and just set up a relay from scratch.

If anyone could help, that would be amazing!

#grownostr #plebchain #asknostr

Reply to this note

Please Login to reply.

Discussion

My wife and I run a private relay on our nostr:npub126ntw5mnermmj0znhjhgdk8lh2af72sm8qfzq48umdlnhaj9kuns3le9ll. You don’t have to be technical to do it and they’re a stand up company too. I’ve had one or two instances where I needed to reach out to their support team and they’ve been very good about getting the issue resolved.

It's the easiest way. Umbrel has one two, but Start 9 explains more.

Oh shit, that looks like an amazing solution. I might just invest in one of those! I plan very soon on beginning to produce content and I want to build out this business on the nostr network, including a private community relay. This might just fit the bill.

How useful is a personal relay that is only reachable behind Tor? I am thinking about setting one up myself, but if no other users can connect to it, it is of little use.

For us it’s really for archiving our notes in a way that they’re not vulnerable to deletion. If there’s more #thenukening events in the future (I think there will be, especially for free relays), then we would be able to rebroadcast any note we wanted to the public relays.

If your goal is to run a public relay that anyone can plug into then you’re correct that it’s of limited value.

I just ordered one and it's on the way. I'm a little worried because my dog is more tech savvy than I am. Was it pretty simple to get it set up?

The only complex thing I ran into was setting up and running a lightning node and that’s not required for a first step. Read the guides they have posted, they’re very helpful.

nostr:npub1995y964wmxl94crx3ksfley24szjr390skdd237ex9z7ttp5c9lqld8vtf runs a relay, too.

That relay is running on a used thin-client PC sitting behind my home office desk.

It depends on what you want to do, but in general you can start with cheap hardware and then try if it's working for you.

To run a relay, I prefer to install Docker and then run for example nostr-rs-relay software with Docker.

If you need more information or help, feel free to contact me or nostr:npub1995y964wmxl94crx3ksfley24szjr390skdd237ex9z7ttp5c9lqld8vtf :)

Well, and I am running a relay as well. But mine is hosted in the cloud (a bit more enterprise)

You're the best! Thank you, that sounds similar to what I see my most immediate future looking like for now. I just have an old laptop right now, but I would be willing to expand depending on my needs in future.

Very helpful! Thank you!!

you want private use only or want to setup public small relay for npub? what existing hardware u have ? pc / pi / old andriod phone ?

I've got an old laptop I can repurpose. I would be willing to invest some fiat into an additional piece of hardware for another one. I mostly want to experiment right now but ultimate goal would be paid community relay and a paid public and maybe a free public too.

just for relay no need buy anything at all

1GB RAM 2CPU 50GB+ HDD will do

best options since u need learn are

1. windows + python + relay

2. install ubuntu 20.04 +python

3. install start9 OS (need more CPU RAM)

search internet n learn slowly

LAN relay ws://ip:port

ws://captjwedewdawewdwawdwdwdwd.onion

learn tor install first

for above no need any domain name or ssl

below get clearnet+dns type relay

learn ngix+certbot

plus get get relay.subdomain.io ->ur IP

IPv4 or IPv6 <-- INBOUND any port OPEN(check with ISP)

u can pick from 1 2 3 options which u feel easy or jump one to another if stuck. no 2 learning u can DIY useful for cli - 1 or 3 are mostly GUI