Developer track · 2026-11
Recipe Scaler: A Tiny CLI for Doubling (or Halving) Dinner
Beginner0 enrolled · 0 submitted
Want in? Run /enroll in Discord to claim this tier before the build window closes.
The brief
Build a small command-line tool that reads a recipe from a local JSON or YAML file and prints it scaled to any number of servings.
This is a chill, hobby-sized project.
MVP outcomes:
scale recipe.json --servings 6prints the scaled ingredient list.- Basic unit handling: combine or convert simple cases (e.g. 3 tsp → 1 tbsp) and print friendly fractions like
1 1/2 cups. - Clear errors for a missing file, bad servings value, or malformed ingredient.
Use any language you like. No APIs or accounts are needed, just three or four sample recipes you write yourself.
Stretch ideas (optional): a --metric flag, a shopping-list merge for two recipes.
Deliverables
- A public repo with the CLI source and a README with usage examples
- At least 3 sample recipe files that demonstrate scaling
- A short test set (even 5–10 cases) covering scaling, fractions, and an error case
- A short note in the README on what you'd add next
Resources
- Your language's built-in JSON parser (or a small YAML library)
- Python
fractionsmodule / equivalent rational-number helpers - Command Line Interface Guidelines for friendly help text and errors
- A handful of public-domain or self-written sample recipes