ProjectsHome

shipped · Spring 2026

cookyourbooks

Online recipe software with OCR, journals, logs, recipe libraries, and more. OCR uses the Gemini API. Built entirely in Java, designed with OOP principles in mind. Collaborated with a team of 3.

built with:
JavaJavaFXGemini APIJUnit
team:
Me and 3 teammates
my part:
The recipe import (photo - Gemini OCR - review) and the keyboard shortcuts

by the numbers:

  • 223tests
  • 22,716lines of code
  • 12PRs merged
  • 919Discord messages
  • 3merge conflicts

our infographic:

The cookyourbooks infographic: the team (Arya Baviskar, Kurshat Muhammet, Haoyang Li, Kartik Patri), the architecture from the JavaFX GUI down to the repository, the Library View, Recipe Editor, Import Recipe + OCR and Search and Filter screens, and 223 tests, 22,716 lines of code, 12 PRs merged, 919 Discord messages and 3 merge conflicts

*click it to see it full size

what it does:

  1. 01

    Library View

    Collections of recipes, listed with their counts and filtered as you type.

  2. 02

    Recipe Editor

    Every field of a recipe is editable in place, checked as you go.

  3. 03

    Import + OCR

    Pick a photo of a handwritten or printed recipe; Gemini reads it in the background and fills in an editor to review before saving.

  4. 04

    Search and Filter

    Keyword search across the whole library, narrowed down by ingredient.

  5. 05

    Dark mode

    A dark theme, switched on from Settings.

  6. 06

    Keyboard shortcuts

    Shortcuts work from anywhere in the app, and the ones for getting around step aside while you’re typing.

how it’s built:

  1. 01

    MVVM

    Each of us owned a feature’s ViewModel and View. The ViewModels expose JavaFX properties, so they’re tested in plain JUnit without opening a window.

  2. 02

    Gemini off the UI thread

    Reading a recipe runs as a background task that hands the result back to the JavaFX thread, so the app never freezes while it waits.

  3. 03

    Kept tidy

    Google Java Format (through Spotless), Checkstyle, Error Prone and NullAway, and at least one reviewer on every pull request.

next up: