Potential first mini project for anyone wanting to learn how to set up their own personal relay on a website
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.
Discussion
No replies yet.