Is there a way to read live events from any given relay in sequential order?

Like clients are reading relays, how? Does a service exist that I can view a relay's "feed"? I'm not looking for a client. But basically so I can see what a client would see, from any given relay.

I want to see all event data from all npubs on that relay. Relays are all public, right?

Talk to me like I'm 12. I'm not a coder.

#asknostr

Reply to this note

Please Login to reply.

Discussion

you may visit https://nostrdebug.com , connect to specific relay and use the query tool with the field for the author nupbs cleared to achieve that. Don't forget to sort by "created".

Hey thanks a million for this nostr:npub1eseajvcuqgk6dy98zndje76hcd485zwmhjx4ztgnw4yruq68lhxq45cqvg. It's definitely along the track of what I was looking for.

How hard is it to hard code into these relays to pull data? As in, if we wanted to build a client or client-like app?

depends on your objectives for that new client. Just look for a NDK (Nostr Development Kit) for your preferred language. Just connecting to a relay and reading events is quite simple.

Super helpful, thanks a bunch. So say you wanted to build a Relay connector service. 1 relay, read events only. Do effectively nothing with them, say log in DB or something for future service use.

How much time to build for 1 relay? And then, how automatable for each subsequent relay? Same amt of time per relay, or say half or quarter time for each additional relay?

just checkout running a relay, e.g. https://github.com/hoytech/strfry . One of the basic functions of a relay is to listen or talk to other relays to spread more notes. One could run a relay in a only listen mode, just to record notes.