People often ask, why should you run your own private Nostr relay? It's simple. You run a private Nostr relay to backup your own data. This puts you in control of your own data. This prevents you from getting censored or rugged. If anything happens to the relays that you use, you can re-broadcast or transmit your data to other relays if so inclined.

Tools exist in various capacities to accomplish this, but I'll recommend 3 that I've used.

The shadowy super coder route:

https://github.com/cameri/nostream for command line ninjas.

The pleb route:

Umbrel and Start9 both have one-click relay options. Umbrel's is probably the best.

Reply to this note

Please Login to reply.

Discussion

I tried to zap this in snort and said failure to load invoice. Why’s that?

I take shadowy road...

Great information. Thanks. I hope my pi4 can handle it!

Plus wasn't there some importer/ingester that the Umbrel demo had used?

1. Set up relay.

2. Ingest all your historical posts.

yes, this is planned at some point. i don't think it's live yet?

Are relays really well connected & communicating with each other? Because it kinda seems like maybe there are some issues on that front... Searching for people seems pretty unreliable, follows & follower count seem like they may be a little on the unreliable side too.

It definitely seems like proper communication across relays would help. If relays could request info from each other in a node like fashion (assuming multiple hop requests could be a thing) then it seems like info might flow where it is needed.

But right now if I'm connected to 10 relays & someone else is connected to a different 10, can we see or contact each other? If not, then doesn't more nodes just make the network worse at connecting people?

I don't think that by default relays don't communicate with each other. This may seem like a bad thing or a good thing depending on your point of view. I'd suggest you look at nostr.wine and get a sense of their methodology. https://nostr-wine.github.io/filter-relay/

relays don't technically communicate to one another or relay information to one another. there's talk about building a gossip network at some point to "relay" certain information among relays i.e. for spam prevention. that said, some people have built tools to make relays rebroadcast notes and events to other relays.

Relays are going to be very key to this network. F2P isn't going to deliver the best UX.

Paying for a couple of very good, low latency and well-connected relays will be necessary for a good user experience. Hopefully this creates a competitive market for relay operators. Relays will offer additional features that we demand.

There'll be pushback on the notion of paying, but then again if it's free then you're the product. And the whole point of nostr is to avoid that!

I haven't seen anyone complaining about paying a few thousand sats for paid relays thus far. I don't think we will, at least with the early crowd. All of us understand Proof-of-Work and value for value.

for github you need to buy your own domain. most people do not want that

and people need to know that github is owned by microsoft. here are opensource alternatives to host your data:

https://opensource.com/article/20/11/open-source-alternatives-github

I'm sure it's really going to vary but how much HD space does it take up and roughly how much per day are you seeing?

Will spin up my Umbrel NOSTR. This thread highlighted the need.

That's great to hear. If you have any questions, feel free to ask.

Bookmarking

Thanks to you and the talk we had in PM a while ago, it's all in the works here!

Parts ordered, almost all received and then it's showtime!

I wonder, if it is only a private relay, it shouldn't be I/O heavy right?

I'll be able to do other things with my Raspberry 4 if I want to?

Minimal requirements needed. It’ll be idling 99% of the time anyway

nah, it's not resource intensive for just one individual or even for a family to use.

Spotify is king in this regard.

Great. Thanks man!

Have installed a relay on my umbrella and connected with Damus, works! Added tail scale as well 👌

Is there not a way to back up your own data without running your own relay?

Where are notes and dms 'stored'?

They are stored on relays that other people own. The only sure way to keep yours safe is to store your own.

Umbrel only works on native clients, all web clients block it if the website is over https.

If you're running youf own relay which has all of your data cached, and that relay is listed in your public list of relays, why would you need to re-broadcast it...? Are the other clients and relays unable to fetch your content from your published relay?