Live since

Cooking Recipes

Recipes without the ads, life stories, or popups. Built for cooking from a phone.

Cooking Recipes on a phone
What it does

Made for Cooking from a Phone

Ingredient checklist showing 5 of 13 gathered, a progress bar, and two crossed out ingredients
01

A Checklist for the Grocery Store

Ingredients are a checklist with a progress bar, so you can see what is left to grab. Hide the list once you start cooking.

Recipe index searched for egg, showing 4 of 34 recipes with tag chips and cards that highlight the matching ingredient, like 2 large eggs
02

Find a Recipe by What's in the Fridge

Search the index by name, tag, or ingredient. Each card shows the ingredient line that matched, and tag chips narrow the list further.

Chicken Parm recipe header with a rating, tags, ingredient and step counts, and a Keep screen awake switch
03

Your Screen Stays On

A "Keep screen awake" switch uses the Screen Wake Lock API, so the phone doesn't dim halfway through a recipe.

By the numbers

At a Glance

34+recipes
20+photos
~1,000lines of Haskell
0ads
How it's built

From Markdown File to Recipe Page

  1. Recipe FilesMarkdown
  2. ParserCommonMark AST
  3. Recipe TypeChecked in Haskell
  4. TemplatesStatic HTML
  5. NGINXReverse Proxy

Built with

HaskellCabalcommonmarkHspecImageMagickNGINXHTML
Key takeaway

Line-by-line file parsing was enough to get started, but it silently dropped content that wasn't expected. Parsing files into Markdown ASTs made strict checks with useful errors easy to add.

Build Notes

Challenges, learnings, and what's next

Challenges

  • Designing a Markdown template that is strict enough to parse reliably but flexible enough for real recipes.
  • Regression tests require manual fixture updates whenever templates change, which adds friction to UI tweaks.

Learnings

  • Image compression (or lack thereof) has the largest impact on page load times.
  • Haskell's type system makes data modeling easy and powerful.
  • Parsing into a real Markdown AST makes strict checks with useful errors easy to add.
  • AI agents are very reliable for extracting recipe info from images or URLs, and can reformat directions to be easier to follow during actual cooking.
  • Claude Skills can automate repetitive tasks like standardizing recipe language and units of measure.

Next

  • An easy way to share links to these recipes or email them to friends.
Keep exploring

More Apps