Lux on Nostr: Hmm that might not work for a lot of folks who use object storage providers... ...
Hmm that might not work for a lot of folks who use object storage providers... including our friends at nostr.build if they end up wanting to also support Blossom, as their media is on various subdomains too.
So, maybe the default could be <domain>/<sha256> but allow fallback upon upload the clients could also use the returned URL?
Or, am I completely misunderstanding this and the GET to /<sha256> is only used for clients to list the uploaded files and not for when they add their respective URLs returned from /upload to inject in note content? Thanks!
Published at
2024-11-22 04:06:55Event JSON
{
"id": "ec53bb4cd48adb2f3d7ae5d963d4ff6bb67cd13e4ba10d3fd6967b9ad97e08bd",
"pubkey": "d49a9023a21dba1b3c8306ca369bf3243d8b44b8f0b6d1196607f7b0990fa8df",
"created_at": 1732248415,
"kind": 1,
"tags": [
[
"e",
"0924af70fadb25f47ee0a6c8e16a44432f738a6924d16cdfb684774bc04274a2",
"wss://nostr.wine/",
"root"
],
[
"e",
"5cd37813dea55bcaf5f3f669a16b6402d6a357281264fc98bb49c44e75c178cf",
"",
"reply"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"",
"mention"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"",
"mention"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"",
"mention"
]
],
"content": "Hmm that might not work for a lot of folks who use object storage providers... including our friends at nostr.build if they end up wanting to also support Blossom, as their media is on various subdomains too.\n\nSo, maybe the default could be \u003cdomain\u003e/\u003csha256\u003e but allow fallback upon upload the clients could also use the returned URL?\n\nOr, am I completely misunderstanding this and the GET to /\u003csha256\u003e is only used for clients to list the uploaded files and not for when they add their respective URLs returned from /upload to inject in note content? Thanks!\n\n",
"sig": "48cb586519f24cc384a9a7c179f84895e0822fe51086b817cc20f844fc882ccfe2b230f676da442cc40efa49556653258eb0d9a0dac54211b7952897fe01f63b"
}