Global Feed Post Login
Replying to Avatar pwm

Relays not storing uploads as part of some in-band spec isn't a huge problem imo.

All you need is

- protocol extension to designate a url as holding an attachment (NIP, not hard)

- clients to allow you to configure what you use as the uploader (nothing really that can be enforced, hard)

the second part is harder because fragmentation. Maybe not everyone decides to play nice and allow you to set the place you are uploading. HTTP is probably the lowest common denominator for uploading/downloading attachments.

I think relays optionally running an http upload endpoint would be really cool because you could distribute where you upload to across many different relays. Then add a NIP to discover which relays you know about offer this service. I think this would be ideal.

e9
Vivi Nella Verita 2y ago

Yes, just like the Fediverse. By default, instances store and serve uploads but you have the option to add an S3 server or Media Proxy Provider

Reply to this note

Please Login to reply.

Discussion

Avatar
pwm 2y ago

I think the fedi spec does attatchments pretty much right (except for the not so strict whether the key is always present when empty, whether it is a string, or an array, cause different implementations do it each of these ways because fuck you other server)

Thread collapsed