Great job!!! My only concern about #Nostr comments it that site owners canβt moderate them and some may be offensive or at least off topic.
Do you see any solution to this except for running own relay to moderate comments on my website?
### Hey Nostr! How's it going?
I've been working on the nostrichat extension for Chrome and I have some exciting news.π₯
After noticing that my extension was not working on all pages due to CSP, I decided to give it a twist and now it has super powers.
I created a cloudflare worker that loads nostrichat on demand, so now you can even use it without installing the extension, more details below.
Now the extension also opens a new chat window every time you use it, so you can have multiple live chats on nostr at the same time, crazy right?
#### How to use the worker?
The worker url is chat.punkhub.me, so with that url and some hooks you can load nostrichat on demand.
These are the hooks you can use:
- ref: sets an 'r' tag inside the notes.
- e.g: `chat.punkhub.me/?ref=https://nostr.com/`.
- tag: sets an 't' tag inside the note.
- e.g: `chat.punkhub.me/?tag=bitcoin`
- relays: set the list of relays you connect to, if left empty it defaults to the list suggested by nostri.chat.
- e.g: `chat.punkhub.me/?relays=wss://nos.lol,wss://relay.snort.social`.
- dm: Set the chat to dm type and take a public key in HEX format as value.
- e.g: `chat.punkhub.me/?dm=40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451`
Of course you can combine these hooks, e.g:
- `chat.punkhub.me/?ref=https://nostr.com/&tag=bitcoin&relays=wss://nos.lol`.
You can find all the code and details here https://github.com/gzuuus/nostrichat-extension
Great job!!! My only concern about #Nostr comments it that site owners canβt moderate them and some may be offensive or at least off topic.
Do you see any solution to this except for running own relay to moderate comments on my website?
Not much, since nostr is designed to combat censorship the only thing we can do at best is report notes as span/scam and block, but it is not a global solution, the only solution would be what you say, have your own relay and only show the notes in your relay. It also occurs to me to mitigate a little spam is in nostri.chat hide the button ephemeral keys so it is a little more complicated. Also maybe add pow to make spam more expensive π.
Yep, 1 sat comments are the future! Would love to see that implemented. I feel that my website will start providing such an amazing user experience very soon thanks to #Nostr and #Lightning πβ‘οΈ