Replying to Avatar hzrd149

A rough draft of a BUD-10 for multi-part uploads to blossom servers. not sure if this is a good idea so I'm looking for feedback

https://github.com/hzrd149/blossom/pull/67

The biggest issue comes from the fact that blossom relies on the sha256 hash of the whole blob. so there isn't a way to verify that each uploaded chunk is part of a whole until the all the chunks are uploaded.

I think this issue can be mitigated slightly if the client includes `x` tags in the auth event for each chunk its uploading. so that the server can verify that each chunk was created by the client.

In the case of payments, I think it could be possible for the client to pay for each chunk. although this might require more requests or the server to define an x sats/bytes pricing.

Inspiration taken from https://tus.io/

Thanks to nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 for making me aware of it

Appreciate the progress in this!

Will most likely use this for nostr:nprofile1qy2hwumn8ghj7erfw36x7tnsw43z7un9d3shjqpq7jl3ldd6305rnacvwvchx03snauqsg4nz8mruq0emj9thdpglr2sym646a when the time comes, as a lot of creators will most likely attempt to upload large files on it (hundreds of MBs to double-digit GBs)

Appreciate what nostr:npub1t89vhkp66hz54kga4n635jwqdc977uc2crnuyddx7maznwfrpupqwra5h9 is doing as well on their end.

Reply to this note

Please Login to reply.

Discussion

Depending on how large some of the mods get it might be worth attempting to use torrents. since they are much better for larger files.

IMO the only reason to build on top of blossom instead of torrents is if you know the files are going to be small (cat pictures) and they NEED to work in the web browser. otherwise if you building a desktop app it would probably be much better with torrents

Makes sense.

I guess I need to consider that down the line then.

I'm basically thinking both now and in the future. And the future being a lot of people having very convenient home servers with Blossom Drive, and start mirror mods and providing their links to it to be discovered, for the mods they like, to support/enhance their availability and censorship resistance.

I guess testing these things out and seeing what comes as the best setup solution