Holy shit my algorithm relays actually works

No DVM or API, just a nostr native relay using the same REQ params we're used to

Reply to this note

Please Login to reply.

Discussion

Which relay package did you use?

Khatru of course but my own custom database instead of eventstore

Nice.

What kind of algorithm are you working on?

Personalized, finding notes from people you tend to interact with + most viral + some recency decay type thing

Each npub will have a different feed

That's hype! Looking forward to seeing it in action.

I'm curious to know how it weights different factors. Do you plan on doing a write-up?

Just throwing some random weights in to start and see how people like it, will be very easy to adjust them

At a high level it really values notes from people you tend to zap a lot and how fresh their notes are

And it undervalues viral notes from people you don't follow

It would be cool to make it customizable.

I'm envisioning a UI with a few sliders you can drag to weight different kinds of notes differently. Put the control in the hands of the user.

Glad to see you're working on this, and thanks for explaining!

This is amazing.

I like this relay-as-a-custom-feed approach. I hope this sort of experiments will force clients to finally embrace single feed browsing, and make it a first-class citizen feature.

nostr:nevent1qqs9qwcy25ac5rn8avzl6mq0na4eqrfv29fxw3nc4y0tuu0a8029nxqpz9mhxue69uhkummnw3ezuamfdejj7q3qutx00neqgqln72j22kej3ux7803c2k986henvvha4thuwfkper4sxpqqqqqqzcu0anh

Let a thousand relays bloom*

*per user...

I don't understand anything but... God bless you 🫡

Users will have their own relay(s).

Thinking they won't is how you miss simple, cheap, private and elegant solutions like this:

nostr:nevent1qvzqqqqqqypzpckv7l8jqspl8u4y54dn9rcduwlrs4v2040nxce0m2h0cunvrj8tqqs9qwcy25ac5rn8avzl6mq0na4eqrfv29fxw3nc4y0tuu0a8029nxqmhqjj4

according to the screenshot it only works the second time

Looking forwards to experiencing this as a user! 🔥👏