/- trill=trill-feed, nostr |% +$ state state-0 +$ state-0 $: %0 :: nostr config relays=(map @t relay-stats:nostr) keys=(lest keys:nostr) :: cycled, i.keys is current one :: own feed feed=feed:trill :: nostr feed from relays =nostr-feed :: profiles profiles=(map @ux user-meta:nostr) following=(map @ux =feed:trill) follow-graph=(map @ux (set follow)) :: TODO global feed somehow? == +$ nostr-feed ((mop @ud event:nostr) gth) ++ norm ((on @ud event:nostr) gth) +$ follow [pubkey=@ux name=@t relay=(unit @t)] +$ shim-msg ++ ui |% +$ poke $% [%fols fols-poke] [%post post-poke] :: [%reac reac-poke] [%prof prof-poke] [%keys ~] :: cycle-keys [%rela relay-poke] == +$ post-poke $% [%add pubkey=@ux content=@t] [%rt id=@ux pubkey=@ux relay=@t] :: NIP-18 [%del pubkey=@ux] == +$ fols-poke $% [%add pubkey=@ux] [%del pubkey=@ux] == +$ prof-poke $% [%add pubkey=@ux meta=user-meta:nostr] [%del pubkey=@ux] == +$ relay-poke $% [%send host=@p id=@ relays=(list @t)] == -- --