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

Anyone here good with tailwind and package bundling? I need some assistance 🙏

I have a bit of a complex issue, basically i have set up a workspace using npm workspaces. And im using this in a bit of a strange way. Basically i have broken up a monolith of a frontend up in to a workspace, where what would previously have been 2 apps is now 1 app with 2 application packages, 1 auth package and 1 design library. The issue is that this is bundled. So i have a routes defined in the packages, where i intended to use this for loading the component structure as if it was an app. T...

Help with T3 Stack. Next.js 15 + tRPC + Tanstack Query

Hi, I use the T3 stack with Next.js, tRPC, and Auth.js. I have an issue in my app where whenever my user's session expires, we get the UNAUTHORIZED error from our protectedprocedure, but I want to automatically redirect the user to our /login page after the session expires. How is this usually done efficiently?...

Can we set custom sys prompt in T3.chat and when creating new chat select prompt ? is that possible

I was trying to set Custom prompt but seems there is no option, provided. Can we get this feature if possible ? Feature flow: I can set or create System prompts in my profile, and for every new chat i can set a prompt, per chat or per question if possible ?...

I want to hear about people's bad experiences with AI models while coding

Just watched Theo's latest video about him being wrong about GPT-5 and I want to hear about people negative experiences using AI models. I want to know because I don't quite understand the outrage. My experience with GPT-5 has been quite good, I appreciate reading what the model is thinking about before it gives me an output and it seems feel a little more helpful compare to the standard cursor defaults. Thus far I've had quite an enjoyable experience with AI models and haven't been all too picky, just using what ever is the default in cursor. I'm mostly using it to make suggestions and sometimes explain syntax that I'm unfamiliar with. I've had it make some quirky suggestions sometimes but I've been able to mostly edit them away if I don't like it....

Linking account loop

I'm getting this weird error where my screen is stuck in a loop when logging into uploadthing. It goes from the "Linking account, this might take up to 10 seconds. Please wait..." screen, to "Team linked successfully" (screenshot), to https://uploadthing.com/dashboard/theamanm-personal-team, after which it goes back to https://uploadthing.com/link-team and says "Linking account, this might take up to 10 seconds" I've tried clearing my cookies and local storage, I'm not sure where to go from here....
No description

Am I the only one using Intellij?

I started working with it in corpo, mainly java/spring boot, JSP🤢 . Even when working on my own with TS, Angular, React, NextJS I couldn't switch. I tried so many times, but it doesn't click. ...

Effect Trace ID Inquiry

so in t3.chat, I presume effect is being used and some sort of external OTEL is used for fetching logs with a trace ID. I am attempting something similar in a NestJS app, just that I want to return a response to the user with the traceId so when the user get's the feedback, I can also use the traceId to find the detailed logs. here's a sample UserService. I would appreciate any help...
Solution:
solved with this implementation, thank you! ```ts import { Injectable } from '@nestjs/common'; import { Tracer } from '@effect/opentelemetry';...

Feedback/Question: disable max-w-3xl on chat

Is there a way to disable the max-w-3xl on the chat. It feels really odd that I have to scroll code examples and other stuff when there is plenty of room. My workaround is removing max-w-xl in the chrome devtools...
No description

Do T3 Chat extra premium messages carry over ?

I was wondering if when I purchase extra premium messages if the extra ones carry over to the next billing month or if any extra unused premium messages get reset aswell.

which platform should i use to store user profile images

I'm working on a chat app for my portfolio i wanted to store users profile images in mysql database as a blob i am using the platform tidb as mysql database host https://www.pingcap.com/tidb-serverless-pricing-details/ this is there free quota
customers can store 5 GiB of row-based data, 5 GiB of columnar data, and consume 50 million RUs for one month. In total, each Organization can get 25 GiB of row storage, 25 GiB of column storage, and 250M Request Units (RUs) for free per month. Customers can take advantage of this offer and optimize your operations without worrying about initial costs
...

Question Regarding Storing Videos

Hi everyone, Let’s say I have a webapp that takes a video input, converts it to audio and just sends that audio to an api to get a transcript. I was wondering whether I should be using S3 storage or a similar approach for such a use case. Thing is I don’t need the video file beyond getting the transcription, and there aren’t any regulatory things in which I do need to keep the video files. So it does feel like storing it in a S3 might be overkill, since we simply delete the video afterwards. I was wondering what the best/most efficient way to tackle this problem would be. I apologize if this is a stupid question, I’ve just started creating webapps and want to learn about general design patterns and architecture/approaches....

I cooked a new way of AI coding (Claude Code required)

Just shipped something special for all the Claude Code users out there! The AB Method transforms how we tackle complex software projects by breaking them into focused, incremental missions. https://github.com/ayoubben18/ab-method...

Can t3.chat work with zed?

I've seen cursor in action and it looks great, but I want an open source alternative, e.g. zed. Can t3.chat work like this, as an editor extension?

Nextjs firebase apphosting help

Hey anyone hosted netxjs app using Firebase apphosting ? I want to use it but I don’t know how to hide environment variables as it doesn’t have a place to put env files, as in vercel we have a place to put all the envs. Firebase said Nextjs app can use the regular .env ( ignored when pushed to github btw ) but i am pushing my code to github which then triggers the build in apphosting also if i use apphosting.yaml file i am still sendinv that file to github again for firebase apphosting to use it, which defeats the point of hiding the envs...
No description

[BUG] Inconsistent premium icon for Claude Sonnet 4 (Reasoning) on mobile

I couldn't really find a bug report channel. I'm on the latest version of Firefox for iOS, on desktop it displays correctly. Yes, I am aware that mobile isn't a huge priority atm....
No description

Choosing s3 compatible storage system

I need a s3 compatible storage system for a project, I have 3 options. S3, R2, Tigris I have worked with R2 in the past, it was shit. Have it improve over the last year? S3 is the safe option, but I'm too lazy to set it up....

How to Reuse a System Prompt Without Pasting It Every Time

Is there a way to set a system prompt once, so that I can start new chats with that prompt already applied, allowing me to repeat the same behavior without having to paste it in every time?

any of yall got some good project ideas for university?

my team wants to make a kid bracelet that tracks their location and detects when someone takes it off. other than it being logistically difficult, not a big fan of the idea especially cuz none of us are even really interested in hardware

Can we create projects in T3 Chat?

Hi all 👋 I'm new to T3 chat, I thought I'd join and give it a try as the UI to official ChatGPT web is a bit clunky. I am on T3 Chat Pro, but I cannot see a way to create projects. Does T3 not support projects? I don't want to provide a bunch of context every time I ask it something....

Need help with Google Adsense

I am using Google Adsense to monetize my website. I want the ads to blend into the UI seamlessly. As if they are a part of the UI itself. Now that is the case for most of the ads Google Adsense provides but for some, like this one, the background is gray. Or some other. I would like the background of the ad to be fully transparent, all the time, for it to look like truly a part of my actual UI. Is there a way I can do this? ...
No description