Why Nostr?What is Njump?
Martti Malmi /
npub1g53…drvk
2024-04-24 13:44:50
in reply to nevent1q…rvhf

Martti Malmi on Nostr: Under the hood, IrisDB uses events like this: { "content": "\"Test Document\"", ...

Under the hood, IrisDB uses events like this:

{
"content": "\"Test Document\"",
"created_at": 1713958806,
"id": "4ade41ea3f724dd944b6e861882015ea355ad262879e32970482b64806bd91d8",
"kind": 30078,
"pubkey": "ec1c45f69d463143ac1882c52b27db551342a24add13810b5d98b96298e4d9e1",
"sig": "cbc373003989470414cba8660e26e0b5902ec8fea00d54ef4e38fdfc93631a0b3fd1bb53203a9f60003e760d8d4ee3ecebbd676c2529d3c753cbf3714d511421",
"tags": [
[
"d",
"/apps/docs/documents/868d7ed9-1100-4cae-be58-16a7d248afc7/name"
],
[
"f",
"/apps/docs/documents/868d7ed9-1100-4cae-be58-16a7d248afc7"
]
]
}

"d" tag is the "file name". It's a replaceable event, so new writes to the path overwrite the previous value. "f" is the "directory name" where the file resides. "#f" nostr filter can be used to list the files in a directory.
Author Public Key
npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk