nostr:npub1qqqqqqyz0la2jjl752yv8h7wgs3v098mh9nztd4nr6gynaef6uqqt0n47mhello Cameri, I was curious if you have any plans to implement NIP-50 on Nostream. I look forward to hearing from you. #relays
Discussion
What exactly do you mean by NIP-50? The spec itself only describes a new keyword in filters object.
Do you want this keyword so that you can implement your own queries on top of it?
Or do you have some specific queries in mind you would like relays to support?
Well, the relay has to support NIP-50 to handle keyword search. So, I simply want to find an open source relay which is already NIP-50 compliant
What keyword search do you mean? NIP-50 compliant relays strictly donāt have to implement any additional search functionalities except for ārecognizingā existence of keyword āsearchā
For example if you want to search by some ārisk of span rateā on a NIP-50 compliant relay, relay has to implement this custom search (thats not a part of any NIP)
Iām working on another relay implementation and I had thoughts to āsupport nip50ā but didāt find any demand for specific search criterias yet
Hi Viktor, so I guess, the first thing is that in order to do anything with search a relay has to be NIP-50 compliant. Are you familiar with NOSTR.band? NOSTR.band has search capabilities and they have a NIP-50 compliant relay. So, if I have a NIP-50 relay I can start testing things I want to do with search. Keyword search is of course an obvious functionality. But there are many other uses for NIP-50. I have a relay which is only NIP-50 with nothing else which is kind of the problem but in reverse. If you know any NIP-50 compliant relay, please let me know. Otherwise I will add NIP-50 to the best relay I can find. #relay #nostr
I looked through nostr.band and I can ser 2 āimplementationsā for NIP-50: page rank and spam filter
I was thinking on spam filter implementation but I dins straightforward solutions close to useless so Iām thinking about some complex methods instead for future
I thought to start with graphs first: saying that āif nobody follows author through X (3-7) handshakes then its a spam or something similar
Page rank is an interesting idea, will think about it
If interested, please see https://github.com/viktorvsk/saltivka/
Will be happy to answer any questions.
NIP-50 is not a top-10 priority for me right now but with some interest from others I would be glad to consider investing time into it