hzrd149 / blossom

Blobs stored simply on mediaservers
The Unlicense
55 stars 6 forks source link

Could we further modularize the protocol? #14

Open danieldaquino opened 1 month ago

danieldaquino commented 1 month ago

I like the concepts used in the Blossom protocol, and it is similar to a NIP I was working on (https://github.com/nostr-protocol/nips/pull/1098/files)

I was considering turning that NIP draft into its own protocol (Blobstr), but I believe it might be better to implement some of those ideas into the Blossom protocol instead to avoid duplicating efforts.

However, the concern I have about the Blossom protocol is that BUD-01 is a bit monolithic and constraints the possible use cases. For example, it prevents the following:

In general, content-addressable storage can serve a big variety of use cases, so I believe it might be a good idea to reduce BUD-01 into something smaller and add-on the other features/requirements into BUD-02, BUD-03, etc, to serve specific use-cases, that way the protocol can serve more use-cases. If BUD-01 is too restrictive and mandatory, it cannot be used for a broad set of use cases and will encourage those to use different protocols.

Is this something you'd be interested in? I could come up with some drafts if interested.

hzrd149 commented 1 month ago

So maybe something like #15

danieldaquino commented 1 month ago

Thank you @hzrd149 for putting that together! Yes, that's what I had in mind.

I still need to wrap my mind around the GET authentication/authorization mechanism, but I can open a separate ticket if I have concerns about that