ChefPad — Recipe Manager
A local-first recipe management tool. Add recipes with cuisine and cooking time, build ingredient lists and step-by-step instructions, rate your favorites, search by keyword or ingredient, and get random meal suggestions — all from the command line.
Commands
| Command |
Description |
chefpad add <name> [cuisine] [mins] |
Add a new recipe with optional cuisine type and cooking time (default: general, 30min) |
chefpad ingredient <id> <text> |
Add an ingredient to an existing recipe by its ID |
chefpad step <id> <text> |
Add a cooking step to an existing recipe by its ID |
chefpad list |
List all saved recipes with ratings, ingredient and step counts |
chefpad show <id> |
Show full recipe details — ingredients, steps, cuisine, time, rating |
chefpad search <keyword> |
Search recipes by name, cuisine, or ingredient |
chefpad rate <id> <1-5> |
Rate a recipe from 1 to 5 stars |
chefpad random |
Get a random recipe suggestion from your collection |
chefpad suggest <ingredients...> |
Find recipes that match the ingredients you have on hand |
chefpad info |
Show version and branding info |
chefpad help |
Show all available commands |
Data Storage
- Location:
~/.chefpad/
recipes.json — Stores all recipes with their ingredients, steps, ratings, cuisine, and cooking time
favorites.json — Reserved for favorite recipe tracking
- Both files are auto-created as empty JSON arrays on first run
- All data is stored locally as JSON — no external APIs, no network calls, no accounts needed
Requirements
- bash (any modern version)
- python3 (standard library only — uses
json, time, random)
- No external dependencies or API keys required
When to Use
- Building a personal recipe collection — Add recipes you discover or create, complete with ingredients and step-by-step instructions, all stored locally.
- Meal planning with what you have — Use
suggest with ingredients in your fridge to find matching recipes from your collection.
- Quick dinner decisions — Use
random when you can't decide what to cook and want a surprise pick from your saved recipes.
- Searching by cuisine or ingredient — Quickly find all Italian recipes or everything that uses chicken with the
search command.
- Rating and tracking favorites — Rate recipes after cooking them to build a curated list of your best dishes over time.
Examples
# Add a new recipe
chefpad add "Kung Pao Chicken" chinese 25
# Add ingredients to the recipe (use the ID shown after adding)
chefpad ingredient 1710000000 "500g chicken breast, diced"
chefpad ingredient 1710000000 "100g roasted peanuts"
chefpad ingredient 1710000000 "3 dried chili peppers"
chefpad ingredient 1710000000 "2 tbsp soy sauce"
# Add cooking steps
chefpad step 1710000000 "Marinate chicken with soy sauce for 15 minutes"
chefpad step 1710000000 "Stir-fry chicken until golden, set aside"
chefpad step 1710000000 "Fry chili peppers, add chicken and peanuts, toss"
# List all your recipes
chefpad list
# Show full recipe details
chefpad show 1710000000
# Rate a recipe
chefpad rate 1710000000 5
# Search for chicken recipes
chefpad search chicken
# Find recipes matching ingredients you have
chefpad suggest chicken peanuts
# Get a random meal suggestion
chefpad random
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---2name: cooking-recipe3description: Manage recipes and grocery lists with ingredient tracking and meal plans. Use when adding recipes, searching by ingredient, or building shopping lists.4---5
6# ChefPad — Recipe Manager
7
8A local-first recipe management tool. Add recipes with cuisine and cooking time, build ingredient lists and step-by-step instructions, rate your favorites, search by keyword or ingredient, and get random meal suggestions — all from the command line.
9
10## Commands
11
12| Command | Description |
13|---------|-------------|
14| `chefpad add <name> [cuisine] [mins]` | Add a new recipe with optional cuisine type and cooking time (default: general, 30min) |
15| `chefpad ingredient <id> <text>` | Add an ingredient to an existing recipe by its ID |
16| `chefpad step <id> <text>` | Add a cooking step to an existing recipe by its ID |
17| `chefpad list` | List all saved recipes with ratings, ingredient and step counts |
18| `chefpad show <id>` | Show full recipe details — ingredients, steps, cuisine, time, rating |
19| `chefpad search <keyword>` | Search recipes by name, cuisine, or ingredient |
20| `chefpad rate <id> <1-5>` | Rate a recipe from 1 to 5 stars |
21| `chefpad random` | Get a random recipe suggestion from your collection |
22| `chefpad suggest <ingredients...>` | Find recipes that match the ingredients you have on hand |
23| `chefpad info` | Show version and branding info |
24| `chefpad help` | Show all available commands |
25
26## Data Storage
27
28- **Location:** `~/.chefpad/`
29- `recipes.json` — Stores all recipes with their ingredients, steps, ratings, cuisine, and cooking time
30- `favorites.json` — Reserved for favorite recipe tracking
31- Both files are auto-created as empty JSON arrays on first run
32- All data is stored locally as JSON — no external APIs, no network calls, no accounts needed
33
34## Requirements
35
36- bash (any modern version)
37- python3 (standard library only — uses `json`, `time`, `random`)
38- No external dependencies or API keys required
39
40## When to Use
41
421. **Building a personal recipe collection** — Add recipes you discover or create, complete with ingredients and step-by-step instructions, all stored locally.
432. **Meal planning with what you have** — Use `suggest` with ingredients in your fridge to find matching recipes from your collection.
443. **Quick dinner decisions** — Use `random` when you can't decide what to cook and want a surprise pick from your saved recipes.
454. **Searching by cuisine or ingredient** — Quickly find all Italian recipes or everything that uses chicken with the `search` command.
465. **Rating and tracking favorites** — Rate recipes after cooking them to build a curated list of your best dishes over time.
47
48## Examples
49
50```bash
51# Add a new recipe
52chefpad add "Kung Pao Chicken" chinese 25
53
54# Add ingredients to the recipe (use the ID shown after adding)
55chefpad ingredient 1710000000 "500g chicken breast, diced"
56chefpad ingredient 1710000000 "100g roasted peanuts"
57chefpad ingredient 1710000000 "3 dried chili peppers"
58chefpad ingredient 1710000000 "2 tbsp soy sauce"
59
60# Add cooking steps
61chefpad step 1710000000 "Marinate chicken with soy sauce for 15 minutes"
62chefpad step 1710000000 "Stir-fry chicken until golden, set aside"
63chefpad step 1710000000 "Fry chili peppers, add chicken and peanuts, toss"
64
65# List all your recipes
66chefpad list
67
68# Show full recipe details
69chefpad show 1710000000
70
71# Rate a recipe
72chefpad rate 1710000000 5
73
74# Search for chicken recipes
75chefpad search chicken
76
77# Find recipes matching ingredients you have
78chefpad suggest chicken peanuts
79
80# Get a random meal suggestion
81chefpad random
82```
83
84---
85
86*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*