Simplifying Large File Uploads for AI Transcriptions


Hey friend,

I have been heads down creating a free AI SaaS tutorial which is going to be massive on my channel. This will teach you how to ship a AI SaaS. I can't wait to share more.

Based on popular demand, I'm running the Next.js Workshop ↗️ for the final time. I won't be running this workshop again.

It is a Live 1-day Next.js Workshop that teaches you the best practices to design, build and deploy full-stack production-ready apps.

When: September 3rd, 9am to 3pm EST
📍 Where: Zoom

🎁 For a limited time only (Until September 1st), you get $100 off the workshop price (use code LASTNEXT).

Bonus: Plus you get access to me so ask away whatever questions you like and as a bonus, you get free access to my upcoming Next.js Course.

You can see it for yourself 🔥 (and there is more here ↗️)

🍿 Our Weekly Snack

AI Transcriptions for big Video Uploads

Let’s say you want to turn a video file into an AI-transcribed blog post (and yes, I’ve got a full video breakdown coming soon on my Youtube channel ↗️).

You can use OpenAI, you'll need to tap into their Whisper API for transcriptions.

Sounds easy enough, right? 😅 Just set up a file uploader with something like <input> and then send that file over to the right spot.

For example,

Well, not that simple ❌.

This approach works fine for small files, but when you’re dealing with larger ones, you hit a snag— some platforms only allow uploads up to 4.5MB (hint: Vercel).

So, what’s the workaround? 👇

You need to upload the file to a cloud storage service without processing it first. Once you have the cloud URL, you can then share it in the fileUrl section in the transcriptions method.

This is where UploadThing ↗️ comes to the rescue 💖.

UploadThing securely handles file hosting and makes adding file uploads a breeze.

Why choose UploadThing? ☁️

A cloud platform like Vercel ↗️ limits request bodies to 4.5MB, which makes uploading large files a pain.

That’s where UploadThing shines.

Plus, the documentation is top-notchit’s built by Theo ↗️, so you know it’s solid. Honestly, it feels like the docs were written to perfectly match how your brain works.

You have full ownership with UploadThing still so remember, you'd still need to create a api route ↗️ to manage the file upload.

🤫 Latest Frontend News

Next.js Docs have been updated with so many different examples, here you go ↗️.

Next.js Conf is here so grab your tickets ↗️ as attending virtually is completely free.

Exciting ShadCN UI library updates are here, the Open in V0 button ↗️ takes your content to V0 AI for prompting so you can generate new UI using it.

State of CSS Survey 2024 ↗️ has opened up so don't forget to share your thoughts.

A tiny library that makes date ranges short and sweet, check it out ↗️

OpenNext ↗️ takes the Next.js build output and converts it into packages that can be deployed across a variety of environments.

In a world full of boilerplates, here is another but this time with React + Vite ↗️ and it's free.

💖 Weekly Youtube Videos

Check it out and subscribe to my channel ↗️ for more Frontend, Leadership and Career Development content.

Is Facebook StyleX a Tailwind killer? 🤔

video preview

A New Way to Render Pages in Next.js | NeonDB, Server Actions

video preview

What do you think of today's Newsletter? Simply click on one of the links below.

🔥 😐 👎

Ankita Kulkarni

Join 6000+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!

Read more from Ankita Kulkarni
AI coding assistant for large codebases

Hey Reader, Having an AI Code Editor is mandatory in today's world. Last weekend, I was talking to a friend who's a Staff DevOps Lead at a Tech firm. He hadn't tried any of the AI Code Editors yet and said he was hesitant—mostly because he thought editors wouldn't know the Context of his codebase as he does and also they can't keep up with his brain 🧠, he joked. So, very confidently, I showed him Cursor AI. And to my surprise, Cursor really sucked at remembering context. Plus, it took Cursor...

shipped my first SaaS

Hey Reader, A couple years ago, I made a bold move. I left my corporate 9-to-5 to become a Tech Educator. Starting from scratch was challenging, I had limited social proof and only had testimonials from my past colleagues. Existing social proof tools were charging $75/month ($900/year!) and were overly complex plus they stopped improving the product. That’s when I decided to build my own solution and Ship my First SaaS called as ProofyBubble. 🩵 ProofyBubble shows real-time visitor and...

Hey Reader, I have some exciting news 🥳. I have been working hard on launching the Modern Full Stack Next.js Course ↗️. It's a course that teaches you to build and deploy modern full stack Next.js Production-ready apps. It is coming along well and I am taking the extra time to perfect it. It’s set to launch in April, and I can’t wait for y’all to check it out! I plan to share extra bonuses 🎁 and nuggets for folks on the waitlist so click this magic link to join the waitlist ↗️. Weekly Snack:...