Sharp Cooking AI Preview

Sharp Cooking - AI Preview updates

When I first designed Sharp Cooking, my goal was to provide smart features that other cooking apps lacked. Features like unit conversion (e.g., cups to grams) and recipe suggestions based on the ingredients you have at home were at the core of my vision. Over time, some of these features have been gradually implemented, but it’s been a challenging journey. Before large language models (LLMs) became widely accessible, using AI for these features was a significant challenge....

March 20, 2025 · 4 min · LPains
Sharp Cooking extension

Sharp Cooking - chrome extension

In my previous post, I announced that the Sharp Cooking Companion Chrome Extension was under review in the Chrome Web Store. I’m happy to say that it’s now available for download! The extension allows users to browse recipe websites normally in Chrome or Edge. When a recipe is desired, the user can click the extension icon and it will scrape the recipe data and generate a share code. Users can then paste or scan the share code in the app to import the recipe....

February 8, 2025 · 1 min · LPains
Sharp Cooking extension

Sharp Cooking - recipe scraping improvements

One of the coolest features in Sharp Cooking is its ability to import recipes from a website. See a recipe you like? Just paste the URL into Sharp Cooking, and voilà! The recipe is imported and ready to use. But have you ever wondered what happens behind the scenes? And why sometimes it doesn’t work as expected? Unfortunately, the process isn’t always straightforward. The CORS Problem When I transitioned Sharp Cooking into a Progressive Web App (PWA)—blame Apple for that—a CORS (Cross-Origin Resource Sharing) issue emerged....

February 6, 2025 · 3 min · LPains
JavaScript code

Converting sharp-recipe-parser from typescript to javascript + jsdoc

Introduction I should start by saying that I am a big proponent of TypeScript. I have been using it since version 1.5 back in 2015. Coming from a backend background with typed languages, not having types in JavaScript was an interesting experience for me. As a developer, the two aspects of typed languages that help me the most are intellisense and the compiler. Intellisense helps me write code faster, and the compiler helps me catch errors before runtime....

January 1, 2024 · 6 min · LPains