arthurfranca on Nostr: nip96 at start of PR dicussions had fixed routes with no nip96 config, just like ...
nip96 at start of PR dicussions had fixed routes with no nip96 config, just like blossom, but stakeholders wanted to specify custom api url to serve files from a different infra. download_url is optionally for using CDNs. Other keys are all optional.
Also nip96 servers, specially free ones, may want to compress images/videos. That's why the file identifier is the file hash before compression. When using blossom, the client is supposed to compress before uploading.
Published at
2024-11-09 01:13:23Event JSON
{
"id": "0f953eb97f4cc761164efaec03277d14c23878c147962bad511cced2e49edad1",
"pubkey": "fc7085c383ba71745704bdc1c6efcf7fab0197501de598c5e6c537ac0b32a4cb",
"created_at": 1731114803,
"kind": 1,
"tags": [
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"wss://offchain.pub/",
"M. Dilger"
],
[
"e",
"0000e75e90dfb25f194d81675a187259fe04b2cb40fa583ba6d7ad55f1df0e3d",
"wss://offchain.pub/",
"root",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
]
],
"content": "nip96 at start of PR dicussions had fixed routes with no nip96 config, just like blossom, but stakeholders wanted to specify custom api url to serve files from a different infra. download_url is optionally for using CDNs. Other keys are all optional.\n\nAlso nip96 servers, specially free ones, may want to compress images/videos. That's why the file identifier is the file hash before compression. When using blossom, the client is supposed to compress before uploading.",
"sig": "60bd856b51e4f48f3d08beb68917c51e472a770af39a8373f6c78b3c4645e68de1c95f1856b23a69482f0229d0047da9f32e9cd7fb332ace92300b8380f6cdff"
}