Next.js Discord

Discord Forum

vercel blob local development

Unanswered
Dutch Smoushond posted this in #help-forum
Open in Discord
Dutch SmoushondOP
Hi! Is there a way to run a vercel blob server locally for development purposes?

22 Replies

as they have their own info and things, i think you have to use their servers even for dev 😭
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
i was thinking because they used r2, that it can be s3 compatible, but wasn't sure what vercel magic is done
R2 is s3 complaint
yeah that is what i was saying
I misunderstood
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 ;()
No you did
I’m just a dumby
Dutch SmoushondOP
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
@Dutch Smoushond you could try to mock the functions
Dutch SmoushondOP
yeah. that is an option. I think I will just stick to S3 for now. Looking forward to this tech progressing though.
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
Dutch SmoushondOP
very cool. will check that out!
Also, you would get insane cheeper if you use cloudflares or AWS over vercel