Why Nostr? What is Njump?
2025-05-04 01:29:45
in reply to

fiatjaf on Nostr: If you have YAML frontmatter maybe you can do something like this for every file: ...

If you have YAML frontmatter maybe you can do something like this for every file:

echo '---
title: Bla
---

# Bla

blablabla
' | yq --slurp '{tags: [["title", .[0].title]], content: .[1]}' | nak event -k 30023 relay.damus.io
Author Public Key
npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6