#vercel blob local development

23 messages · Page 1 of 1 (latest)

balmy notch
#

Hi! Is there a way to run a vercel blob server locally for development purposes?

raw knollBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

dreamy moss
#

as they have their own info and things, i think you have to use their servers even for dev 😭

azure sequoia
#

For the future if you’re just using an s3 complaint store

#

You can always run minio in a docker container locally

#

To simulate the s3 api locally

#

Sadly vercel blob has vendor lock in

dreamy moss
#

i was thinking because they used r2, that it can be s3 compatible, but wasn't sure what vercel magic is done

azure sequoia
#

R2 is s3 complaint

dreamy moss
#

yeah that is what i was saying

azure sequoia
#

I misunderstood

dreamy moss
#

i was trying to say that they use something that is s3 comp, but i wasn't sure that vercel passes that on (but i can see how i didn't convey that ;()

azure sequoia
#

No you did

#

I’m just a dumby

balmy notch
#

Thanks for the responses. Unfortunate that there isn't an easy way to write tests against the vercel API that don't use their hosted services

azure sequoia
#

@balmy notch you could try to mock the functions

balmy notch
#

yeah. that is an option. I think I will just stick to S3 for now. Looking forward to this tech progressing though.

azure sequoia
#

Ah okay

#

Hey if you’re using s3 check out next-upload

#

It’s a package I built as an alternative to vercel blob

#

It streamlines the upload process without any of the vendor lock in of vercel

#

All you need is an s3 compatible object store

balmy notch
#

very cool. will check that out!