Blossom is the bare minimum specification of HTTP endpoints to allow nostr users to store binary blobs (files) on public servers and retrieve them using the sha256 hash

It defines 5 endpoints:

- GET / - Returns the contents of a blob

- HEAD / - Check if a blob exists on the server

- PUT /upload - Upload a blob to the server

- GET /list/ - Return a list of blobs the pubkey has uploaded

- DELETE / - Delete a blob a pubkey has uploaded

There is nothing in the spec about P2P or censorship residents. but I believe that can be built on top of it using other technologies like torrents, i2p, hypercore, or IPFS

The main focus is promoting the idea of referencing files with their sha256 hash. once we start doing that then we can start solving censorship residents.

https://github.com/hzrd149/blossom

Blossom Drive is a nostr app I'm building that uses Blossom to store data. I'm mainly building it to demonstrate how blossom could work and to let people play around with it.

Also could be nice to replace public google drives and mega.nz for file sharing 😀

https://github.com/hzrd149/blossom-drive

Reply to this note

Please Login to reply.

Discussion

No replies yet.