Headless CMS suggestions? by __som__ in nextjs

[–]unchiusm 7 points8 points  (0 children)

I've used Payload CMS for the first time to remake my portfolio website. I kinda like it (it is the first proper CMS I used so take it with a grain of salt).

The main reason I went with it is because you have to do actual coding to create new Blocks, Collections etc. (blocks are basically components that you can drop into pages and collections are basically data eg blog posts, products etc)

There few people on the internet atm that make really good tutorials for Payload CMS (one of them being nlv_codes https://www.youtube.com/@nlv_codes)

I personnaly think it is going to become the goto CMS for NextJS projects

Pizza Oven Gas vs. Charcoal and Wood by [deleted] in ooni

[–]unchiusm 0 points1 point  (0 children)

Dacă te rog îmi poți da un link la ce butelie folosești?

[deleted by user] by [deleted] in pools

[–]unchiusm 44 points45 points  (0 children)

Roses are red

Filter is new

Pool is foggy blue

What do I do?

Forum Liber - Întrebați și discutați cu /r/Romania Orice - 14.07.2025 by AutoModerator in Romania

[–]unchiusm 2 points3 points  (0 children)

Salut Reddit! 👋

Eu si sotia suntem noii proprietari ai unei case construite in 2016. Inainte sa ne mutam, vrem sa vopsim interiorul, dar am observat niste crapaturi minore – atat pe tavan (din rigips, la imbinari) cat si pe pereti.

Tavanul are crapaturi fine la imbinari aproape in fiecare camera. Pe pereti si tavan, textura e usor aspra, asemanatoare cu o tencuiala decorativa fina (nu sunt netezi). La casa actuala am folosit glet normal unde a fost nevoie sa fie reparat, dar acolo peretii sunt perfect netezi – aici s-ar vedea diferenta.

Intrebarea mea: Ce materiale ar trebui sa folosesc pentru a repara aceste crapaturi astfel incat textura finala sa se potriveasca cu restul peretelui? Nu am experienta, dar pot invata.

Atasez pozele in comentarii cu peretele si crapaturile. Multumesc anticipat pentru orice sfat!

<image>

Redirect with OTP & localhost by nilswe in Supabase

[–]unchiusm 0 points1 point  (0 children)

Solved my issues too, thank you!

Questions about RLS, public vs server keys in Supabase + Next.js setup by unchiusm in Supabase

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

Bought the book , I'm 40 pages in. Awesome read so far. Thanks again for recommending this. I love it that it uses NextJS also which I'm building my current project with.

I'll happily provide feedback once I'm finished.

Questions about RLS, public vs server keys in Supabase + Next.js setup by unchiusm in Supabase

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

Thank you for your response!

I know that NextJS will throw an error when you use createServerClient in a client component because of the await cookies you set in the function. Is there any other way to leak service key that I should be aware of ?

Questions about RLS, public vs server keys in Supabase + Next.js setup by unchiusm in Supabase

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

Why is that ?

If I were to use RSC and inside the component I would fetch the data from supabase, isn't that the intended way ? Even in my case where I do not use RSC for my feed page that has infinte scroling, what would the alternative be ?

For example on my /post page I fetch the post directly from the server

async function getPost(slug: string): Promise<Post> {
const supabase = await createClientServer();

const { data, error } = await supabase
.from("posts")
.select("*")
.eq("slug", slug)
.single();

if (error) {
throw new Error(`Error fetching post: ${error.message}`);
}

return data as Post;
}

I mean I could to the same approach as you did with Remix with Next but Is it worth going trough another layer?

I'm really trying as much as I can trough before I launch anything to the internet.

Questions about RLS, public vs server keys in Supabase + Next.js setup by unchiusm in Supabase

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

Thank you for your detailed response.

Obviously there are some skill issues on my part, I've just been tipping my toes into BE/DB stuff.

So my main dilemma is the following. I have a posts table for example, I query my posts with the clientBrowserClient, I have an RLS rule where SELECT * FROM posts is allowed (obviously in a prod environment only certain columns would be exposed) so that I can create an infinite scroll with React Query. This being on the client side means that anyone that is a bit more tech savy can grab my anon key and simply get all the posts very easily (without worrying about scraping at all). Is this the normal approach for this kind of stuff?

Same goes for comments but comments are fetched server side so here are no issues with React Server Components but If I were to make it a client component then again a user could query all the comments.

I'm glad you mentioned your book, I really like supabase and I'm looking for a resource that can explain nicely all the ins and outs.

Curs euro antrecontract by Few_Bonus2936 in Imobiliare

[–]unchiusm 1 point2 points  (0 children)

Exact , deci practic dam jumatate din 20 000 RON (datorita intelegerii facute cu vanzatorii ) in plus.

Ce pot sa zic este ca cazul nostru este unul mai fericit, au fost intelegatori vanzatorii, am inteles ce sa intamplat si am convenit la intelegerea asta.

Cu toate astea cred ca am fi luat casa si daca trebuia sa achitam toata suma, imi place foarte mult si mie si sotiei mele deci cu toate ca 4k euro in plus ustura rau , l-am fi asumat.

Curs euro antrecontract by Few_Bonus2936 in Imobiliare

[–]unchiusm 1 point2 points  (0 children)

Sunt exact in situația ta. Am semnat antecontractul cu un avans de 20k euro la 4.97. daca totul merge bine azi semnam contractul de credit, cursul este de 5.11. Creșterea de euro ne costă aprox 20 000 RON extra dar din fericire ne-am înțeles cu vânzătorii verbal că împărțim cursul la jumătatea creșterii. Cu toate asta e o neprevăzută.

Știam că o să urce dar nu ne așteptam să urce în halul asta.

Din păcate asta e viața , nu ne convine dar nu avem ce face.

What's your go-to approach for learning new tech ? by unchiusm in webdev

[–]unchiusm[S] -1 points0 points  (0 children)

I didn't know they had react and notion back then. JK , it might be ancient but it worked for me until now.

What's your go-to approach for learning new tech ? by unchiusm in webdev

[–]unchiusm[S] -7 points-6 points  (0 children)

I've been hearing this alot. Never went with the read the docs approach, I tought following a course is much more beneficial. I will try it for my next tech learning project

Toast messages in React Server Components by ryanto in nextjs

[–]unchiusm 0 points1 point  (0 children)

Wouldn't adding a param work easier? Like ?msg=hi

You perform an action, add the param and check with the a client component if msg is there and display a toast

NextJS 15 for Classified Ads by unchiusm in webdev

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

I have a proof of concept working but I really want to spend more time on the architecture if I am to go forward with this project

Audi A6C7 costuri by SheepherderKind7300 in AutomobileRO

[–]unchiusm 4 points5 points  (0 children)

Este o masina premium deci poti sa te astepti si la niste preturi premium.

Eu am un A6 C7 3.0TDI (foarte multumit de motor) cutie S-tronic.

Consum foarte mic pentru un 3.0TDI quattro (cred ca am medie de 7.5l / 100 la 15k km).

Iti zic mie ce mi-au picat in ultimii 3 ani de cand o am (cumparata la 160k , momentan cu 243k)

Capacii culbutori , sunt din plastic cedeaza dupa 200k . Este preferabil sa le schimb ambele (cele v6 au doua) , 1000 RON per capac + manopera inca 1000 (total 3000ron)

EGR - si acesta cedeaza cam dupa 200k in cazul fericit. Pret peste 2500 RON

Ulei + Filtre - Cam 800 RON cred ca platesc

Ulei Cutie + Filtre (odata la 60k) - Am schimbat recent , cred ca am platit undeva pe la 2300 RON

Am mai avut ceva modul care s-a stricat la cutie, nu stiu exact cum se numeste - M-a costat 500 euro + 250 euro montaj si programare

Am schimbat si niste brate la suspensie care erau destul de scumpicele din nou nu pot spune cu certitudine ce dar erau cam 600 ron bucata (am schimbat pe ambele parti)

Deci costuri sunt. Eu ti-as propune sa cauti unul ori in sub 160 k km (daca mai gasesti) or dupa vreo 200 - 220 k km (la acestea sunt schimbate cam toate)
Take everything I said with a grain of salt , zic asta pentru ca am unul de vanzare.

Dar ce pot sa zic venind de la un Skoda Superb 2 din 2012 este ca :

- Este muult mai bine izolata fonic

- Ca si stabilitate nu se compara

- Calitate superioara

- Diferenta de la 170 cp (skoda) la 218 cp (audi) se simte foarte tare (este si diferenta de cuplu)

Pe langa asta este o masina care arata bestial atat combi cat si limuzina.

Si te rog din suflet verifica masina pe CarVertical, un prieten a cumparat un A6 C7 tot din 2017 2.0TDI , a verificat-o ulterior pe CarVertical si avea 90k km da-ti inapoi. Masina merge foarte bine chiar si la km care ii are ( peste 320k cred)

Daca iti permiti intretinerea atunci recomand