Theo's Typesafe Cult

TTC

Theo's Typesafe Cult

Join the community to ask questions about Theo's Typesafe Cult and get answers from other members.

Join

Drive tutorial fails to deploy

I followed the tutorial with no changes from my side up until this timecode https://youtu.be/c-hKSbzooAg?si=0wqVRwnBIRdLzu5J&t=407 My deployment of this exact same thing fails with this deploy log (pasted to attachments). Local dev server did work tho. Then I deleted my netlify site, my github repository, my local repository, and redid the tutorial step by step again. Still the same deployment issue. I honestly have no clue how to go about this and how to fix it. Im new to javascript and I haven't used netlify before. I would love to get some help with this, as this is not my first time trying to follow a tutorial and it breaks before I could do or understand anything....

T3Chat constantly failing...

I'm just not impressed by the ammount of these....
No description

Images w/ next & vercel

I watched this video a while back where Theo warns against putting images and videos in the /public directory when using vercel. It makes total sense. What I'm trying to understand, though, is what is happening when I do this: ```...

T3 Chat - 403

I'm unable to access https://t3.chat/. It responds with 403 error. Worked fine yesterday. Does anyone has a similar issue? Is this expected? ID from screenshot: arn1::4ls8n-1738638256954-d9ab5806a262...
No description

UploadThing & Laravel/php

Please don't hate on me for Laravel/php. I've started at a new company and inherited a Laravel/php (backend) with Vue (frontend) app. The old external devs stored all the users uploaded files on disk on a block storage volume mounted to the laravel docker image. Clearly not scalable and means we're kinda locked into the host (actually - there are so many issues with this the more I think about it)... I was wanting to use UploadThing and - yes I know JS/TS & php are not friends, but found this port on github and wondering if there was anything else people know about before I venture down a path of code that hasn't been touched in > 1 year. ...

Update to expo 52

I am updating my expo app to the new SDK. The new expo-image-picker is using a default quality of 1 causing the images to be significantly larger. Has anyone found a good way of handling this? I can go over my current attempts. I am trying to create an issue using the minimal-expo from uploadthing but this has a wormhole of other issues that start before I can even replicate this. Any help would be appreciated. Thanks.

Monitoring and scaling management on a multi-application stack

The startup I work with has a couple data crunching applications that fetch and crunch data for our customers who are serviced through our web app. One of these performs dedicated operations for customers, and the other is a shared data store that the first relies on. While rabbit mq would have worked we use kafka, and it plus some http polling handles communication between all three applications. I'm looking at adding monitoring and management of jobs through the entire stack (mainly the two backend applications), do you have any principles, tools or articles you'd recommend for this kind of thing? At a high level I know what we need at the moment, which would be: start and end time of jobs Ability to quarantine or blacklist certain data points...

Theo recent auth video on JWT

Hi, the timestamp is 5:03 on theo recent video on different auth options. Im confused, currently my understanding is refresh tokens only ever get invalidated if the user sign outs or it expires. This is to force the user to sign in if refresh tokens only ever expires for security purposes But in theo video, he actually creates a refresh token whenever the acess token needs to be created. This results in the user to always be signed in unless they havent touched the app longer than refresh token expiration ...

Api keys

Hello is it possible i get a api key to use any ai model with vscode?

Regarding 2025 status of t3

Hey guys I just need help of someone who has been using t3 for some time to get clarified about how t3 is in current tech market for building freelance projects or saas applications

Is there a list of YT sponsors for future ref?

I see lots of cool stuff I'd like to look at, at some point in the future. Would be great if there was a link list.

Big build time for ollama docker image

I tried to build the docker image because i tried to add basic auth to ollama api. I made some modifications, i tried to run docker build . The thing is that it seams to get stuck on building cuda objects. Does anyone encounter this...
No description

tanstack start 404 error

I followed the guide to setup uploadthing for tanstack start, but I get a 404 error afterwards. I use trpc at /api/trpc and a demo endpoint at /api/hello and they both work fine. only uploadthing returns a 404

Target SSR environment in Next webpack plugin

Heyhey, does anyone know how to specifically target the SSR environment when writing a next plugin? There is an isServer but this includes both RSC/SSR bundle.
Solution:
Actually this seems to be possible by using issuerLayer!

Any examples of UploadThing with just JavaScript + JSDoc? & Help with uploadthing/client

I created my app with just JavaScript + JSDoc, setting up TypeScript is too much of a hassle for me and I don't got that time to resolve all the errors that might be caused by migrating all the code. But UploadThing doesn't seem to have an example for just JavaScript, can anyone provide me with uploadthing/client examples for just JavaScript? While trying to use uploadthing/client but I have no idea what to put as the files: [], and when I click File[] on the documentation doesn't really lead me to anything.......

File Name

I want in the application to show the specific name of the uploaded file, not the key.
No description

Which model could extract PDF/OCR capable?

Hii, just upgraded to Pro plan after seeing various model offered. But I could not find a model that could extract a pdf and it only allows 'custom files' instead. Any solutions?...

why theo uses react router on his nextjs projects ?

so what's the point of using react router in nextjs instead of app router ? and is that change how nextjs render the site ?
Solution:
to get the best of both worlds? I can't comment on how someone else thinks, but seeing the code of t3.chat in the latest video, i see that he used nextjs possibly to make keep everything fast in the UI side and render components SSR way but wanted to use client side routing to keep it simple for having param based routing? in next js if you are going to use hooks, then that page or component will need to be declared with 'use client' at the top of the file. In t3 chat's case, i see that the chat pages are mostly using hooks, so again keeping them in nextjs app routing or not, doesnt' make much diff. However, let me tell you, i have also made a ai chat web application in nextjs with clerk auth (theo mentioned that he wanted to but didn't take the time to for t3 chat). The problems i faced when using 'use client' and then again having to scope out the components, etc, etc, better i should have just used react routing instead from the beginning as well. But glad i stuck with nextjs, cause there's really not a lot of pages with an AI chat application, and it needs to be fast too....

In nextj15, router.refresh after router.back doesnt update the server component data

Server Component -> '/projects' Child Client Component -> '/projects/edit' '/projects' route should ideally be updated with latest data after succesful edit api request and closing of modal ...