Mike Dilger on Nostr: I have been adding blossom support to chorus. It is almost done. Branch is on github ...
I have been adding blossom support to chorus. It is almost done. Branch is on github 'blossom'.
It supports GET/HEAD/DELETE for /<sha256>
It supports HEAD/PUT for /upload
It does not support /list or /mirror yet.
It does not remember or deal in content types (these are just blobs, I dont know what they are).
It requires authentication to upload or delete, but not to download.
It handles HEAD and OPTIONS and CORS stuff quite well.
It explains all the error conditions in detail in the X-Reason header.
It does not do other nice HTTP things like etag or cache stuff yet.
It uses async streaming and efficiently hashes and counts bytes as it goes.
It probably has a few bugs or omissions still.
It is optional and disabled by default.
After some testing I'll add blossom support to gossip so you can attach files to notes and it will upload and put the link in your note.
Published at
2024-11-17 20:02:07Event JSON
{
"id": "00004ddac4a0f77b563ac86663fad7ce5d167edcd7bfa1f518b2accb23f89f66",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1731873727,
"kind": 1,
"tags": [
[
"nonce",
"768614336404567004",
"16"
]
],
"content": "I have been adding blossom support to chorus. It is almost done. Branch is on github 'blossom'.\n\nIt supports GET/HEAD/DELETE for /\u003csha256\u003e\nIt supports HEAD/PUT for /upload\nIt does not support /list or /mirror yet.\nIt does not remember or deal in content types (these are just blobs, I dont know what they are).\nIt requires authentication to upload or delete, but not to download.\nIt handles HEAD and OPTIONS and CORS stuff quite well.\nIt explains all the error conditions in detail in the X-Reason header.\nIt does not do other nice HTTP things like etag or cache stuff yet.\nIt uses async streaming and efficiently hashes and counts bytes as it goes.\nIt probably has a few bugs or omissions still.\nIt is optional and disabled by default.\n\nAfter some testing I'll add blossom support to gossip so you can attach files to notes and it will upload and put the link in your note.",
"sig": "1ba481593005fe582d37e0163e99b7c360e3e3d880e5f489083a5d432e86a5a5f24fb3065badd7bc526ee50179009f7793d867fed7c5c2df8461682b3da18561"
}