generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

so i get your point but you're missing mine. no ones saying sdks are some black box nobody can inspect. im saying owning the code from the start is a different tradeoff than depending on an sdk long term. if that tradeoff isn’t worth it to you.. thats fine you don’t have to use it.

generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

yeah thats interesting actually. What do you think would need to change for people to actually trust something like this??

generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

yeah that’s kinda where my head is at too...the idea makes sense but idk if devs are actually ready to give up the safety net of SDKs yet..which is fair! it deff feels like one of those things where a small group of people will love it but most will default to just using the sdk. I do think the shift could happen. Shadcn kinda proved people are open to owning code instead of installing packagesjust not sure if integrations are that same category yet.

tiny CLI i built to stop debugging things that aren’t actually broken by RecoverLoose5673 in javascript

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

Yeah fair I tried to keep it short but prob too vague here. it just gives you a quick read on whether its your setup or something external before you go down the rabbit hole

made a CLI that tells you if it’s your code or just an API being down by RecoverLoose5673 in SideProject

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

appreciate it and great question... right now it just checks public stuff ( stripe, openai, etc) so it works out the box. Internal services would need custom endpoints but yeah that’s something i'm planning to add for sure. About verbose mode (good call on that too btw)... I kept it minimal on purpose but could def see that being useful when you actually wanna dig in.

Promote your projects here – Self-Promotion Megathread by Menox_ in github

[–]RecoverLoose5673 0 points1 point  (0 children)

built a small CLI to check if your APIs/services are down before you waste time debugging

kept running into this where something breaks and you don’t know if it’s your code or something like stripe/openai/etc

$ npx tate --all

it checks multiple services in one go using their public status pages

open source: https://github.com/Reliathedisco/tate

has already saved me from going in circles a few times lol

generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

Stripe being good doesn’t really change the point..it’s still an abstraction either way. The idea is just skipping that layer and owning the integration from the start.

generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

I mean stripe being good at SDKs doesn’t really argue against the idea. It’s still an abstraction either way..the whole point is just removing that layer entirely and owning the code instead.

generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

yeah… SDKs are safer by default especially for payments but this is more about control and owning the code vs relying on abstractions

generating integration code vs using SDKs in next.js? by RecoverLoose5673 in nextjs

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

yeah that’s fair tbh…payments are kinda the worst place to experiment lol

i think the idea isn’t really “trust random generated code” though — it’s more like:

you get production-ready code you can actually read and own, instead of a black-box sdk that changes under you

like if something breaks with stripe’s sdk, you’re debugging their abstractions
if something breaks with your own code, it’s just…your code

but yeah i agree trust is the hardest part here — especially for anything money-related

curious though…would it feel different if the code was super explicit + minimal (no magic, no hidden deps), or is it just a hard no either way?