Awesome, I've heard great things about events on orange pill app and now I can build my own calendar view :)

I notice an issue with the events structure though. Its not mentioned in the NIP (for some reason) but commonly there are multiple "g" tags. one for each level of the geohash. that way its possible to lookup events by a wider area

For example a geohash of "dntp5s" would be 6 tags:

- ["g", "d"]

- ["g", "dn"]

- ["g", "dnt"]

- etc...

Its an annoying side effect of how relays index tags and events and I'm not sure why its not mentioned in the NIP

Reply to this note

Please Login to reply.

Discussion

It’s not mentioned in NIP-52 because I didn’t think of it and there’s relatively few clients that support that functionality, but it looks like there’s some exciting momentum to be able to improve things!

yeah, like most NIPs it was just waiting for someone to put content out there to motivate developers to show it

What if we make relays just a bit smarter?

What could help, but I'm just a lowly client dev :)

Prefix queries

Would love your take on this and whether I’m out in left field or onto something with this NIP-G0 proposal.

nostr:nevent1qqsrm4zvedxpt8csc286enljjxn0jgyvsnpazhm58603uyzxdtz0ragpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgngu3w9

See my NIP-G0 proposal on github, meant to address this for events and news and geo-centric event kinds.

https://github.com/nostr-protocol/nips/pull/1642