k. on Nostr: you can use blobstore as wel, its khatru compatiblel: it supports disk and s3. you ...
you can use blobstore as wel, its khatru compatiblel:
https://github.com/kehiy/blobstoreit supports disk and s3. you accept s3 info for backup. using this library you can give your users ability to use it as blossom storage as well.
also, for disk writing you are using + operator, never do it, not safe. use path std. blobstore uses it.
blobstore has policies as well. i would improve it in future.
Published at
2025-02-12 16:32:39Event JSON
{
"id": "cbef6f94bb4d0e78456891968484f06e3c758ca16fec8976e7ee8519aeb11110",
"pubkey": "bd4ae3e67e29964d494172261dc45395c89f6bd2e774642e366127171dfb81f5",
"created_at": 1739377959,
"kind": 1,
"tags": [
[
"e",
"d9f9ae6c6c3a6e02ffe465e41b66159d3ca5ab336f6fe8f3e728994742541be1",
"",
"root"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"r",
"https://github.com/kehiy/blobstore"
]
],
"content": "you can use blobstore as wel, its khatru compatiblel:\n\nhttps://github.com/kehiy/blobstore\n\nit supports disk and s3. you accept s3 info for backup. using this library you can give your users ability to use it as blossom storage as well.\n\nalso, for disk writing you are using + operator, never do it, not safe. use path std. blobstore uses it.\n\nblobstore has policies as well. i would improve it in future.",
"sig": "16aa4de23d444cdeede473465946ff6c47e4c7bd843e30d0e9a27d283a62ee8c165e03aa3c330900b94cc92d6e4d2b3f30ee3929f1338796ddfb7b6ce7f7c5bb"
}