Loading video...

Video Failed to Load

Go Home

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...

247,392 views • 6 months ago •via X (Twitter)

53 Comments

Hayden's profile picture
Hayden6 months ago

Check it out:

Hayden's profile picture
Hayden6 months ago

Install with `npm i files-sdk`

David Matějka's profile picture
David Matějka6 months ago

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

Hayden's profile picture
Hayden6 months ago

I’ll need to split it up lol 😂

Guillermo Rauch's profile picture
Guillermo Rauch6 months ago

Nice

dotta 📎's profile picture
dotta 📎6 months ago

I need this so bad for Paperclip

Anthony Shew's profile picture
Anthony Shew6 months ago

chat hes done it again

max.berlin's profile picture
max.berlin6 months ago

Would be sick to have file caching built in

Hayden's profile picture
Hayden6 months ago

I’ll look into it 👀

max.berlin's profile picture
max.berlin6 months ago

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.

Vincent Voyer's profile picture
Vincent Voyer6 months ago

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 :)

Botir Khaltaev's profile picture
Botir Khaltaev6 months ago

@ether_sh You can tell bros worked at vercel

Dawid's profile picture
Dawid6 months ago

ai sdk I see you

Christoffer Bjelke's profile picture
Christoffer Bjelke6 months ago

Epic

Sébastien Chopin's profile picture
Sébastien Chopin6 months ago

Very cool!

nicklas's profile picture
nicklas6 months ago

orm for storage 🙌

f1shy-dev's profile picture
f1shy-dev6 months ago

oh my god

Cameron Youngblood's profile picture
Cameron Youngblood6 months ago

he’s done it again

Hayden's profile picture
Hayden6 months ago

Another proxy SDK

Cameron Youngblood's profile picture
Cameron Youngblood6 months ago

yet so beautiful

.skratch.dot.'s profile picture
.skratch.dot.6 months ago

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

Kartik's profile picture
Kartik6 months ago

Thanks for this was looking for a similar solution here.

ethan steininger 🔎's profile picture
ethan steininger 🔎6 months ago

what'd you use to make this gangster animation?

Hayden's profile picture
Hayden6 months ago

that was @remotion + Codex 🙏

Matthew Banaag's profile picture
Matthew Banaag6 months ago

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

Dak's profile picture
Dak6 months ago

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

Hayden's profile picture
Hayden6 months ago

Need to look into this! 👀

Dak's profile picture
Dak6 months ago

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

Mohak Bajaj's profile picture
Mohak Bajaj6 months ago

Another good use of tokens spotted.

Mohak Bajaj's profile picture
Mohak Bajaj6 months ago

I would rather ask for openai plus 🙂

Utkarsh Singh's profile picture
Utkarsh Singh6 months ago

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

Pochi's profile picture
Pochi6 months ago

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

Mustafa Ergisi's profile picture
Mustafa Ergisi6 months ago

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.

Alexandre Trotel's profile picture
Alexandre Trotel6 months ago

finally

Jet's profile picture
Jet6 months ago

@BurnedChris

Hayden's profile picture
Hayden6 months ago

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

Ovais Tariq's profile picture
Ovais Tariq6 months ago

Very cool

rbbydotdev's profile picture
rbbydotdev6 months ago

siiiiickkk i needed this

BISMIT PANDA's profile picture
BISMIT PANDA6 months ago

Does it have support for presigned urls?

Hayden's profile picture
Hayden6 months ago

Yep there’s a presignedUploadUrl() function

BISMIT PANDA's profile picture
BISMIT PANDA6 months ago

Wow. This is great!

MMIK's profile picture
MMIK6 months ago

Damn, it's so useful 🔥

Anil's profile picture
Anil6 months ago

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

mahir's profile picture
mahir6 months ago

this gonna be fun to give to my agents

Hayden's profile picture
Hayden6 months ago

upload this file make no mistakes

Drin's profile picture
Drin6 months ago

holy cow ure in OpenAI now

Tochi's profile picture
Tochi6 months ago

Seems similar to the mirage storage layer @zechengzh

Hayden's profile picture
Hayden6 months ago

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

Tochi's profile picture
Tochi6 months ago

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

Tanishq (tk)'s profile picture
Tanishq (tk)6 months ago

cool sdk but how did u generate this launch video

Hayden's profile picture
Hayden6 months ago

That was @Remotion and Codex 🫡

Tanishq (tk)'s profile picture
Tanishq (tk)6 months ago

@Remotion wild

Soham Datta's profile picture
Soham Datta6 months ago

love you for this! ❤️

Related Videos