fiatjaf / nocomment

See a demo at https://fiatjaf.com/nostr.html
https://nocomment.pages.dev/embed.js
135 stars 15 forks source link

Provide a way to filter or boost events #3

Open Giszmo opened 2 years ago

Giszmo commented 2 years ago

Include at least the event ID as a by default hidden element or <div id=nostrEventId>.

As there is no good spam protection, site owners will need a way to identify certain content.

A report button would need an ID to reference comments.

I would like to boost visibility of sponsored comments, so I would like to add an up and down vote button so visitors can make comments more or less visible for sats.

Sorting the list by a custom sort function would be helpful.

johnsBeharry commented 2 years ago

Include at least the event ID as a by default hidden element or

.

can a data attribute be used instead?

I would like to boost visibility of sponsored comments, so I would like to add an up and down vote button so visitors can make comments more or less visible for sats.

Just providing context for our use case @ bolt.fun I envisioned something like this using WebLN.sendPayment and grabbing the users lightning address.

Giszmo commented 2 years ago

Include at least the event ID as a by default hidden element or .

can a data attribute be used instead?

Of course! Whatever, just make it accessible

I would like to boost visibility of sponsored comments, so I would like to add an up and down vote button so visitors can make comments more or less visible for sats.

Just providing context for our use case @ bolt.fun I envisioned something like this using WebLN.sendPayment and grabbing the users lightning address.

So who's "lightning address" are you referring to here? nostr is decentralized, so on my site the idea is that my site gets paid to give events extra visibility but in the decentralized context there is little you can do apart from proof of burn/work to express you really meant that up-vote. Else you invite people upvoting themselves.

rocky-III commented 1 year ago

a way to filter or hide comments is definite needed