biff

macrobartfast 2024-12-15T01:03:51.217779Z

Forgive me if it’s right in front of me, but is there any utility for Digital Ocean Spaces for file storage? Or do folks use EC2 instead for some good reason? Thanks!

2024-12-15T01:35:48.524039Z

I use Spaces for all my apps, definitely recommend it if you're deploying your app to digitalocean.

macrobartfast 2024-12-15T01:36:39.329839Z

Sweet. I’m using it now. I just wanted to make sure there aren’t any Biff utils (or handy clj libs) to help with that. As opposed to interop with the AWS libs.

macrobartfast 2024-12-15T01:37:54.310179Z

I’m fairly terrified of AWS in terms of billing.

2024-12-15T01:41:09.493609Z

there's a biff/s3-request function that works with Spaces and AWS S3: https://biffweb.com/docs/api/utilities/#s3-request

2024-12-15T01:42:31.089579Z

For anything fancier than that, you should be able to use any aws lib like amazonica or cognitect aws-api with digitalocean spaces since it's S3-compatible, but it might require some fiddling with the settings.

2024-12-15T01:42:46.578799Z

if biff/s3-request does everything you need, things should be pretty easy

macrobartfast 2024-12-15T01:43:26.085229Z

Oh, nice. I’m sure that will be all I need. I’ll take a look. Thanks for grepping the docs for me. 😳

👌 1
2024-12-15T01:44:12.091059Z

no need for grep, I've got it all indexed 🙂

macrobartfast 2024-12-15T01:44:41.057129Z

awesome