mirror of
https://github.com/hzrd149/blossom.git
synced 2025-12-08 14:58:49 +00:00
6f782edb101d401d51c92f5e3ef0e7bf564b407f
Add requirement for sha256 on upload
🌸 Blossom - Blobs stored simply on mediaservers
What is it?
Blossom is a spec for a set of HTTP endpoints that allow users to store blobs of data on publicly accessible servers
What are blobs
Blobs are packs of binary data addressed by their sha256 hash
How does it work?
Blossom Servers expose four endpoints for managing blobs
GET /<sha256>(optional file.ext)HEAD /<sha256>(optional file.ext)PUT /uploadAuthentication: Signed nostr event- Return a blob descriptor
GET /list/<pubkey>- Returns an array of blob descriptors
Authentication(optional): Signed nostr event
DELETE /<sha256>Authentication: Signed nostr event
Protocol specification (BUDs)
BUDs stand for Blossom Upgrade Documents.
See the BUDs folder and specifically BUD-01 for a detailed explanation of the endpoints
License
Public domain.
Description
Languages
Markdown
100%