Live data from Hacker News

Show HN: Recipe search engine, built in vanilla PHP

recipehunt.app

11–20 of 63 posts

Re: Show HN: Recipe search engine, built in vanilla PHP

#11
post #7

I'd be interested in hearing more about how you built the search. I keep my own personal cookbook online with a search and I'm curious how others implement theirs. For me, after getting tired of the slow SQL text search queries, I made a search index of 3-grams using the title and ingredients text and that's worked great for ~100 recipes, and also has the benefit of being fuzzy. But I don't know much about alternativ…

Hi there - unfortunately, I use a slow SQL text query + ajax to display results below search bar. I have a small database so it's fine for now, but expect I'll need an alternative method as it grows.

Re: Show HN: Recipe search engine, built in vanilla PHP

#13

Recipe search engines are fast becoming the new todo list. And each one seems to forget that the recipe wiki is right there with an API and four to five figures of structured data content, and so it becomes this futile exercise in CRUD and UI.

Appreciate your feedback.

Re: Show HN: Recipe search engine, built in vanilla PHP

#14
I'm always slightly surprised at the "engineers mindset" that many people on this site and other seem to approach recipes: the notion that a recipe as a context-free collection of ingredients and steps.

Yes, I know "long stories about last year's vacation where we ate such and such" get a lot of universal, justifiable hate. Everyone detests scrolling through "recipes" laden with ads and useless copy and photos.

But, to me, these kinds of database sites lose two important elements: the source of the recipe, and useful comments, from both the author and the readers.

Perhaps it's because I cook a lot, but I can't imagine just Googling "pasta carbonara" and following the first hit (pretending it was nicely formatted without ads). 90% of recipes online are seriously mediocre. For me, either I already know and trust the author (Serious Eats, many New York Times authors, etc), or I need to do a bit of work to decide whether they are the real deal.

(As an aside, I think that this is the source of the long-winded stories. Back in the day, when it wasn't so bad, I followed a handful of recipe bloggers and got to know and trust their recipes through their blogs. It seems so crap now because (1) they've so much longer, and (2) when we land on the top search of someone we don't know, it just seems like useless noise.)

For the second point, if you look at, say, a New York Times recipe, there's usually one, maybe two paragraphs of context about the dish itself (not stories of vacations). It's useful stuff. It tells you what you can substitute, it tells you the way this is and isn't authentic, it gives you hints on the tricky parts. And then the comments at the bottom will do all that and more, pointing out the recipe's flaws and improvements.

Where a database can come in useful for me is after I've fully vetted and digested the recipe, I'll add it to my own. But using a database to find a recipe has never been interesting to me, personally.

Re: Show HN: Recipe search engine, built in vanilla PHP

#15
This is awesome. I'm glad more people are trying to make recipes accessible and fight back against the SEO bloat that most online recipes seem to be. I made a little app to start collecting and storing recipes offline and curating shopping lists from them without all the cruft, still a work in progress and I'm hoping to start allowing p2p sharing of recipes (mostly so I can share recipes with the wife). I'm trying to do fully offline functionality -> bluetooth sharing -> public internet sharing.

https://play.google.com/store/apps/details?id=com.santurceso...

Re: Show HN: Recipe search engine, built in vanilla PHP

#16
post #14

I'm always slightly surprised at the "engineers mindset" that many people on this site and other seem to approach recipes: the notion that a recipe as a context-free collection of ingredients and steps. Yes, I know "long stories about last year's vacation where we ate such and such" get a lot of universal, justifiable hate. Everyone detests scrolling through "recipes" laden with ads and useless copy and photos. But,…

Thanks - I understand where you're coming from. I didn't build this from an engineer's mindset though, but as a novice cook who just needs to make quick meals for my family. So just wanted to solve my own problem. I'm sure other people enjoy the backstory/context and have the time to digest them, so a single recipe site won't be a one size fits all, this just works for me.

Re: Show HN: Recipe search engine, built in vanilla PHP

#17

This is awesome. I'm glad more people are trying to make recipes accessible and fight back against the SEO bloat that most online recipes seem to be. I made a little app to start collecting and storing recipes offline and curating shopping lists from them without all the cruft, still a work in progress and I'm hoping to start allowing p2p sharing of recipes (mostly so I can share recipes with the wife). I'm trying to…

Thanks! I'll check the app out!

Re: Show HN: Recipe search engine, built in vanilla PHP

#18

Recipe search engines are fast becoming the new todo list. And each one seems to forget that the recipe wiki is right there with an API and four to five figures of structured data content, and so it becomes this futile exercise in CRUD and UI.

What is the URL for the recipe wiki?

Re: Show HN: Recipe search engine, built in vanilla PHP

#19
post #14

I'm always slightly surprised at the "engineers mindset" that many people on this site and other seem to approach recipes: the notion that a recipe as a context-free collection of ingredients and steps. Yes, I know "long stories about last year's vacation where we ate such and such" get a lot of universal, justifiable hate. Everyone detests scrolling through "recipes" laden with ads and useless copy and photos. But,…

Which means we need a simple database of ingredients/steps and a maybe 300 words introduction. Anyone doing that will crush the market because usability for recipe website went so bad in the past years.

And add steps in a visual + text format like KptnCook.

Post reply on HN