Hmza
Hmza6mo ago

uploadthing

heck yeah. my crm is using uploadthing and i was spending some time last night to port it all to convex storage. hopefully i wouldn't have todo that anymore.
5 Replies
linhle123
linhle1236mo ago
I checked out uploadthing website and it's not clear to me how it's different from Convex file storage. Do you mind giving some pointers on this?
Hmza
HmzaOP6mo ago
The difference is in the structure really. i didn't understand the question fully. uploadthing has its own sdk that you can use. it provides file routers and is easy to set limits, types and a pre made component to upload multipart files you can use in your app. if your app backend is in convex, its better to use convex storage because more files stay more closer to your data. and you can use something like https://uploadstuff.dev/getting-started/server-setup to upload files to convex storage from frontend. as of now the adapter jamie shared that is being worked on would make it easier to use convex db data with uploadthing for user validation (i assume).
linhle123
linhle1236mo ago
thanks for sharing. I meant to ask for the pros and cons of using uploadthing. I watched a video on it and the developer experience seems nice enough, but Convex is also pretty easy and nice. as of now I'm not seeing a use case that would make uploadthing more suitable for me yet.
jamwt
jamwt6mo ago
I believe uploadthing's bandwidth is cheaper and I think uploadthing is going to add some features around images
linhle123
linhle1236mo ago
I see. Thanks!

Did you find this page helpful?