mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-23 23:12:04 +03:00
24 lines
527 B
Plaintext
24 lines
527 B
Plaintext
:: Display twitter feed
|
|
::
|
|
:::: /hook/core/twitter-feed/app
|
|
::
|
|
/+ sh-utils
|
|
!:
|
|
::
|
|
:::: ~fyr
|
|
::
|
|
|_ [hide ~]
|
|
++ stat ,[id=@u who=@ta now=@da txt=@t]
|
|
++ rens
|
|
:- %say
|
|
|=(stat rose/[": " `~]^~[leaf/"{<now>} @{(trip who)}" leaf/(trip txt)])
|
|
++ peer ,_`.
|
|
++ poke--args
|
|
|= [ost=bone his=ship who=span ~]
|
|
%.(+< (add-subs [[our /twit] our /user/[who]] ,_`+>.$))
|
|
::
|
|
++ posh-twit-feed
|
|
(args-into-gate . |=(a=(list stat) tang/(turn a rens)))
|
|
:: ++ pour |*([ost=@ * sih=[@ ^]] :_(+>.$ [ost %give +.sih]~))
|
|
--
|