you can use blobstore as wel, its khatru compatiblel:
https://github.com/kehiy/blobstore
it 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.
I'll have a look and possible add to the roadmap for Haven. We are already using Min.io for backup, so it makes a ton of sense to add support to save to and serve media from S3-Like servers.
yup, that's nice. you can use blobstore for this. feel free to report bugs, requests features or make continuations. i would accept and work on this. 🫡🪼
Thread collapsed
Thread collapsed