could a relay create rules so you can only post on my relay if you use four hashtags: #food, #flowers, #art, #poetry ?

Reply to this note

Please Login to reply.

Discussion

I believe so.. i cant wait for only flowers relay or only car realys fishing relays

Yaaa i would pay for those

i am waiting for the nostr business where you can use templates to build your own relays, i know its not decentralized but it would be fun for non technical people.

i have my own relay and you have to use the hashtag #music or it doesnt get shown

Yes. Most basic form, this is how you can do it.

- Set up a VPS

https://www.youtube.com/watch?v=YiwBkRukugw 9mins

https://www.youtube.com/watch?v=OWAqilIVNgE

https://www.youtube.com/watch?v=3dIVesHEAzc

- Follow instructions to install relay on VPS

https://andreneves.xyz/p/set-up-a-nostr-relay-server-in-under

- create new nsec

- copy it into the whitelist section of the settings.json file from the .nostr.local folder in nostream relay you just installed (https://github.com/cameri/nostream/blob/main/.nostr.local/settings.json)

line 76

```

pubkey": {

"minLeadingZeroBits": 0,

"whitelist": [],

"blacklist": []

},

```

- Sign in to nostr through an app

- add the relay you added

- only post with the hashtags you care about.

Whenever that user posts, it will publish to the relay. I know its not exactly what you want but its like 70% of the way there. Next would be to write a script to listen for hashtags but thats way less difficult. This will be challenging, but yoh def can do it. Don't be afraid to erase everything and start over until you get it right.