Lurker News

Comments (207) 57 threads

Earlier comments
herpderperator#
1. This makes an API request for every keystroke. Perhaps adding debouncing would be a good idea?

2. 500 error when typing a quotation mark - needs escaping: https://api.stovetop.app/recipes?q=%27

  {
    "statusCode": 500,
    "code": "42601",
    "error": "Internal Server Error",
    "message": "syntax error in tsquery: \"':*\""
  }
anschwa2 replies#
Looks great!

https://based.cooking/ might be another good source of recipes if you're not already using it.

twiclo#
Based.cooking is great. I have my own instance running on my server. Version controlled recipes are the way of the future
smoldesu#
For all the borderline-insane things Luke Smith endorses, I'm glad he has at least one decent contribution to the internet. based.cooking should be a model for everyone else trying to take back the internet on their own terms.
uhtred#
Where is the data coming from? Are you manually entering each recipe, ingredients, rating etc into a database or do you have an automated service pulling it all in from various apis/scraping?
james_in_the_uk2 replies#
Looks good once the 404 issue is fixed. Perhaps for a future release you could tag / filter sources by country? A big problem for me in recipe search is avoiding localisation issues (e.g. Having to do all the conversions from cups; remembering that 'heavy cream' is somewhere in between single and double cream etc.)
milomildus1 reply#
404 issue should be fixed.

Tagging by country / locale is a good idea. Another thing I'm currently working on is using a data structure of ingredients instead of a flat list. This structure will handle things like different names for ingredients and hierarchy (ie. no dairy will exclude milk and butter as well.)

OJFord1 reply#
I gave in and bought a set of US (not the old British, nor the metric..) cups in the end.

I don't like it, but it beats using something else for a volumetric measurement.

PeterisP1 reply#
IMHO it's better not doing volumetric measurement and doing everything by weight, having your mixing container on a scale the whole time and "resetting the weight" when adding new ingredients.
OJFord#
Yes, I agree, but when confronted with a bunch of 'cups' in a US recipe you want to follow, IMO using cups is better than a metric jug and a calculator, and also better than scales, calculator, and looking up densities.

Load more comments