papermark icon indicating copy to clipboard operation
papermark copied to clipboard

Vercel Blob alternative when developing locally?

Open ephraimduncan opened this issue 2 years ago • 8 comments

Vercel Blob is in private beta and is not open to everyone.

It is a restriction when you want to contribute and you don't have access to it.

Is there a way to store documents locally without the need for Vercel blob?

ephraimduncan avatar Jun 01 '23 06:06 ephraimduncan

That’s a good point, @dephraiim. There are certainly alternatives but not yet compatible with the vercel blob API.

Would need to build a separate exception for local dev.

I can imagine adding minio for local development. https://github.com/minio/minio

mfts avatar Jun 01 '23 07:06 mfts

Adding it together with postgres with docker will be an good approach for easier development

ephraimduncan avatar Jun 01 '23 11:06 ephraimduncan

Totally agree. Do you want to give this a try or else I can see when I get to it.

mfts avatar Jun 02 '23 07:06 mfts

@dephraiim @HunnySajid the vercel team is opening up the waitlist for vercel blob this week. Make sure you are on it: #42

mfts avatar Aug 30 '23 21:08 mfts

I actually found https://github.com/minio/minio, if Vercel Blob has the same API as S3, MinIO will be compactible for development

ephraimduncan avatar Aug 31 '23 00:08 ephraimduncan

Can we use something like https://github.com/initeshjain/golang-ftp-server here? We can toggle dev/prod from a .env file and use fetch calls to upload files.

initeshjain avatar Jan 07 '24 17:01 initeshjain

Interesting proposal @initeshjain i don't know this tool. I'll have a look

mfts avatar Jan 09 '24 21:01 mfts

Interesting proposal @initeshjain i don't know this tool. I'll have a look

I have written this code 2 days back and open sourced it. It is simple ftp server written in golang. Also, we can have vercel blob storage response like format for this tool as well.

initeshjain avatar Jan 10 '24 04:01 initeshjain

We added S3 a while back, so we support anything that's s3-compatible :)

mfts avatar Oct 01 '24 04:10 mfts