Join Nostr
2026-03-08 09:48:53 UTC

dhalsim on Nostr: Just shipped file sync between two bot instances in nostr-dm-agent πŸ€– You can now ...

Just shipped file sync between two bot instances in nostr-dm-agent πŸ€–

You can now send files between bots.

On Bot A:

`!file upload <file> <npub_of_bot_b>`

copy the naddr and go to Bot B chat:

`!file download <naddr>`

The bot encrypts the file and uploads it to Blossom. Publishes a pointer to the blossom file on a nostr note. You can update the same file again and again, naddr won't change.

While built for bots, the underlying approach could work for any Nostr client that wants encrypted file sharing over Blossom.

Big thanks to for manent (https://github.com/dtonon/manent) β€” the encryption approach and the idea came from there πŸ™

nostr-dm-agent: https://gitworkshop.dev/dhalsim@dhalsim.github.io/nostr-dm-agent