File storage in T3
Yes, I know about S3 & presigned POST URLs!
Hi, I have a question about file upload in T3 stack. What could you recommend for free (afaik S3 does not offer free tier over 12 months) to handle file upload?
The thing is, I will definitely not use more than 100MB. I need the file upload because I'll need to assign images to specific entities in my app from my admin panel and I'll probably be doing this once a day (that's why I'm not using static assets). I'll need maybe up to 50 images at once. Besides the pricing, S3 will be too much for that simple use case (just admin panel -> update few images a day).
What is the best (and free) serverless solution?
9 Replies
what do you mean besides the pricing
s3 will be like $0.10 a month or probably less
Yeah, I don't think I want to pay anything for like 50 images
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Thanks for the info!
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Storj looks really great! Thanks for the recommendation
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Thank you guys for the info!
I will probably use R2 then
I also worked with Supabase's storage, works fine so far. Supabase comes with a JS client which makes working with it easier, even though Supabase does not provide presigned URLs yet. As I don't want to allow uploading directly from the client, I had to write my own API handler for it (Next.js API endpoint with multipart/form-data, urghhh).
https://supabase.com/docs/guides/storage
Storage | Supabase
Use Supabase to store and serve files.