r/raspberry_pi
•
u/herbislife
•
17h ago
Show-and-Tell Receipt Recipe Printer w/ Pi 3B
I thought this sub might find this interesting. First time poster here. I had the idea to create an app that prints recipes on a receipt printer, in a neat and concise manner. I’m often using recipes on my phone. While cooking and prepping, the phone will lock, hands will be messy… etc. The idea was to make an app that can intake any recipe text or a URL and output a clean recipe in a nice layout on receipt printer. Uses the GPT 6 Luna model.
I made using this using Codex, Python, Flask. It’s hosted locally, but it is also set up to be used away from home using Cloudfare Tunnels.
I don’t know how to code at all, but used Codex to help build the app. It works great and prints really fast. Here are photos of the app and the output. Not sure how people feel about vibe coded things here. But this is a project that legitimately solves a problem in the kitchen. I have other neat ideas to use the receipt printer as well. I attached some photos of the output and the app.
Here are the features (AI used to summarize these):
• Raspberry Pi + Epson thermal printer — I built a primary web app that prints recipes on an Epson TM-T20III receipt printer connected to a Raspberry Pi 3B over USB.
• Rewrite a recipe — Paste a recipe URL or the recipe text. For links, the Pi pulls out the recipe from the page, then sends the text to OpenAI’s gpt-6-luna . Rewrite system prompt is written to preserve the original quantities, temperatures, times, and servings.
• Ask AI what to cook — Ask for a recipe you want. It calls OpenAI’s gpt-6-luna with web search to find or adapt a recipe. You can see the source links, and it flags recipes generated without a verified published source.
• Concise but thorough directions — Both modes use structured output with separate fields for ingredients, quantities, steps, and notes. The prompts ask for compact directions that still include what you need to cook, like oven temperature, cooking time, and how to tell when it’s done.
• Editable receipt preview — See how the recipe fits on a 48-column receipt before printing. You can edit the text as well.
• One-tap printing — Tap Print on your phone and the Pi sends the preview directly to the printer, which prints and cuts the slip. Prints very quickly.
• Saved recipes, favorites, and search — Save a recipe, search your collection, save recipe notes, filter to favorites, and reprint a saved receipt without another AI call.
• Settings — Toggle light or dark mode, pick a theme color, change the ingredient layout type and printer density, add further AI recipe style instructions, and check estimated OpenAI API spending.
Lemme know what you think, or questions!

