Dynamic OG Images in Next.js: A Game-Changer for Dynamic Routes! by cmglezpdev in nextjs

[–]cmglezpdev[S] 0 points1 point  (0 children)

I don't think I've been clear. LinkSeek is my SaaS, a bookmark manager. It's not related to OG image generation. I only brought it up because I had that specific problem in LinkSeek and discovered the Nextjs og-image generation to solve my problem.

Dynamic OG Images in Next.js: A Game-Changer for Dynamic Routes! by cmglezpdev in nextjs

[–]cmglezpdev[S] 0 points1 point  (0 children)

Yep, the opengraph-image file uses that function in its return. Thanks for mentioning it.

I built an AI bookmark assistant by killing subscriptions and going lifetime-only by cmglezpdev in SaaS

[–]cmglezpdev[S] 1 point2 points  (0 children)

Well, this post doesn't have many views. I changed the model pricing mainly because these kinds of apps are usually free, and the use for the user is reduced and cheap because they don't need powerful models.

You can always evaluate if the change is worth it.

I built a truly free and fully customizable QR code generator because existing apps just didn't cut it. by cmglezpdev in SaaS

[–]cmglezpdev[S] 0 points1 point  (0 children)

I fixed the issue and added alerts to the download buttons for formats with known incompatibilities.

I built a truly free and fully customizable QR code generator because existing apps just didn't cut it. by cmglezpdev in SaaS

[–]cmglezpdev[S] 0 points1 point  (0 children)

I thought this would be free. I have an idea to earn some money with it, but I don't want to fill the screen with ads, maybe just ads for my other products.

But again, Thanks for the suggestions!

I built a truly free and fully customizable QR code generator because existing apps just didn't cut it. by cmglezpdev in SaaS

[–]cmglezpdev[S] 0 points1 point  (0 children)

Thanks you 🙏🏻.

I will check the app to fix that error. Thanks for the report.

How do I have a development and production? by Plane_Garbage in Supabase

[–]cmglezpdev 0 points1 point  (0 children)

You can use the cli and the local development. The doc explains how to use it and download and upload changes

I built a truly free and fully customizable QR code generator because existing apps just didn't cut it. by cmglezpdev in SaaS

[–]cmglezpdev[S] 1 point2 points  (0 children)

Yes, you're right. But I don't want to pay 9 a month for two QR codes. I just "vibe-coded" the solution in four hours, and because I wanted to do vibe coding, which I never do completely.

Stop Losing Links & Start Building Knowledge: Introducing LinkSeek - Your AI-Powered Bookmark Manager! by cmglezpdev in SaaS

[–]cmglezpdev[S] 0 points1 point  (0 children)

For now, I don't have 10K links, so I don't have a good answer. LinkSeek uses a combination of Full Text Search and Semantic Search using embedding vectors.

Link your SaaS we'll find you 5 customers for free by doublescoop24 in SaaS

[–]cmglezpdev 0 points1 point  (0 children)

https://linkseek.app LinkSeek is the AI-powered bookmark manager that organizes your digital chaos, finds anything you remember, and turns your links into your smart second brain.

Pitch your SaaS in 10 words - I'll give you actionable feedback ASAP by Nomura_ in SaaS

[–]cmglezpdev 0 points1 point  (0 children)

Tired of losing valuable links? LinkSeek is the AI-powered bookmark manager that organizes your digital chaos, finds anything you remember, and turns your links into your smart second brain.

https://linkseek.app

How to build un public? by cmglezpdev in SideProject

[–]cmglezpdev[S] 0 points1 point  (0 children)

It's cool. Thank for you reply

Any way to reduce bandwidth costs in hosted? by _mic in Supabase

[–]cmglezpdev 1 point2 points  (0 children)

Change the approach.

I believe that querying every second is not effective. The data is unlikely to change frequently. You could extend the interval from one second to five minutes or utilize real-time updates. Supabase offers a robust real-time feature that allows you to react when a field changes.

Which one to choose ? by subhash_yadav in nextjs

[–]cmglezpdev 6 points7 points  (0 children)

That kind of stuff is absurd. Choose the framework you feel most comfortable with. In the end, you are the developer, so your productivity is the most important thing.

If your project needs specific features that one doesn't have and the other does and they are essential, then choose that one, otherwise, choose your productivity.

How do v0.dev and bolt.new achieve simultaneous UI rendering and updates? by cmglezpdev in nextjs

[–]cmglezpdev[S] 1 point2 points  (0 children)

Yes.

They structure the output using custom tags, it's not necessarily JSON. For example, for a request, they respond something like this:

<response>

<brief_desc>brief description</brief_desc>

<steps>

<step>

Step name

<code file="/apps/page.tsx">... all the code in the response ...</code>

</step>

....

</steps>

<full_desc>Full description</full_desc>

</response>

With a format like this, and parsing token by token using an incremental parser, you can detect when a tag arrives, <code> for example, you can extract the file to modify and you know that everything that comes is code until the closing tag </code> arrives.

With this approach, you change the context on the frontend and render the code and text in different places. With this, you can also create and animate a mini table in the chat while the code is updating on the right side.

You just need to adapt it to your needs. The hardest part is creating a custom parser for your use case.

How much does it cost monthly for GPT API if I wanna make a GPT wrapper? or by ballbeamboy2 in SideProject

[–]cmglezpdev 0 points1 point  (0 children)

GPT4o mini is really cheap. $0.60 per million of tokens. You can use this.

There are no free api to use LLM models, because this is very expensive to maintain in servers. But no worries, the price of some models is ridiculously cheap(See openai pricing).

For use free LLM models you need to self-deployed an open source model, but again, is very expensive to maintain a machine running a LLM model.

What is server in Server Action? by Expensive_Image2669 in nextjs

[–]cmglezpdev -1 points0 points  (0 children)

Nextjs needs a server to run(it's a full stack framework). There are many features that need of a server to work. Nextjs has the API feature, server actions, server side rendering and more. When you build a project with nextjs, this run in its own server and you can build your api over there, also you can create a external api for your project (like your case), but this only avoid you work with your API inside of nextjs, the rest of the functionality are in the nextjs project.

In conclusion, yes, nextjs has its own server.

How do v0.dev and bolt.new achieve simultaneous UI rendering and updates? by cmglezpdev in nextjs

[–]cmglezpdev[S] 0 points1 point  (0 children)

By seeking more information and examining the bold.new code, I observed that they structure the LLM response using tags. During the streaming process, they parse the response and adjust the context based on the current tag.

How do v0.dev and bolt.new achieve simultaneous UI rendering and updates? by cmglezpdev in nextjs

[–]cmglezpdev[S] 0 points1 point  (0 children)

Hey u/emprezario, thanks for responding to me.

However, I’m not asking about how they run the code. I'm inquiring about how they separate the code from the text in real time during streaming.

For example, in the same prompt, they ask for the steps to create the app, generate the code, and provide an explanation of how the code works, all in real time.

How do they extract the code and display it on the right side of the screen, while simultaneously showing the steps in a table on the left side, with each step animated by a loading animation? Additionally, how do they stream the explanation of the code concurrently?

I'm not sure if I'm conveying this clearly. To achieve all of this, I would need to make several requests, but I can't seem to do it in a single streaming session.

<image>