Read the spec, understand it, implement it in your client (it’s pretty simple). Nostr.build and I will start implementing it in our services.

Future todos:

- pip/npm packages

- turnkey self hosting solution

Reply to this note

Please Login to reply.

Discussion

Also, contribute to the github if you think you can improve the spec.

just read it. Simple enough to build it right away. Just Thinking aloud, how about adding something like uploader must sign the media sha256 hash, and host will validate the sig. this can even extend the pow nip to prevent spam

Ive thought about it. The drawback is that the host may want to modify the file (i.e. compression). I’m sure there is an elegant solution but i haven’t worked it out yet. Probably should open an issue for it.

I see, in that case, I guess one way is to let the host mapping the original hash and modified hash, or use two steps for signing, eg host sends the modified hash to client after compression, and client signs it back.