Deploying Scripts with Supabase | Full Website Build

Published · Watch on YouTube

Okay, we're live. Okay, so last time I uh a friend of mine said that it was too slow at the stream. So today uh I decided to do the pre uh the planning ahead of time. So we have this over here. And now today we're here and stream two. What I decided to do is we're going to take the scripts that we had last time.

I'm gonna deploy them on a front end third party. I'm going to use lovable just because the integrations are really fast. Um or they make the job really fast. And it's also integrated with Superbase last I checked. Uh so you can have a nice database to store all the scripts. So I'm going to go with that as well.

That's the option I chose. And uh I'm just going to manually push them through a base API. It should be deployed on the front end. This one, this stream shouldn't take that much time unless we try to do a lot of it or a lot more. Oh yeah, and I as part of the planning, I wasn't sure if Lovable was actually able to integrate with the repo that we put up last time.

as I was asking it here, could you start doing that website? Uh, and it sounds like it could because I read it. It's like, oh yeah, this is what this repo is doing. What do you want to do? And so that's where I'm at. I should probably just monitor the stream as well actually. Where do we go? YouTube Studio.

There's a chat message. What does it say? I'll find it. It just tells you there's a chat message. Oh, I guess I'm in the analytics page. I think that's why. Let's see if I can go to Yeah, there you go. Live control room. I'm still new to this whole thing. What was the message? I wonder if it's just Yeah, I wonder if it's a bug.

Yeah, it kind of looks like a bug because where right now? Okay, we're here. Stream health is good. All right. So, somebody's watching. I'm just going to be chill for a bit. I'll actually try to invite my friend. I don't know if he's doing anything. Uh, but you know, in any case, I wanted to be able to stream this because I want to capture this whole process of getting these scripts deployed.

Check whether my audio is good. Okay. Yeah, looks like it's working. I need to sign in next time. This time I'll just u monitor this over here every once in a while. Okay. So, yeah, we had the scripts generated last time and let's see what the last one looked like. Yeah, my experience that emergency department, etc.

You got like a JSON here. I wonder if it has new lines. That's what I want to know if it's formatted. Okay, so it looks like it's it does have that. So that's really interesting. So it's already in a plain text that we want. Okay, cool. So yeah, I just told it to store especially in super base because that's probably I want to minimize vertical integration just so that I'm not locked down to one vendor.

Not that like lovable is bad or anything. It's just that I know superb base and it's pretty good. Okay. Um, obviously I wouldn't make a decision like that um like willy-nilly if it was like a for real thing that I was shipping that was mission critical. But since we're just five coding here, I'm just going to do whatever is fastest.

Who is this for? I guess that will determine the aesthetics. We'll say it's for yeah patients or viewers. Uh clean and medical white blue. So it's it's asking me about it's asking me about the aesthetic which is you know is good that it's asking me step by step white and blue professional healthcare.

I don't know how that's going to look like. It already asked me about a blog. modern and bold got dark mode. No, like I don't expect um I don't expect people who are used to dark mode to use this though that might be presumptuous. I probably want to do more research if I was going to make this a serious decision, but I feel like today we want to go something with lighter warmer portable friendly colors inviting information of viewers.

That sounds like about the fight that we want to go to. Uh we don't I don't know professional versus warm. I'll go with professional because uh that's what like the viewers of that channel kind of seem to like and we we don't want to minimize or test too many things out of the blue. Um if we don't if we find that professional isn't working as well as we expect then we'd want to change it up.

Okay. Yeah, these are all my answers. And so the reason I use Lovable is because of all the integrations. So obviously they have a really good AI set of AI agents that are good at deploying things to front end and making them look nice. Um I guess that what makes them good is that they're specialized in those regions and they're integrated.

For general coding development, I like to use a more general model. And so I use anti-gravity. Anti-gravity is just a development environment that makes this flow really nice. Okay, so it's got a plan here. Obviously, I want to review it. Okay, so it's a overview here. pages and layout and design. Okay.

The back end. We got features. Sure. Sure. So, we'll go with uh what do we have? We have home pages and layout. I kind of just Yeah, I'm kind of fine with just one page. It looks like it's going to do a single page per which is you know we might not use that but it's nice that it's there shared layout.

Oh yeah they should share like a header etc. Yeah that is like good practice just not really a page I guess it says layout then design. Okay. Clean white background. Medical blue. It chose the actual hue color. Typography clear sun surf. Yeah, that would look probably good. White with solid shadows around corners.

Yeah, that should look professional. Professional healthcare trustworthy. Easy to read. Yeah, we might tweak you around a little bit, but let's just see what that looks like. And then the back end, uh, it's going to have a scripts table in the database. Okay, that's exactly what I'd expect. Plain text.

Uh, okay. What's the in the content field? You insert them after processing your bot. Um yeah, hopefully we can like do it directly actually. Yeah, that'd be a nice nice way to do it. Just manually insert it from the from the script the Python script. Topic category that could be the title or we can just leave that empty.

Maybe it's hopefully it's optional. word count. I don't think I don't think we want to have like an addition. This this could like be a derived field from the content, right? If we have a word count, a separate field, then we have to keep it consistent with the content. So, I don't know if I'm curious to see how it does that.

Public read access, no off needed for viewers for these scripts. I think that's fine for now. These scripts aren't really like important. We might get like an unexpected reload from any any malicious users, but uh that's unlikely or uh hopefully lockdown. We'll see. Okay. features. All right, we'll browse all search filtering.

Okay, it's nice that it has search. I wonder if it's going to directly search superbase API or if it's going to fetch everything and then search it within the front end. We'll have to see. Yeah, that is like the main thing that we want to be able to read individual scripts, responsive design for mobile viewers.

That's kind of nice. You know, I didn't ask for that, but like it's it's good to build that from the start. And fast loading with React query caching. Yeah. Okay, that sounds good. I just Yeah, I think this is a good start. I don't want to throw it off right now. It sounds like it's done this before, which I don't, you know, probably not.

It's just like an AI model or a set of AI model. Okay, what do we have here? Oh, this is just like formatting. Yeah, we could format this. Okay, we'll uh it'll approve that and I guess it'll start. Okay, so we got this here and okay, last is over here. Okay, cool. How far behind am I? Just refresh. Okay, we're all caught up.

I'm getting the option whether I want to use lovable cloud. I think this is trying to push this for a while. Oh yeah, here he says it can't be undone once enabled. So I guess it's a critical decision database storage off add an LLM free to start pay as you scale top up any time where your top we'll host your in this region.

Oh, okay. Later. Uh, what does that do? What's my other option? Can I still use super basease? Is that is this part of super base? Oh, okay. Oh, there's super base. Um, and I guess you don't have to set up super base. I'm gonna say what is the sorry I do have to search this superb base this loable cloud I feel like lovable cloud doesn't have all the features yet rapid prototyping robust open source yeah blocks data into the whereas loable direct access yeah I probably want to use super basease this sucks by the levelable, but it's kind of screwing people who use level like that.

Uh, no, never allow. And then the allow button is still there. Uh, no. Uh, use super base. I wonder if it if enabled it. Okay. Uh it looks like it's really trying to push level cloud. I might have to actually get off level then. This sucks. I guess this is like a small a small thing we're deploying. Uh, okay.

I feel like it's going to drain. Are they fighting with Super Base right now? I kind of wonder. Uh, no. Come on, man. Okay. What are they saying? Analytics cloud. What's that do? Okay, we'll do it like this. Add it to the base project. There we go. We can kind of still do it. What can we do? Uh, yeah, we'll do like this.

Oh, sign up. There we go. Okay. Uh oh. Now we'll have to create a different password. Okay. I'm just gonna hide my screen for a little bit and then I'll do that. Okay, now you can see just me. Cool. Hopefully you'll remember this. Okay. We're back. Now I just have to get this from the email. Sure. We'll say it's educational.

Yeah, we'll go with the free plan for now. Free plan. Need to stay hydrated. Okay. Authorize. Ah, nights are lovable. That was kind of hidden in there, which it sucks that they have been doing that. That's actually like that was the last time I tried to use Lovable or I was using Lovable is when they introduced Cloud and I didn't like the direction and so I just got off it.

Okay. So, we got that. Uh, no, we have a pro, I guess. Okay. Within the organization, we don't have a project. Uh, we'll say it's the scripts. Yeah, whatever. Okay. We're going to need a database password. So, I'm gonna turn off the sh screen share again. You can still hear me, right? Yeah. Okay. Okay.

Where should I put that? It's going to take a while. Sure. Okay. America's data API. All right. I guess we could start sharing. Okay, data API level security and all new tables and public sure doesn't really matter, but better be secure by default and then adjust things as we go along. long. Okay, so we've got a database, got a project.

Let's see what Lovable is saying right now. We have to refresh. Uh, continue. I actually have to refresh. I guess it's still setting it up. It's probably deploying the uh database. It's in North Virginia, which is pretty close by to Ohio. I always feel I'm glad to be in Ohio when I see that. Okay, I am losing track of these windows.

I feel like I closed the uh Oh, I guess it's because I've got this OBS. I can just minimize that. There we go. We had somebody here for a second, but I don't know if I was talking. Ah, whatever. They were seen around for a minute. I probably was talking, honestly. Oh, no. I feel like that's what I had on me.

Oh, it must have been so weirded out. [ __ ] Ah, no. Cursing. All right. Can I build that feature? Yeah. And then I refreshed and then we said, "Oh, where is it? Is it here?" Uh, yeah. The UI isn't as easy as it used to be, which is fine. They're growing and stuff. Yeah. More features. Eventually you get lost in the sauce.

Okay. Where we at? Yeah. Maybe it was in the clouds. Gosh, now I can't remember where I found. Oh, chat, let me know. It's got a late. I should stream more in the afternoon. I think I probably stream tomorrow afternoon. I'm usually sharper at 100 p. m. compared to like 9 cuz I woke up at like 6:00 a.

m. today. Uh, which is not great, honestly. Uh, but it's just been happening. Okay. Analytics cloud card files. No, none of these guys. Connectors. If I click. Nope. Come on. Okay. Wait. Wait, wait. Oh, hey, that's interesting. It tells you how many credits it's used. What is that? The whole thing? Oh, it says I've lo I've used 4.

1. Is it like one credit I used for the last thing? Okay, that was a distraction. Where is it though? Code cloud files. Gosh, if I do files code, I don't think it's using the repo that I want. This is very frustrating. Oh, okay. It's in cloud. Gosh. Okay. There we go. Yay. Hey. Okay, manage. I can manage this from here.

That's pretty nice. They're not totally leaving super base behind. That makes sense. They're like supposed to be friendly, but okay, I think I get the UI now. So, this is the active tab. And then you have all these tabs. Got security. You got speed. What's speed? Oh, page speed. files. Okay. Now, okay.

So, it knows it's connected. Um, man, where is Okay, but like now I'm pissed off that the files. Okay, haven't generated any files yet. I swear I saw some like Yeah. What is this? Isn't this files? I guess I guess these are different files like maybe blobs. Hey, okay. Are you Is this connected to Are we connected to [ __ ] GitHub?

Where's GitHub? Oh no. This is so This has been such a shitty experience. Okay, I'm just going to hide this for a little bit. Where we go? Okay, hiding it. Just me. Okay, I hope you are enjoying. I am just doing some private stuff right now. Added GitHub organizations. Okay, connect. Yeah, this is okay.

So, this has been really shitty, a really shitty start um experience because of lovable. I was under the impression that it was actually following what I asked to do. Okay, so it's now put it under that repo. So, what's that going to do? Okay, I'm gonna I'm gonna take you here with me. So I got this alert that is now under this repo.

Okay, let's access that repo. It's public but I am logged in. Okay, so what did it do? Did it delete all the other files? Oh no. Okay, it created it under medical scripts hub. same very like similar name. Oh god. Okay. This is not what I wanted to do, man. No, this is not what I wanted to do. Oh, [ __ ] I'm sorry about the cursing.

There are kids watching my fans like the baby says. Okay, so here's what I can do. I can fight lovable all night. I as much as that could be fun. I'm probably just going to copy what we have from the other repo into this repo. It's just going to be the fastest way to do it. It's really dirty, but like [ __ ] it.

I don't want to waste too much time on this. Okay. So, we'll just Yeah, we'll copy that. Gravity. Yeah. The stream. Okay. Get see. Okay. What do we have in the stream here? We're going to get a subreo, I guess. Yeah, I might have to actually like clean this up. So, yeah. So, I'll just like get clone here.

I got that one. And we'll just we'll have to rearrange this later. Okay, let's go back to lovable. What has it done? Yes. Yes. Yes. Yes. Wait, am I sharing screen? I just want to make sure that I am not staring just at me again. Okay, great. So, we got this repo. Yeah, I guess this uh these templates are from very beginning.

They haven't Well, that's confusing. Well, the this is very recent that March 20, but the commit is two years ago. Are they changing the commit history? Maybe they are. Doesn't matter. All right, let's focus on the fun stuff instead of the technical details that I find fun. All right. So, what happened here?

I uh Okay. So, it's connected to Zuma base. Uh oh. I guess this is telling me what I could do now that it's in super base. Yeah, store unusual data, add advanced features. Yeah, I mean that's what part of the reason why I like Superbase. You have edge functions. Their serverless functions are deployed using Dino or Dino and it's really fast.

It's on the edge close to the user. That's what the on the edge means. Um, it's not really easy to write in like NodeJS, but it's fast. And I guess easy to write in doesn't really matter anymore because the agents are so fast at writing, but the problem is like it's not easy to read, install, etc. locally.

So, I really hope Super does something about that eventually. All right. So, what did we do here? What did it do here? It just says work in progress. I guess I could preview. Uh kind of. Is it because I just cloned the repo? Safe plan level. Like I didn't do this. Okay. Well, what are we at though? What's this do?

Okay. So, we asked it to use super base. We asked it to do the plan. Uh, why can't I preview this right now? It says you're asbleable to build it. Yep. It's got the front end here because it's empty. I guess it's just a template. Hey, did you not carry out the plan? Oh, okay. It paused the plan because of this.

Now, let's look at that plan. Okay. Okay, it looks like I'm replying to the plan, please. Okay. Okay, now I could do that. So, uh, please proceed with the plan now that I connected super base cloud. I did it. You didn't do it. All right. Uh [ __ ] please not please these voice modes. Just noticed that.

I like how their buttons are looking these days. Okay, I was really scared to do that. All right, I got to take a little washroom break. We'll see what the magic is like when I'm back. Just give me a sec. Okay, I'm back. Thank you for your patience. Okay. All right. So, this is where we're at with Lable.

I went to the washroom is supposed to carry out the blogs. It's creating a table with all the fields we talked about earlier. Yeah, anybody can read it. It's public access. You don't need to be able you don't need to log in. That's great. No one can create, edit or delete to the website. Admin only via Superbase dashboard.

We'll eventually add an API. I think actually it's going to be automatically added by Superbase and then we'll just add things to that Superbase API. Okay. So, I was generating some SQL for creating this table. Hey, remember that RLS is auto enabled. Oh, I guess it can. Yeah, I can see that in the U server base config public read access.

Gosh, this is probably not something you want to stream public read access, but I feel like well, somebody doesn't have my credit card. So, uh, okay. Create update at trigger. Create a replace function. Yes. So it's automatically going to fill out the updated at column using database logic. So it's going to add data right load.

I think it's fine for now. Uh that's something you want to carefully think about if you're building a real productionized app because your database is easily going to be your bottleneck. Create trigger update scripts update at Oh, that's a Yeah, it's still the same thing. Okay. All right. Modify the database.

How do you guys say database database? Let me know if you are watching this and you talk to me one day. I wonder if anybody's watching. Look down and check. Ah, got oh well I am building it for the record. My wife text me just respond not read this out loud. This is private humans. [ __ ] Why am I reading this [ __ ] out loud?

This is This is what happens when you stream, I guess. Okay, responded. I think they're going to be there's going to be a chat coming up on that actually. Oh, it's kind of nice. I think I like what I like about streaming at night is that like it's social. I think streaming is social. It's not really like what I'm doing here right now isn't like serious work.

It's just vibe coding. Uh, and so streaming is a good fit for it. Anyways, okay. So, Lovable created the script stable database. That's awesome. I'm assuming it didn't. Uh, I mean, it's been pretty good at that. It's been two years. I imagine it didn't get worse, but I could be wrong. Whole site is built.

We got the homepage, article page, layout. Okay. So, let's publish it. Let's go to that script vault magic lovable. Is it dev? What numbers they paid for the domain? Wonder who owns lovable. com. It's not published yet. It's errored out. We have to save it. Oh, okay. Uh, yay. Medic screams. Is that taken?

I wonder if it it's not taken. That's kind of weird. Met I'm just Wait, I'm going to go even crazier. See if this met scripts. Oh, wow. That's on. Yeah. Okay, we'll display it there today. But I can do it before later stream I can put on a custom domain. Okay. Uh the URL can open it. Yeah. Oh no. I don't want that.

It's got to be professional. Oh wow. You can easily update the title. I mean it's important information. Uh, that's great. That's great. Uh, Alex Wberly. Now we add Dr. Alex. Uh, Wimberly style scripts. Okay. generated or developed by asking most of the work. I am doing some decision making so give me some credit.

All right. Social image. Oh wow. Hell yeah. Generate that. Just generate a YouTube style icon. and just get my ass handed to me by uh by YouTube. Okay, what's going on here? Read and develop medical video scripts. What I want is that doing like how's that show? That's not really like That's okay. I I probably should Okay.

Uh I'll give it a I'll give it a more clever name or more descriptive name. Not clever. Uh okay. Uh free. No, people heard the word free now. Um these are Oh, okay. Now I see these are YouTube. Gosh, my brain is not really working. Lovable has really improved the UI on this. So, look at him that these are YouTube uh content scripts in the style of Dr.

Alex Liberty. I'm totally just like camping on his hashtag for this. I just want everybody to know that that's an AI generated doctor. It pisses me off people are like buying that [ __ ] Anyways, don't mind me. Okay, in the style of these are YouTube content scripts in the style. Oh, Dr. Alex enjoy them or something.

Okay. Well, I kind of generate an icon. I wonder if it can now generate this. So gonna come up with can we preview the social image? I guess that's like if if the site is shared on social. Oh no. Is that taking credits? It's just using images. Hopefully it's not taking too many credits. I want to generate an icon, but I doubt I'll get the right size.

Hey, this looks good. Okay. Yeah, we don't have time for that. Yeah. Yeah. If you know, you know, I guess with the levelable icon. All right. Uh, security can't recommended run for free. Yeah. I wonder if we can find out that I'm streaming. No, I can't. That's the script we're going to use now. But like I Yeah, I'm excited to use a custom domain.

I actually got this one just for it. Healthbotcripts. com. Cost n bucks. So gold mine. Actually, I don't know if it's a coal mine. It's too long. Maybe I was like pod pod is kind of short. Hell scripts. Hell scripts is a would be awesome. But hell scripts was taken. I don't know why, but I was like, "All right, what's that short word?

I'll add in the middle pod." Health pod scripts. Oh [ __ ] SEO hack. Oh, yeah. Pod for podcast. I probably should say. Um, hey, I wonder if it's my friend. All right. Where we at right now? So, it's built this. Did it publish it? Did it publish it? Okay, let's just try. Oh boy. All that information so hard on that.

What happened? Oh no. Maybe if I refresh. Surely it's somewhere there. Can I preview it on the thing? Gosh, I think I have to do it again. Okay, I remember he's not that bad. I can't remember what I said. Okay. YouTube content scripts and the Okay. Style of Dr. Alex Wibby. Yeah. All right. This time I feel like we have to watch it.

Yeah. And add scripts directly to the sequel. Okay. Go. Oh, because it's doing the security scan. Uh, keep editing, man. What's the security issue? I guess I can't view without publishing or like exiting out of this. Okay, publish now. I wonder how fast they deploy this this step. Ah, it's a bit slow.

It's now 1 second, so it's really slow. This is what the world has come to. Okay. Where you at right now? Hey, it says not going to view it. Yeah, you can search the scripts. This is kind of nice UI. I mean, doesn't, you know, it's not sleek or anything. Oh, you got the edit with lovable. All right, whatever.

Cool. Uh, here we go. App is live. Share. Yeah, maybe I'll put it on the on the description at the end. Cool. So, it's telling me that it did that. Oh, that actually used credits. Okay. Well, whatever. Doesn't matter. No. Okay. So, what we've got here, we've actually got the front end and we could man scripts.

Yeah. Oh, it's already open. Okay, let's just close this. Okay, so we got this all set up on Super Base. Okay, so what I want to do is I want to publish scripts to it. So I'm going to need the API keys. And so I'm going to hide my my screen for a little bit because that would not be secure if I just showed you that.

And so I am now just currently getting the API keys so I could use them. At least they're hidden by from the screen by default. Okay. Okay. You copy. I can copy it. I'll put it in my uh I'll put it in my bash RC just because it's easier. I I probably should have easiest. I probably should have done something more secure between this stream and the last stream, but whatever.

Okay, superbase API key. Yeah, this is just lab coding, so doesn't matter. All right, I just hope I don't expose the bash RC by by accident at some point. All right, high risk makes for good content, right? Right. I don't know. Okay. Where we at now? Okay. So, we've got we got the API key and uh Oh, yes.

You're still staring at me. Wait, actually, let me just make sure that I did everything else of a base. Um, database. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Um modify. Yeah. I'll say modify. Okay. Here I can share my screen now. Here we go. You happy? Okay. Modify. Wow. I got to copy something because I still have it in my clipboard.

Okay. All right. Copied. Copy here. Yes. There we go. Okay. So, modify my What is this? What was this script? Does it have access to it? Oh, no. I don't think it has. Boo. Okay. So, I have to do it in anti-gravity. That's fine. I wasn't planning to eat up all those lovable credits. Anyways, going to get 100 promotes.

You better rashing them. Okay, this was the script, right, that we were using last time. Generate Dr. Alex scripts. Yeah, we're going through main. We just basically had to put it in the title. Yeah. Yeah. Okay. So, put in a title. We get and then how we're receiving it. We had like transcript whatever the end to generate transcript generate the script.

Okay, you got the script JSON and then we dump it and then it looked like look at the most recent one. This Oh yeah, this is clean. This has the new lines. Come on. Come on. Yes. Okay, that's very nice. Okay. Now, I'm wondering if I should just like put in the same step or just put it in a different script.

I'll put it in a different script. Um, okay. We'll just use we'll just ask Gemini to do this for us. I feel like this could be a flash job. Okay, I did not want to edit this file, my guy. Oh boy. Okay, there we go. Should we plan? Yeah, sure. We'll plan. Actually, no. We'll make it We'll make it work fast.

Yeah, this is extreme content. Okay. So, here's what I got to do. Go. Should we do it on generation? Actually, I'll have it planned. This might be tough. So I have a superase API key in my uh environment access using OS in Python. All right. Use this to push transcript. We want to use this. We want no we want to push transcripts uh eg generated.

Yeah. So that's the name of it. We want to push those to superbase. Yeah. Subase uh table. Let's get the schema. Can I copy it table? I don't think I can copy it as JSON or something. Name, but that's not what I want. I want the schema. Jeez. This is fine. This is fine. We're all good. Okay. I want to know which ones are not nullable.

None of them. None of them are nullable. Uh, that's fine. Do I have to put in an ID myself? Kind of implies that I do. I can't remember if the if the database is creating it. Hey, where we go? Where we go? Come on. Was this one of the earliest things? I know didn't do it that early. I'm not wearing this.

I'm not listening to any music. I could have been wearing this for like a whole hour. Oh, [ __ ] It's so late. Jeez. All right. So, okay. We allowed to modify the database. Okay. So, this one did it. And can I see the migration? Oh, yeah. Okay. Yeah. SQL. Yeah. So, it generates random ID. Okay. Great.

That's what I want to know. Uh topic. We have a default. We have a default. So the only thing that would actually needs uh to be input is title and content. Um let me know if you need actually does uh superbase have the API here. How can I see the API? The should be here. Should be here. Edge functions real time.

Okay. Table editor, SQL editor, database off storage edge. I don't know. H That's too late. Too sleepy. No worries. We can do this. I will do it if it takes me all night. Okay. Integration. Data API. What's that one? This the one I want. Yeah. Okay. Use the data API. Let me know if you need any information.

his rest point autogenerated by super data API. uh create variables for the info that you need. That's way too vague, but I feel like you will understand it just because of the context. Okay. Make a Python script. push script. py. We'll push a script file name. file name. That will push the file to yeah to the table.

assume that the JSON has more than just a transcript field. It should also have a what was what was the the one that was necessary here? I think it was title. Yeah, title didn't have a default. Okay, it should al have a title field. We can do the topics later. Okay. Uh do not let's give it some negative constraints.

So it's that it's well bound. Do not modify generate Dr. Alex script or the old transcripts. We'll do that another step. Okay, that should be good. Okay. And now we'll create another one as currently uh generate Dr. Alex script the pi creates a um generated script JSON with just a transcript string field.

Add a that an S. Sorry, my screen is not that clean. Okay. Add a I guess you can't see that. Add a Oh, it's title title field and a topic field. Infer the topic from the title. Do another llm call. Yeah. This is pretty good. Now, let's see where we're at here. Okay, so it's making the plan. Unlike last time, it is, you know, it's all it's it's going forward.

They ask me for too much permissions. I didn't change anything. Don't look at me. Did you change anything? Okay. Nah, I'm just [ __ ] with you. My All right. While this is all happening, I am going to check up on my texts. Oh [ __ ] it's 9:50 now. Text life. Okay. Okay, it's done. It's done. Uh, okay.

I guess it was pretty confident in the plan. I think I might have given it the permission to just proceed without um Okay. Um, yeah. Agent size kind of thing. Okay. If a title does not exist back flawlessly. I I did not want that. Um what is going to is going to generate a title. I don't want that. Okay.

Oh yeah. Okay. Find all implementation tasks. I'm kind of curious on what the other options are. Okay, I guess that could have been good though to actually use the base pie package. I don't know if I'm gonna want to build on top of it later. I guess it's just a risk call. Yeah, whatever. We'll just go with what we have right now.

If we find that we're changing things, then we'll go back to the package. I don't want to fight the agent at the first step. All right. Both changes just because I don't have the time. Okay. Uh yes. Okay. I need to add this base URL to the environment. I hope you're ready to see me on my screen. Okay, load.

It's getting really hot here. 68 Fahrenheit. Oh boy, it's like 84 in here. May have to open the window. Just give me a sec. All right, I'm back. No. Okay, now I just went to the washroom if you're if you're still watching. Uh, today I learned that Holy [ __ ] Sorry, I'm way too close to my All right.

Today I learned that I'm gonna figure out how to do this. that the hotter it is, the more visible your veins are. And look at how visible these [ __ ] are. God damn. Hey, this is not just a coding channel. All right, whatever. That was for you, bud. This is really hot. Hope he saw that. Okay. Let's see if he's on.

Might be on. E could be you. my 55. I think it might be him. All right. So, here's what we're saying. Sorry. Just uh Okay. Yo, I got a new mic. You like this [ __ ] Way less noise. Oh, wait. No. You're getting some fan noise. I'm just looking at your text over here. All right. I'm just put this back on.

I don't know why it's so slippery. Actually, it's not a new mic. I don't know why I lied. It's an old mic, but I'm using it today. It's new from the stream. All right. I also got like a uh a noise desensitizer remover or whatever. Here, I can show you. Noise suppression. There we go. I'm way too tired.

Anyway, it's supposed to remove out this fan noise. And I've got the fan on because it's way too loud or way too hot. Okay, so we're just deploying this uh to the front end of the scripts that we generated last time. I am having anti-gravity edit um or create a script that will allow me to do that. Just manually did that.

It's by itself. It said it drafted three options, but here it says it implemented using option one. Okay, I think it did actually do it. I guess it's fine. We'll just go with that. All right. Yeah, sorry. Am I going to be I found that it's better if I'm not actually watching the chat. I'm just like talking crazy.

We're talking like crazy, but also talking crazy. Okay. Okay. Now, if I tell it to proceed, what's it going to do? Is it going to like reimplement option one? [ __ ] agent. Sorry, agent. If you're watching this in the future at 100,000x speeds, I apologize. Okay, cool. All right, generate Dr. Alistister.

Oh, I told him not to generate to edit modify it. Yeah, I told not to modify it. That's crazy. Should I have not told it not to modify it? I thought negative prompting is always a good idea, especially at the end. I guess I'm typoed script at the end here. Scrippy, come on, man. You know, you know better than that.

All right. I thought we had a relationship. Gemini. Okay. So, what did it do here? Inferred topic. Oh, okay. Okay. Not Gemini's fault. I actually have a different conversation uh now that I'm catching you up. Have a different conversation here. We're asked to do that. So, I'm just gonna I'm gonna ignore this proceed whatever.

I'm going to accept everything. Actually, no. Let me just see what it said here. Push it. Yeah, here. And where is it calling it? It's okay. It's fairing the topic before it even generates the script. That's That's probably okay. Yeah. And how's it put that in the output? Is that okay? Title. Yes. Nice.

Okay. Yep. I gotta stop. Uh, this is starting to annoy me. This global prompt that I have, like it's supposed to tell me what it did for the user, but I don't read it. So, it's probably just like wasting its like thinking tokens. Actually, no. The whole point of it is to think about the user experience.

All right. I'm just going to accept everything because everything looks good. Uh, okay. So, we'll we'll generate one script just to see what that looks like and then we'll push it with a new thing. And if I remember correctly, generate the script. You can just use Am I on I'm on the right? Oh right environment pym which python yeah okay so python uh generate alex scriptpy and the answer is or the title is I'll just generate whatever um he's got Okay.

Nine everyday foods that quietly destroy your kidneys. [ __ ] Eh, them kidneys getting destroyed. This this channel maker makes me sick. Sick. It's destroying my kidneys. Reading all about these kidney destroys. Destroying [ __ ] Okay. So, that should generate it. It'll put it in this transcript that we can then push later.

Yeah, it's got the title, got the topic. How long did I ask it to do last time? I think I asked it for 4,000. Uh, okay. I'm going to tell I'm going to make sure the field for uh with a field for transcript. Yeah, that's all we want here. I guess we have because we're having another call for the title.

Wait a minute. Should we be inferring the topic in the title? I feel like this is too much here. Yeah, let's not do it like that. Okay, here's what we're going to do. We're not just going to get the topic here. We're also going to get the topic from this script JSON. Okay, let's modify that with it. JSON transcript string title string.

Okay. And not not title, a topic. Yeah, that's what it was that I needed because you had the title, the input. Okay, now I don't have to have multiple infer calls. Inference calls. Okay, now that we got that, oh yeah, I wanted to make sure that the transcript was going to be reasonable. Uh, so, oh yeah, the transcript itself should be plain text.

Use new lines. Yeah. To make it aesthetically pleasing. Okay. Visually easy to read. Yeah, we're going to have a loose topic string for now, but eventually I want to use an enum. Okay, hopefully this doesn't mess up everything. I feel like this is gonna What's the What's the What's the prompt say? Oh, this is not a This is not a good sign.

Okay, I'm going to have it generate a 500 first just so that we're not taking too much time here. This stream is also going to be about troubleshooting this bro. Okay, hopefully not. Hopefully it works on the first time. Fingers crossed. or um you know, okay. It's so hot over here. The AC is not working.

So, and the weather's hot. It's really bad timing to stream, honestly. But it's going to get fixed on Monday. We should be good after that. You get to see me sweat, literally. Oh [ __ ] my head's way too low. You're not getting a good view. There you go. That's much better. Right. Even got the red in the back.

Oh, the audio still looks good. Look at that. Stopping up that noise. Ah, okay. What was I asking to get for now? Okay. Okay. Bits us. Bits us. Did it generate? I guess it just thought the topic was the u the title that I gave it. I'm just gonna This doesn't matter. Uh, okay. 5,000 to 7,000 script. Uh, no.

I'm going to actually make it six. Yeah, we'll go five. Yeah, six because I feel like it underestimates when I asked to do it. uh for the new video titled transcript and general medical topic. Yeah, I'm actually just gonna do that because I feel like that's gonna be more complicated than I have it right now and I'd rather do it right with the enums.

Okay, so we're generating scrs. This one's a bit short, but let's push it. See what that looks like. Push it. Okay, where we at, fam? I'm gonna guess it's going to say Python push script. I wonder if it did a help. Hey yo, indeed. I got to do a file name. Put the file name and get it from here. Okay.

So this is pushing it to super base. Oh, I need to set up the environment environment variable. Where is it getting this base URL? Okay, time to hide my screen so that I can get the URL without compromising. Okay, where is URL? Wonder can that does that have to be secure? I don't think it has to be secure.

Get where is Okay, let's open up the bash RC. Put it there just like last time. It's going to be good. Okay. Export. Nope. Super Base URL. There we go. I feel like it didn't copy. Or no, it looks like it didn't copy. I'm just feeling it. I'm seeing it. Believe me, you me. All right. I got this right.

I'm gonna delete this terminal. Okay. I think I can turn back on the screen. Okay, we we back. All right. So, this is supposed to push it to this front end that I have in um in Lovable Lovable. My voice is weakening. I really hope I can be done with this soon. It's like I woke up at 6 a. m. Okay. What is the thing?

Oh, okay. I got to start a new terminal. Hasn't uh done it. Could not find transcript. Oh, it's not transcript. It's got to be It's got to be content. Okay, I can do this transcript content. Try that again. Success. Okay, now I could look to see if it's there in super base. Oh my god, I have to hide those in pro post prod.

just show my bash RC with all my keys. Okay, I gotta I gotta close this here. Nah, [ __ ] it. Little on the edge. Okay, where is it? Hey, look. It's here. I I'm surprised. I guess I didn't even have to refresh. So, it's using a websocket probably. Okay, so this is a card It's defaulting to the general topic here.

It looks like it is because I thought we added a title. Where's it getting the topic from? It should be from that. Okay. So, it's not getting it in the push topic. I'm just going to do this. Wow. Yeah, thank you. I was just going to copy paste. I guess we don't need copy paste anymore. Thank you. Thank you.

Okay, let's open this because it's supposed to have a separate page. Looks like that's the UU ID. Um, okay. Nice. All right. So, this is the 400 war script and it's not I would like it to have six actually. No, it doesn't need six. This is probably more natural than having sections. Uh, okay. So now that we know that that works, um I'm gonna make longer script.

Should I delete this one? No, I'll just like I'll just refer to an older title. I don't want to go back and root around in Super Base again. Okay, got that title. generate Dr. Ox. Okay. Title H. Forgot to add the quotation marks. And then I got to figure out what's wrong with the uh the topic here. I can do a bunch of these, but as it stands right now, we've accomplished what we set out to do in this stream.

Man, you missed it. This stream was so much faster. Way less planning. I did it in advance, actually. So, okay, we got the formatting. We already did that. Use lovable. Set that up. That I did not do that on stream. FY database. Yeah, we're using superbase in the database and I'm manually pushing it with this.

So, this is pretty much done. The only thing is that this is the first draft of the UI and it's kind of nice, but I feel like I'm Yeah, I don't know actually. Maybe we don't need to do any lovable work. No, it's probably fine enough. Okay, so it's still generating this. I'm going to commit this now. And then yeah and then I'm going to fix the the topic.

Okay. It's going to be long. We'll just say that this is This is mostly just like telling it to format it and adding a title. I'll just I'll put it all together because we don't have time to like make nice get commits. Yeah. Okay. So, that generated that one and it saves you this file. So, this one is much longer.

So that'll be interesting to see. Okay, so pushing that. H, it's way faster. Let's do another one and then maybe we can even actually compare it to the scripts that are on the channel. Uh, okay. Copy. Okay, cool. Make longer scripts or no. Uh, what did I do again here? Okay. Add title to output. Yeah.

And then so here's what we're going to do. We're going to Do you want me to commit this? Yeah. I'm gonna Okay. So, this is just the the ones pushing the uh the information. So add script to push generated JSON. No wait scripts. Python script to generate to push YouTube scripts. A word script gets thrown around easily these days.

Oh man, I don't know if you missed the last 10 minutes because the mic fell. I'm gonna repeat that. No, I'm kidding. All right, so that it's generating another one here. And we pushed the one before it. Let's see how this long one looks. And it's this one. Had a call in. Weird call in the beginning. No problem.

Okay. Should I read any British accents? Uh, chat, tell me. I might get cancelled. the C if the chat doesn't ask me to to do it on a [ __ ] thing, then I'm not gonna do it because I don't want to get cancelled. I feel get cancelled speaking British. All right. So, in my experience, the way you move your body throughout the day matters far more than any hour you might spend in the gym.

Uh, now we'll talk about longevity. It's it's about the way you move your body, you know, not just like moving your body, but the way you do it. All right. And then we talk about longevity. Uh we often get distracted by copyrighted eyes expanded. But if you look at it's Yeah. Wow. It's such like copy copy u copyrightiting.

I wonder how the how this compares to actual scripts. Let me see if I can get that. can hold that uh circadian walk. I feel like this is unlikely to be the very similar like unlikely that the first thing that he actually talked about was going to be Circadian Walk, but [ __ ] it. Let's try it. Okay. Uh YouTube.

Oh, I might not be able to use YouTube on this uh new Gmail. I have to do it on my my thing. But uh wait. Okay, maybe I can get the transcript like this. Transcript transcript. Uh maybe I use transcript API. I've got that here. Uh, okay. Wait, let me just actually do it here. YouTube transcript from URL.

That sounds pretty good. I just need the one. What's it going to do? Copy it. No, that's cap. Hello, I'm Dr. Alex here to help you live longer by preventive things. So the A&E okay did they talk about the A&E in in our originated one? Uh, okay. Social movements. I This is a bit hard to read this format.

Uh, just hear me out. Well, you can't really argue with it. Blood vessels. Jama uh jamama. He probably didn't say jamama is jama. No, it's it's jama [ __ ] or jama. Anyways, all right. That is ridiculous to think about. That's measuring. Okay. Be honest. It's hard to like compare these like I am doing right now.

I feel like what we need to do is like basically come up with like a checklist of the things that came up here and thing a checklist of the things that came up in this script and just compare them. Uh, but it's going to take a bit of mental power. And now that I'm thinking about it, um, I think this generation was primed to talk a lot about social based on the sty reference style that we tal we we gave it.

Uh here let's look at the generation. Where is the reference? Reference style transcript style transcript. Load transcript path. That was the default. Okay. This one social. Yeah. Got social five here. And I think that's primed um the AI to talk about social stuff in its output. Let's see if this has a lot of social.

I wonder if you can search it. Okay. So text uh second does search work here. Okay. Social. Okay. It didn't say social here. So uh our generation is overindexing on this reference style. we need to be able to diversify it if we want to have more diverse scripts. And that's kind of obvious just based on that one script that's generated.

So, I think that's probably worth doing next stream. Right now, I'm really sleepy. So, I'm going to call this one. Thank you for watching if you watch this later or if you're watching this right now. So peace.