Fabian on Nostr: I have a simple algorithm for the Hot feed in Nostur: - get your follows - fetch ...
I have a simple algorithm for the Hot feed in Nostur:
- get your follows
- fetch posts from the last X hours that they liked or reposted
- sort posts by most liked/reposted, only count likes/reposts from your follows, don't count duplicates
Published at
2024-05-14 20:32:36Event JSON
{
"id": "21790e54d4e229a1e0c247d8219cdcd8e98da6309325dbe32c0a2d7393ba55ae",
"pubkey": "9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e",
"created_at": 1715711556,
"kind": 1,
"tags": [
[
"e",
"fa38fc132c3f1bfd1083e8f255f209941c09b106044a4b48771dff3db4d14a9d",
"",
"root"
],
[
"e",
"361c0f2724177488edc0971d523875fe70f984f6575305f787ecdfb677363adc",
"",
"reply"
],
[
"p",
"675b84fe75e216ab947c7438ee519ca7775376ddf05dadfba6278bd012e1d728"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "I have a simple algorithm for the Hot feed in Nostur:\n- get your follows\n- fetch posts from the last X hours that they liked or reposted\n- sort posts by most liked/reposted, only count likes/reposts from your follows, don't count duplicates\n",
"sig": "7358b2e0705a2a73ab2fe94c52a44020f4677a702897ee3c447ef5cce421386d8197f8e58827a94b6ac98bf7fc70fd001dfa2165ea5ed879a5df68a16fbf6c84"
}