ouch, we need a postgress DB for this one 😟 That's too much for my poor raspberry pi.
Introducing: AlgoRelay
Build your own nostr algorithm!

AlgoRelay is the first nostr native relay capable of serving personalized, algorithmic feeds without the use of external or proprietary APIs or DVMs.
It prioritizes surfacing content from the people you care about, based on your personal interactions.
For new users, it solves the "who should I follow?" problem by surfacing popular content in a global feed with our best content.
Clients can easily add personalized feeds by displaying notes from a single relay, using the same REQ parameters we're already using - simply perform an auth handshake.
Coracle is the first client to implement it, you can see it in action here:
https://coracle.social/relays/wss%3A%2F%2Falgo.utxo.one%2F
Don't like the way my relay is surfacing content? You can easily adjust the weightings in your own relay by changing a few numbers - no coding required!
I look forward to seeing a blossoming market of algorithmic relays putting choice back in the user's hands. This is a big step forward for nostr, giving the masses what they want using open source, transparent algorithms.
This relay is released under an MIT license, feel free to use it however you see fit.
To run your own relay, get started here:
Discussion
Lol yeah this one needs serious compute
maybe with a cluster of raspberry pis? :-D
Just buy a real computer lol 😆
nah, takes too much space. I'd rather "rent" a VPS somewhere. I'ts cheaper too...
is all teh state of the relay recorded in the DB? Could i run several instances with a single DB backend?
Each relay would be pulling duplicate notes and trying to write them to the DB, it would be pretty ugly
But in theory yes you could do this, it uses mostly postgres to compute the stuff
but it still wouldn't solve my problem, i'd actually need the postgres DB to be in a cluster, not the relays, since the DB does all the hard work.