/- feed |% ++ shim-url 'http://localhost:8888/shim' +$ state state-0 +$ state-0 $: %0 :: nostr config relays=(set @t) events=(list event) :: let's limit it to 100 keys=(set keys) :: feeds own=feed:feed following=(map @ux [profile=user-meta =feed:feed]) follow-graph=(map @ux (set follow)) :: TODO global feed somehow? == +$ follow [pubkey=@ux name=@t relay=(unit @t)] +$ keys [pub=@ priv=@] ++ default ^- state-0 =/ s *state-0 s(relays (silt ~['wss://relay.damus.io' 'wss://nos.lol'])) :: NOSTR structs :: +$ event $: id=@ux :: 32bytes pubkey=@ux :: 32bytes created-at=@ud :: seconds kind=@ud tags=(list tag) content=@t sig=@ux :: 64bytes == +$ tag $: key=@t value=@t rest=(list @t) == +$ user-meta :: NIP-1 (map @t @t) :: $: name=@t :: about=@t :: pic=@t :: == --