The spec was built to use it like a proxy, you send a reques...

greenart7c3
npub1w4uswmv6lu9yel005l3qgheysmr7tk9uvwluddznju3nuxalevvs2d0jr5
hex
e19694cac476e8c58aea580a5102fd11fad9494983bbf2053501d2b2aab47ad8nevent
nevent1qqswr955etz8d6x93t49szj3qt73r7kef9yc8wljq56sr54j42684kqprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgs827g8dkd07zjvlhh60csytujgd3l9mz7x807xk3fewge7rwlukxg0j7cnvKind-1 (TextNote)
↳ Reply to Event not found
6b638aed4c2a2d2205904888a0d1ec953b403c51a5ae1118f9b842117a2bcc64...
The spec was built to use it like a proxy, you send a request to localhost with a query parameter xs=original image url eg. (http://127.0.0.1:24242/$hash?xs=cdn.example.com
Its all written here: https://github.com/hzrd149/blossom/blob/master/implementations%2Flocal-blossom-cache.md
I don't know if I should also add the /upload and mirror to the users blossom list
For now it's just following the cache spec
Raw JSON
{
"kind": 1,
"id": "e19694cac476e8c58aea580a5102fd11fad9494983bbf2053501d2b2aab47ad8",
"pubkey": "7579076d9aff0a4cfdefa7e2045f2486c7e5d8bc63bfc6b45397233e1bbfcb19",
"created_at": 1771966636,
"tags": [
[
"alt",
"A short note: The spec was built to use it like a proxy, you sen..."
],
[
"e",
"58b67334e7b1a007eaa8c4178554884ad46387f000b18ead7003ba26c3136d4a",
"wss://nostr.wine/",
"root",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"e",
"1977d2ac830986d5b0d11c6ae2c98a29bd369d413f2862fcda06508b84414c8d",
"wss://relay.primal.net/",
"",
"15af9e028db92e50d5462ff5837ed952d41a9bc52149fbdea45bfc0dccd7c6d9"
],
[
"e",
"6b638aed4c2a2d2205904888a0d1ec953b403c51a5ae1118f9b842117a2bcc64",
"wss://multiplexer.huszonegy.world/",
"reply",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"wss://nostr.wine/"
],
[
"p",
"15af9e028db92e50d5462ff5837ed952d41a9bc52149fbdea45bfc0dccd7c6d9",
"wss://nostr.mom/"
],
[
"p",
"7579076d9aff0a4cfdefa7e2045f2486c7e5d8bc63bfc6b45397233e1bbfcb19",
"wss://nos.lol/"
],
[
"p",
"7579076d9aff0a4cfdefa7e2045f2486c7e5d8bc63bfc6b45397233e1bbfcb19",
"wss://nos.lol/"
],
[
"r",
"https://github.com/hzrd149/blossom/blob/master/implementations%2F%00local-blossom-cache.md"
],
[
"r",
"http://127.0.0.1:24242/$hash?xs=cdn.example.com)"
]
],
"content": "The spec was built to use it like a proxy, you send a request to localhost with a query parameter xs=original image url eg. (http://127.0.0.1:24242/$hash?xs=cdn.example.com)\n\nIts all written here: https://github.com/hzrd149/blossom/blob/master/implementations%2Flocal-blossom-cache.md\n\nI don't know if I should also add the /upload and mirror to the users blossom list\n\nFor now it's just following the cache spec",
"sig": "2a3063646656ceec2acab29d98de84cca3e991d69ad7cf682505e2b562cba2a34c6a2a566a0f4d10451b99d8430604d75bdf84d3dcde727ac71753305d7760fc"
}