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

t3 stack with app router

Does t3 stack with app router still makes sense in 2025? While we have server actions

How do I get started with Linux?

Hi, I'm a freshman CS major and I currently have a windows 11 laptop, and I feel like exploring linux

Presigned URL not respecting expiration

I'm experiencing a few odd behaviors. 1. I've updated my default expiration to 1 hour and disabled overriding. Yet, my expiration time is still 5 minutes. 2. I'm generating valid presigned URLs for my files, but when I search for the file in the UploadThing dashboard, it does not appear. Here is a video showing the two behaviors I'm getting: https://cln.sh/gnCRqcVT...

T3 chat responsible vulnerability disclosure

Hi, I believe I have discovered a vulnerability that affects both t3.chat and beta.t3.chat. I am willing to share full details privately via direct message or email. The vulnerability makes it possible to exfiltrate a user’s entire chat history with the LLM. The only contact email I was able to find was: legal@t3.chat....

team accounts

is there a way i can sign up my entire team, individual billing is a nightmare to setup (~ 8 users)

Using NeverThrow with "Use Server"

How does one return a funciton with the type of Result Async without the linter complaining that a "use server" file can "only export async functions. Add "async" to the function declaration or return a Promise" I managed to do a hacky workaround by undoing NeverThrow's Result Async type, but this disbars you from using any of the other Result Async methods since it's seen as a normal promise. I feels like I'm missing some type extension or should just modify the actual lint rules....

onClientUploadComplete is never called

I am trying to integrate UploadThing into my app. This is also my first time realy using it, but im having a bit of a problem. Im quit confussed on how everything works, and i stuck with this problem. In my Client the onClientUploadComplete never gets called, even when i have a callback URL that sends a 200 status....

Setting Up Docker on Fedora System

Hey Everyone, Question is about setting up Docker in Fedora. I'm already used to using it, and want to in large part transition my workflows over to Linux. I was reading the documentation for installation on Dockers website, and it claims that I need to install the gnome-terminal, which is odd to me. I'm assuming that this is default terminal in GNOME, and was curious as to why I needed another terminal to access Docker. If I say didn't want to install it, could I get away with not breaking some dependency within Docker, or is it just to access and manipulate containers via the terminal. I tried googling it around, and couldn't find anything, even asking AI which then returned I wouldn't need GNOME Terminal, but since it provided no source, I'm not inclined to fully believe that. Thanks again y'all, appreciate the help....

Trying to understand what is the best AI model for what task

Hey, recently subscribed for t3 pro and i want to figure out whats the current best model for general questions and whats the best one for programming related questions` thanks for anyways willing to provide a little knowledge to me...

Typescript in VSCode

Hey folks I work on a T3 chat app in VSCode and I noticed VSCode seems to have gotten rid of the typescript extension so I think it is just out of the box supported but I do not see typescript errors showing up a lot of the time and when I run pnpm run build I get a bunch of basic type errors that should have been flagged in my editor. Anyone know how to configure Typescript in VSCode to be better? This is happening for very basic type logic that should be flagged...

Are Low code Tools Career Suicide?

Hi, where I am there are a lot of jobs which need developers to work with low code tools. In your experience, how much does the use of these tools inhibit subsequent employment?

Next 15 Data Fetching: Best Practices for a Large App?

Hey everyone, doing a quick sanity check on our data fetching strategy for a large Next.js 15 app in production. Current Stack: React Query + Server Actions We're running into a few challenges and would love this community's opinion on the best path forward. Our Pain Points: - Error Handling: Errors thrown from our Server Actions are generic ("An error occurred in the Server Components render..."). How are you cleanly surfacing specific errors on the client?...

I’ve been a Luddite. What’s your favorite part of Next.js?

I stared with basic web dev eight years ago and quickly found React. Four years ago I went down a YouTube rabbit hole about ‘performance’ and found myself in the ‘web developers suck’ camp for the next three years. A year ago I decided to ‘do web development right’ by using Rust for everything and React for nothing because JavaScript is bad. Ask me how many things I’ve built that people use? The point is I watched part of Theo’s stream today and something clicked. Maybe my prefrontal cortex has finally come online now that I’m pushing thirty years old but I just don’t have the time or energy to reinvent every damn wheel. There are too many things I want to build. So I’m binge-reading Next.js docs and want to know what all of your favorite parts of Next.js (and vercel) are? And thanks Theo for calling me out indirectly on my bullshit....

Uploadthing returning 502 error

I have been using uploadthing for a while on my website. Astro hosted on Netlify. It's all been working well! In the last couple of days, I am suddenly getting 502 errors. Here is a link to my form:...

T3 chat cloneathon suggestions

I'm trying to clone t3 chat, just to understand the level of optimisation and stuff Theo did to make it feel faster than other LLM interfaces... Here are a few things I noticed or grasped... 1. Local first approach -> to make every navigation quicker... 2. Stream sync -> to make stream resumable on reloads and etc .... 3. Storing stuff in IndexedDB for faster execution and syncing it with the actual database... I want to know, am I on the right path ?? I have made an initial MVP, without any optimisations yet... If anyone can give more insights on the local first approach and indexDB stuff, it would be helpful.... Why do these things matter ?? And how can I sync, LLM response, indexDB and actual remote database to avoid inconsistency ... ...

Purchase a years subscription to T3 Chat

I have a work stipend and would like to purchase a year rather than get billed monthly. Is there a way to do this?

"we dropped the price of o3 by 80%!!"

does that potentially mean o3 on t3 chat without your own api key?
No description

createContext in Next server

Does Next really disallow all access to contexts on the server? I've got a custom React render (specifically only being used in the backend, contexts are required in react-reconciler, but Next seems to remove them whenever I run the route (TypeError: (0 , __TURBOPACK__imported__module__...__.createContext) is not a function)...

Upload Rate Limit Free Account UploadThing ?

Do anyone know the rate limit on upload files to uploadthing on a free account? I tried to upload several files and some got rejected Will paying for a subscription would change this? Tried looking into the docs, and looked at the post here, and also google, but found no info on the upload limits...

T3 doesn't support PDFs?

I wanted to add some PDF to my chat but it says it doesn't support pdf. Is supporting PDF planned in near future?