Live data from Hacker News

Show HN: I vibecoded a 35k LoC recipe app

recipeninja.ai

171–180 of 258 posts

Re: Show HN: I vibecoded a 35k LoC recipe app

#171

Earlier quoted context omitted.

The 35k lines of code is what made me think this was either a joke or the state of vibe coding, but no it turns out they're serious I have entire codebases of embedded software in C without the shortcuts of modern programming languages in way fewer than 35k lines

I cannot find a link to the source code. Is there any?

https://www.recipeninja.ai/assets/index-B7TAGfYd.js

Not 35k lines, but there's one line that's about 48,000 characters long. So either they've intentionally obfuscated it, or chatgpt just churned out one long line

Edit: Running it through a prettifier the code comes about 33k lines

Re: Show HN: I vibecoded a 35k LoC recipe app

#172

Earlier quoted context omitted.

I cannot find a link to the source code. Is there any?

https://www.recipeninja.ai/assets/index-B7TAGfYd.js Not 35k lines, but there's one line that's about 48,000 characters long. So either they've intentionally obfuscated it, or chatgpt just churned out one long line Edit: Running it through a prettifier the code comes about 33k lines

Oh, this. I thought there was more into it.

Edit: Run it through another prettifier, might turn into 35k lines. :D

Re: Show HN: I vibecoded a 35k LoC recipe app

#173

Earlier quoted context omitted.

And without 14 paragraphs of how your great grandma first discovered this recipe on a trip to italy from a soldier she romanced

I'm convinced that people who complain about this don't use recipe sites very often. There are loads without any preamble, and many of those with narrative provide a 'jump to recipe' button. Even if it is a long article with no jump (rare), it's still not a big deal 1. Some people do want the narrative 2. It's not that much of a hardship to scroll

You're entirely right. I don't use recipe sites very often, and yet it still happens often enough that I have to keep scrolling and reading on different sites to get past the backstory

Re: Show HN: I vibecoded a 35k LoC recipe app

#174
post #94

> It now includes a fully interactive voice assistant so you don't need to get your dirty hands over your new iPad when you're cooking. Always floored about the problems people think need fixing. The problem is not that you get your dirty hands on the iPad. The problem is that you want real recipes. You know, things people have actually cooked and found to be good. With real photos of how the result actually looks (i…

Absolutely agree. Real recipes, tested by actual cooks (home or professional) with genuine photos, matter far more to me than avoiding messy screens. Does anyone know trustworthy sites that consistently offer recipes meeting these standards?

https://www.pickuplimes.com/ is pretty good.

Re: Show HN: I vibecoded a 35k LoC recipe app

#175

Earlier quoted context omitted.

I cannot find a link to the source code. Is there any?

https://www.recipeninja.ai/assets/index-B7TAGfYd.js Not 35k lines, but there's one line that's about 48,000 characters long. So either they've intentionally obfuscated it, or chatgpt just churned out one long line Edit: Running it through a prettifier the code comes about 33k lines

It’s obviously obstructed, but throw it into an LLM to attempt to clean it up

Re: Show HN: I vibecoded a 35k LoC recipe app

#176
post #75

Help! I just made the Diarrhea Walnuts ( https://www.recipeninja.ai/recipe/r_N1VSPtXzCJVV3l/diarrhea-... ) recipe and it turns out I am allergic to Walnuts! I am throwing up everywhere! You’re gonna be hearing from my lawyers!

bro that is part of the vibe, you just gotta roll with it

Re: Show HN: I vibecoded a 35k LoC recipe app

#177
post #94

> It now includes a fully interactive voice assistant so you don't need to get your dirty hands over your new iPad when you're cooking. Always floored about the problems people think need fixing. The problem is not that you get your dirty hands on the iPad. The problem is that you want real recipes. You know, things people have actually cooked and found to be good. With real photos of how the result actually looks (i…

I don't know why everyone is so salty. It's like putting "vibecode" in the headline attracted the worst in people.

For context, I'm not a cooking geek or virtuoso. I enjoy it to some degree, but mostly it's just about having a nice, nutritious experience, in line with whatever my mood might be. I only ever measure things super accurately when I'm baking things in the bread maker (because it doesn't let you make corrections). For most meals, I wing half the measurements and time estimates.

In my experience, most "human recipes" are just random variations on some baseline. I hate looking for recipes on recipe sites, youtube, etc. There are food bloggers that are exceptions, but usually I'll just end up scrolling for a long time with just frustration to show for it. If I sort of know some of the ingredients I want to use, have some sense of the type of eating experience I'm going for, and I want a bunch of recommendations based on that, regular "human recipe" sites are not the answer.

90% of my new recipes come from ChatGPT, and that ratio is increasing. I just marinated some chicken based on a recipe it magicked for me. I asked for insights on mixing mayo and yoghurt in the same marinade, because I had leftovers of both. It gave me 5 or so diverse recipes, and I just picked the one that best fit my pantry and mood. I also asked it to convert the recipe from volume to weight, not to mention scale it for my specific quantity of chicken, which was super handy.

I find that ChatGPT is great at providing common sense instructions and approximations. It's absolutely awesome at clobbering together a meal from ingredients I tell it I have. I can have an actual dialogue about any of it, get all kinds of recommendations and insights. That's been very useful to me. I'd go as far as to say that recipe generation is one of the easiest real problems for an LLM to solve. Or, at least for the kinds of recipes I use.

I've done my share of recipes from Serious Eats, but they weren't particularly good. I was doing Breton galettes the other week, which are notoriously fiddly to get right. Serious Eats had a huge article about it, interesting insights, but their final recipe sucked, and I was trying to be accurate. Not only I failed to get the consistency right, the wheat-buckwheat ratio was nowhere near what you'd get in France. I say, write researched articles about what makes recipes work. I can read it, I can bounce my LLM off it. If it's a fiddly recipe, I'll have to fiddle with it no matter what. If I can have a conversation with an LLM about principles at work, that's much better to me than a bunch of "human recipes".

Also, I often have questions about alternatives or things I need advice on as I'm preparing food. I'll also look at the recipe a gazillion times to check the instructions, quantities, etc. I'll set and check a timer often too. A voice-assistant is the obvious answer to this, which I'll try at my earliest convenience.

Kudos to the author!

Re: Show HN: I vibecoded a 35k LoC recipe app

#179

I have a paid subscription to Windsurf using Claude. I struggle to find much utility in terms of actually writing code. It spends a lot of time trying / retrying and glitching out. I'm sure in a couple of years it will be amazing (assuming a fundamental breakthrough isn't required) but it isn't quite there yet. LLMs are super useful but currently, the primary use case is teaching, not doing. For this reason, I think…

> LLMs are super useful but currently, the primary use case is teaching, not doing.

For code? Autocomplete on steroids is the killer-app.

The other things the LLMs give me are prone to be over-engineered/overly verbose code or similar.

I went through a lot of "Why are you also doing $FOO then $BAR? Doesn't seem necessary if we skip them and do $BAZ which will make one or both of those redundant" and it responding "You're right! Lets use $BAZ instead".

And giving them code to make a small change to was pointless - they would often, but not always, make an incidental change far from the point where you asked for the change.

But autocomplete? That works just great and because I've already got context of the code I am writing I can check it in (at most) two seconds and move on.

Post reply on HN