Hacker News new | ask | show | jobs
by redman25 1687 days ago
Love the fast interface. It would be awesome if you could add functionality to filter by diet (vegetarian, vegan, paleo, etc.) For many people, diet determines which recipes are useful more often than any other factor.
1 comments

I spent a couple of minutes trying to turn it into a usable vegetarian recipe filter by selecting every exclude that was meat related. An overflow auto on the excludes ingredients list would help avoid it spilling over into the results. Not sure why: Quick-Broiled Pork Chops With Peanuts and Gochujang

Almond and Dried Fruit Pilaf With Rotisserie Chicken

Freestyle Roasted Chicken Parm

etc. Still show up even with chicken, pork and 150+ other meat terms in the exclude list. But overall it's much improved.

Unfortunately can't find a way to bookmark the exclude list without a JS injection, and the source is obfuscated, so I'm probably not gonna bother figuring out how to do that.

... hm. I see that it does send out a promising looking API request that could be possibly turned into something bookmarkable. Looks like it has a handy array name too.

https://pastebin.com/nddrvGcy <= a start at meat filtering