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

Search & Index Nostr - the small (organic) web social media #236

Open
alltheseas opened this issue Apr 3, 2024 · 10 comments
Open

Search & Index Nostr - the small (organic) web social media #236

alltheseas opened this issue Apr 3, 2024 · 10 comments

Comments

@alltheseas
Copy link

alltheseas commented Apr 3, 2024

user story

As a Kagi user who appreciates the small web, I would like Kagi to index nostr notes and nostr profiles, so that I can discover small web nostr notes and profiles in my Kagi search results.

acceptance criteria

  1. there is a method to search for only, or first/primarily nostr notes (e.g. !nostr insert search query here) on Kagi
  2. nostr notes are added to the small web Kagi list of organic results

context & discussion

Nostr is an organic public domain information sharing protocol - notes and other stuff transmitted by relays).

The first popular nostr application is social media, although there are many "other stuff" developments happening, which should make things increasingly interesting.

Unlike Facebook, Twitter, Instagram, Wartscaster there is no company behind the protocol, there are no pre-mined tokens, and there are no advertisements built in. As a beachhead, devs building on nostr aim to fix the rage-bait gulag tech advertising problematic model of the status quo social media.

Current nostr only search engines include nostr.band, and nos.today. Clients like Damus, Iris, Primal have some/basic levels of search built in.

https://njump.me/ is a nostr gateway that allows browser users to see a preview of notes, profiles, and other events.

Let me know if you have any questions on nostr - happy to help. I am the product contributor for Damus, and help with a few other nostr things. You can tag me here or on nostr https://iris.to/npub1zafcms4xya5ap9zr7xxr0jlrtrattwlesytn2s42030lzu0dwlzqpd26k5.

@alltheseas
Copy link
Author

Here is an example of !n to search nostr

https://njump.me/note1j0ank28v3g3vhy0a99sea3dpsdsek5zxppnahvg8e27muztncy2swxt48y

@alltheseas
Copy link
Author

Here is an example of !n to search nostr

https://njump.me/note1j0ank28v3g3vhy0a99sea3dpsdsek5zxppnahvg8e27muztncy2swxt48y

did you make this @fiatjaf ?

@vprelovac
Copy link
Contributor

vprelovac commented Apr 3, 2024

Kagi Small Web uses RSS feed mechanism to feed content into the index. So if Nostr supports RSS feeds for notes, it would be very straight forward to create a version of the project that would feature such notes, based on any criteria for their collection.

@fiatjaf
Copy link

fiatjaf commented Apr 4, 2024

Nostr per se doesn't support RSS feeds, you have to connect to relays -- which could be any server -- and ask for the notes you want via a websocket protocol.

But https://njump.me/ is a "gateway" thing that can do that job on your behalf and it exposes RSS feeds.

For example, a feed for a user: https://njump.me/npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m.rss

Or a feed for a specific relay: https://njump.me/r/nostr.land.rss

But even if Kagi uses njump.me for fetching the data ideally Kagi wouldn't make this a search on "njump.me", but on Nostr directly. I'm not sure how that would look like in practice. It would be super cool if Kagi somehow rendered the notes directly instead of just linking to some other website!

Let me know if the content in these RSS feeds is too shallow, I'm not sure anyone is using them so I think we never put too much effort in formatting them -- for example, I see that posts in the relay feeds don't have the author linked there.

@fiatjaf
Copy link

fiatjaf commented Apr 4, 2024

@alltheseas that video you linked is a "lens" thing I created that restrict Kagi searches to njump.me. Luckily many pages of njump.me are already indexed (but so many more are not).

@vprelovac
Copy link
Contributor

Thanks for the input.

This is a whole new world for me. Taking a random item from the feed you posted.

https://njump.me/nevent1qqszekxh82mj29g67sc8e63l27ndp9c63egav53yyf9vcngnjjwsamgpzpmhxue69uhkummnw3ezumrpdejqygxzxrkaxn99eqcchaze9tq9dn0rw5va89wqjpxr06suv59c4498zgzqfrs8

I struggle to see how would something like this be valuable to broader population. Rendering the note would not be a problem, I think we are dealing more with content being appropriate for this purpose. Compare this to content typically found in small web https://kagi.com/smallweb

@fiatjaf
Copy link

fiatjaf commented Apr 4, 2024

Well, yes, most of the content is useless microblogging. I don't think it fits the smallweb section that displays random blog posts.

@alltheseas
Copy link
Author

Might there be a better spot for nostr microblogging on kagi, if small web is not the place?

@vprelovac
Copy link
Contributor

I leave that up to you to decide!

Using kagifeedback.org for that may be more appropriate.

@stanislavkozlovski
Copy link
Contributor

This would be great to have. Nostr is an amazing grass roots initiative

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

No branches or pull requests

4 participants