Video wird geladen...
Video konnte nicht geladen werden
Introducing Files SDK A unified storage SDK for object and blob backends. One small, honest API. Web-standards I/O. An escape hatch when you need the native client. → 18 providers - S3, R2, Vercel Blob, Google Drive, etc. → upload, download, head, delete, copy, list, url → Works everywhere... show more
247,392 Aufrufe • vor 4 Monaten •via X (Twitter)
53 Kommentare

Check it out:

Install with `npm i files-sdk`

"one small, honest API" 347 packages installed, ~250MiB node_modules

I’ll need to split it up lol 😂

Nice

I need this so bad for Paperclip

chat hes done it again

Would be sick to have file caching built in

I’ll look into it 👀

I hacked together a similar structure (not as a nice sdk haha) and had a file index in postgres, with a warm store on nvme for when it's there are very heavy writes my agents and async persistance to hdd and s3 with consolidated snapshots. Would be sick to have it done right by someone.

Thank you for including Blob in here, I bet @elliotdauber and @FalcoAgustin will be happy to answer/help on anything Blob related. They have been cooking recently :)

@ether_sh You can tell bros worked at vercel

ai sdk I see you

Epic

Very cool!

orm for storage 🙌

oh my god

he’s done it again

Another proxy SDK

yet so beautiful

nice! i've been wanting something similar. i'll have to look into how easy it would be to add a adapter

Thanks for this was looking for a similar solution here.

what'd you use to make this gangster animation?

that was @remotion + Codex 🙏

built my own version of this during a GCP/AWS migration, the extraction is where it gets painful

i thought we had Bun for this? kidding, kinda haha

Need to look into this! 👀

bit of a joke reference to this haha this looks like awesome work, i will be checking files-sdk out asap! ty @haydenbleasel 🤘

Another good use of tokens spotted.

I would rather ask for openai plus 🙂

solid move. unifying storage like this can save a ton of headaches when juggling multiple providers.

unified storage sdks live or die on the escape hatch. love that its First class here...

One API across S3, R2 and Drive is the storage primitive I've been duct-taping with adapters for the last year. Web-standards IO is the right call for the SDK shape.

finally

@BurnedChris

@BurnedChris He owes me a round of beers if this hits 1K likes btw

Very cool

siiiiickkk i needed this

Does it have support for presigned urls?

Yep there’s a presignedUploadUrl() function

Wow. This is great!

Damn, it's so useful 🔥

sounds cool, i love when stuff simplifies things like that 🙌

this gonna be fun to give to my agents

upload this file make no mistakes

holy cow ure in OpenAI now

Seems similar to the mirage storage layer @zechengzh

@zechengzh post a link! would love to check it out

@zechengzh I think you would find it pretty interesting. Unification for agents

cool sdk but how did u generate this launch video

That was @Remotion and Codex 🫡

@Remotion wild

love you for this! ❤️
