Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NIP-50: search by nip05 domain #1105

Merged
merged 1 commit into from
Mar 8, 2024
Merged

NIP-50: search by nip05 domain #1105

merged 1 commit into from
Mar 8, 2024

Conversation

alexgleason
Copy link
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
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
Member

fiatjaf commented Mar 8, 2024

Yes, I think we could include all these.

@alexgleason
Copy link
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