Skip to content

Instantly share code, notes, and snippets.

@liam-fitzgerald
Created March 13, 2020 02:26
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liam-fitzgerald/e54854a40f4c07573baedaf34d322f7f to your computer and use it in GitHub Desktop.
Save liam-fitzgerald/e54854a40f4c07573baedaf34d322f7f to your computer and use it in GitHub Desktop.
/+ *chat-json
:- %say
|= [[now=@da eny=@uvJ bec=beak] ~ ~]
:- %json
(inbox-to-json .^(inbox %gx /(scot %p p.bec)/chat-store/(scot %da now)/all/noun))
@liam-fitzgerald
Copy link
Author

Save as /gen/backup-chat.hoon

Run as *backup/json +backup

@litmus-ritten
Copy link

This python script creates human-readable logs based on chat dumps produced by your hoon:

extract-urbit-chat.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment