Blossom Drive: Store & Retrieve Data on Public Servers Using sha256 Universal ID
Blossom is a spec for a set of HTTP endpoints that allow users to store blobs of data on publicly accessible servers. Blobs are packs of binary data addressed by their sha256 hash.
- "Blossom is a set of HTTP endpoints that allow nostr users to store and retrieve binary data on public servers using the sha256 hash as a universal id."
"An identity system would allow files to be "owned" by users. and once files have owners servers could start grouping files into a single thing instead of a 1000+ loose files," explained hzrd149 in a blog post.
- "blobs are chunks of binary data. they are similar to files but with one key difference, they don't have namesInstead blobs have a sha256 hash (like
b1674191a88ec5cdd733e4240a81803105dc412d6c6708d53ab94fc248f4f553
) as an ID."
"These IDs are universal since they can be computed from the file itself using the sha256 hashing algorithm ( you can a files hashing on linux using: sha256sum bitcoin.pdf
)."
- "Blossom Drive is a nostr app built on top of blossom servers and allows users to create and manage folders of blobs."
"Drives are just nostr events (kind 30563
) that store a map of blobs and what filename they should have along with some extra metadata."
- Check out a demo of Blossom Drive at https://blossom.hzrd149.com.
- Also, check out Satellite CDN - a Blossom-compatible open source CDN server that handles media uploads, downloads, user authentication, lightning payments, and file indexing.
Learn more about Nostr and Blossom on episode 125 of Citadel Dispatch.