Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I built a powerful programmable recipe website. (WIP)

You write recipes in markdown, you can template in variables from javascript using handlebars.

Here is a recipe with a slider, it updates all the amounts in both the ingredients table and inline in the instructions themselves as you move the slider.

https://programmablerecipes.com/recipes/richardgill/bread-ah...



This is a nice project, thanks for sharing :)

Here are a couple of resources related to quantity scaling and rendering, in case they're of interest and/or useful to you:

- https://www.jsward.com/cooking/style.shtml - "The Metric Kitchen: Style guide for metric recipes"

- https://github.com/ben-ng/convert-units - a nice JavaScrit library for unit conversion and 'best unit' selection


Thanks for the resources!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: