A single-file, dependency-free web app for scaling bread and pizza dough recipes — with proper sourdough starter math built in.
Open index.html in any modern browser. No build step, no install, no backend.
- Portion scaling — change the target portion count and every ingredient is scaled proportionally.
- Sourdough mode — adds a starter to the recipe and automatically subtracts the flour and water it contributes from the rest of the ingredients, so total flour and hydration stay correct. Warns if the starter exceeds the recipe's flour or liquid.
- Starter presets — liquid (100%), stiff (50%), pizza (65%), or a custom hydration.
- Recipe library — three predefined recipes (Neapolitan pizza, basic bread loaf, brioche) plus your own, saved to
localStorage. - Shareable links — the share button encodes the current recipe state into a URL hash, so you can send a link that opens with everything filled in.
- Bilingual — English / German, toggled in the header.
- Drag-to-reorder ingredients, free-form notes, and a clean print layout.
Given a starter weight S and hydration H (as a percentage):
- flour in starter =
S / (1 + H/100) - water in starter =
S − flour in starter
Those amounts are subtracted proportionally from the recipe's flour and liquid ingredients (categories you set per ingredient when sourdough mode is on). The starter is then listed as its own line in the result, and the totals reflect the full final dough weight.
Everything lives in a single file: index.html — markup, styles, and logic. There is intentionally no build tooling.
# any static server works, or just open the file directly
python -m http.server
# → http://localhost:8000MIT