Why Nostr? What is Njump?
2025-03-09 12:40:15
in reply to

IngwiePhoenix on Nostr: You mean kind 1's .content being stringified JSON? Yeah - that genuenly sucks. ...

You mean kind 1's .content being stringified JSON? Yeah - that genuenly sucks. Double-escaping is always horrible. xD
But not like you couldn't make it work. If it gets too anoying, why not store the file using mktemp and them pipe it back in?
$ myTemp=$(mktemp)
$ someCommandThatMakesKind1 > $myTemp
$ othercommandthatneedskind1 < $myTemp
$ rm $myTemp
Author Public Key
npub1tcekjparmkju6k83r5tzmzjvjwy0nnajlrwyk35us9g7x7wx80ys9hjmky