Replying to Avatar verbiricha

would be cool to implement a smol reactive lisp in grimoire so you can run scripts like:

;; Who do my friends follow that I don't?

(def friends-of-friends

(->> $contacts ; people I follow

(req :k 3 :a) ; their contact lists

(tags :p) ; who they follow

(diff $contacts) ; remove people I already follow

(diff #{$me}))) ; remove myself

;; See their recent posts

(req :k 1 :a friends-of-friends :l 50 :since 7d)

and get a custom feed. you can calculate rankings, pubkey sets, relay sets, etc. and the UI can show the right component for result. computed locally. shareable as nostr events.

e7
notstr 15h ago

nostr:nprofile1qqsza7flq8xjfylqgg66dwrmzrfuff6w9flt0s72795zdrm27ue3fdgpz4mhxue69uhkgetnvd5x7mmvd9hxwtn4wvhsz9mhwden5te0vf5hgcm0d9hx2u3wwdhkx6tpdshsz9thwden5te0wfjkccte9ejxzmt4wvhxjme04qmycu

Reply to this note

Please Login to reply.

Discussion

No replies yet.