Skip to content

NIP-50: search by nip05 domain#1105

Merged
alexgleason merged 1 commit intomasterfrom
alexgleason-patch-1
Mar 8, 2024
Merged

NIP-50: search by nip05 domain#1105
alexgleason merged 1 commit intomasterfrom
alexgleason-patch-1

Conversation

@alexgleason
Copy link
Copy Markdown
Member

Add a search extension to NIP-50 like domain:gleasonator.dev to include only events from users with a valid nip05 name on the domain gleasonator.dev

@nostr-wine
Copy link
Copy Markdown
Contributor

We have recently started experimenting with event classification (https://docs.nostr.wine/api/classification) on our nostr.wine relay.

I'm not sure if this is the right place, but is this an opportunity to include a few additional search extensions for those? We'd love to find a way to make topic and other advanced search more accessible on clients. We were thinking topic, sentiment (negative, neutral, positive), language, and a nsfw boolean.

topic: - include only events within a classified topic (short string, one to two words?)
sentiment:<negative, neutral, or positive> - include only events of a specific sentiment
language:<two letter language code?> - include only events of a specified language
nsfw:<true/false> - include or exclude nsfw events

@fiatjaf
Copy link
Copy Markdown
Member

fiatjaf commented Mar 8, 2024

Yes, I think we could include all these.

@alexgleason
Copy link
Copy Markdown
Member Author

@nostr-wine Good idea. Let's open a separate PR for those.

@alexgleason alexgleason merged commit c4c9bd0 into master Mar 8, 2024
@fiatjaf fiatjaf deleted the alexgleason-patch-1 branch March 8, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants