Replying to Avatar Cody

nostr-relay-tray v1.5.0 Released!

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

- Added the ability to clear all events

- Introduced dark mode

- Added the ability to join hubs

A hub is an aggregator relay similar to bostr. By joining a hub, you can contribute your local computing power and data to provide relay services to others.

My deployed hub can be accessed at: wss://hub.nostr-relay.app . You can connect to this relay using any nostr client.

If you want to join this hub, download the latest version of nostr-relay-hub and enable the join hub option in the settings. The hub address to join is: wss://hub.nostr-relay.app/join

You can also deploy your own hub. For more information: https://github.com/CodyTseng/tray-hub

#nostr #relay #devstr

It's currently just me connecting to the hub. I checked it out because I switched off my connection with it, and then it was just 0.

I think this is a pretty interesting development; it would be good to get more people connecting and sharing

nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl

nostr:nevent1qvzqqqqqqypzpqf9hyg76r55m03spzstujx0uhxsczc9jg70l7gh4elg0k5yqzyrqyfhwumn8ghj7mmxve3ksctfdch8qatz9uq3vamnwvaz7tmsw4e8qmr9wfjkccte9e3k7mf0qqsxzkjc0eq85ve0n7amdggj46pz7ycysqlrn2yeyfy90eak0manc2s6tvvuh

Reply to this note

Please Login to reply.

Discussion

I'm not sure I understood what this is.

At first I thought it was:

As a user, I'd just input 1 hub link, I publish an event to that hub, and the hub sends that event to a bunch of relays (that the hub manager has added).

Did I get that right? or is this something for relay managers and not end-users?

Yes, for users, this is no different from a typical relay. It’s even slower and provides less data.

I think this model is worth trying. Unlike other relays, its data is provided by ordinary users, making nostr more decentralized. I also encourage more people to expose their local nostr-relay-tray through services like ngrok.

Ah ok, if that's the case, then I think this is a better UX (along with being more decentralized), all the while giving more control (in a sense) to users, in comparison to manual input of multiple relays or random auto relay setup, right?

Instead of me adding 10 relays, I can add 1 hub (or 2 just in case) that I like, and those hubs can do the work for me in terms of the relays they aggregate, and they can add however many relays they want for maximum decentralization.

This got me thinking, i'm assuming this is what you meant with "expose their local nostr-relay-tray", is that a hub doesn't have to manually add relays, but keep listening to relays that want to expose themselves hubs/aggregators and they'd be automatically added.

I’m glad to hear your thoughts, and it made me think more seriously.

If you want to replace 10 relays with an aggregated relay to save bandwidth, you should choose the bostr relay.

Currently, most relays use the same code and data, so I don’t think there is any difference between users selecting a few relays themselves and directly using a centralized platform like X.

The goal of nostr-relay-tray is to enable everyone to easily run their own relay and have the right to save and broadcast their own events.

You can run a hub with your friends to ensure you have your own events. The cost of running a hub is low (even free) because it only forwards data without storing it, and it is not used by many people. Additionally, hubs can set password, so you can restrict who can join your hub. For testing purposes, my hub has no restrictions set.

Your approach reminded me of the idea of relay federations, which I remember hearing about from nostr:npub1qqqqqqyz0la2jjl752yv8h7wgs3v098mh9nztd4nr6gynaef6uqqt0n47m long time ago

Lol, because I turned off my computer and went out. So only you are connected 🫡

haha nice 🫡

haha nice 🫡

Also my bouncer now have the hub Aa relay too 👌

bouncer.nostree.me

The hub is currently in the testing phase, and its query speed is slow. Since the data is retrieved from personal computers, it has to travel a long way over the network. I’m worried it might affect your bouncer 🤣

Hahaha im going to observe how it behaves 👌