This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-23
Channels
- # announcements (3)
- # aws (1)
- # beginners (44)
- # biff (6)
- # calva (31)
- # cider (26)
- # clerk (12)
- # clj-kondo (9)
- # clojure (17)
- # clojure-dev (18)
- # clojure-europe (13)
- # clojure-norway (45)
- # clojure-uk (4)
- # clojurescript (34)
- # datomic (54)
- # dev-tooling (14)
- # emacs (19)
- # events (7)
- # honeysql (2)
- # hyperfiddle (51)
- # lsp (34)
- # malli (24)
- # matrix (1)
- # missionary (5)
- # off-topic (27)
- # re-frame (6)
- # reagent (18)
- # releases (2)
- # sci (6)
- # shadow-cljs (88)
- # vim (9)
Is the "How to let users upload images to S3 with Biff" guide specific to Digital Ocean's Spaces? https://gist.github.com/jacobobryant/02de6c2b3a1dae7c86737a2610311a3a I have no experience with S3, so I just wanted to make sure I'm setting up the right thing.
The DO spaces API is compatible with S3 to the point that you can use the AWS S3 client to upload files to spaces buckets. Just be sure to specify an arbitrary AWS region, as it is required by the S3 client.
Ah I see the mention for using pre-signed urls with this in the guide. That’s how I do it and I can share the code for that some time.

yep, I wrote the guide/code with DO spaces, but it should work just the same with actual S3 or any other S3-compatible service
definitely would be interested in code for pre-signed urls--you could add it in a comment on that gist perhaps
It worked! I went with DO spaces since I was already hosting the rest of the site there.