
-
I'm entirely in the "make it easy" camp. I'd rather spend more time gathering, cooking and eating recipes than developing an over-complex schema which I have to think about all the time. I found this [0] which converts markdown and just keep my recipes in Obsidian with a simple ChronoSync to periodically upload stuff to the family recipe website. I did dabble with a scraper that turns web recipes into this same markdown format which is quite fun but really just simple as possible is the way for me!
[0] https://github.com/jeffThompson/Recipes
-
Nutrient
Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
-
-
B2MML-BatchML
B2MML is an XML implementation of the ANSI/ISA-95, Enterprise-Control System Integration, family of standards (ISA-95), known internationally as IEC/ISO 62264. B2MML consists of a set of XML schemas written using the World Wide Web Consortium's XML Schema language (XSD) that implement the data models in the ISA-95 standard.
There actually is the BatchML stardardized recipe format, even if it's a different kind of recipes I'm talking about. ISA-88 recipes for describing pharma/chemical batch production processes.
https://github.com/MESAInternational/B2MML-BatchML
-
Dude this is extremely relevant to a current project I am doing[0]. The project consists of tree-walking every recipe website supported by the Recipe Scrapers[1] Python package, then scraping every recipe. Figuring out the minimum viable requirements for a recipe, and filtering out all recipes that don't fit into that model, and finally building vector search functionality around everything.
I showed the raw recipe data to some Haskell devs and they were all very upset by the lack of standardization among the recipes. I come from Python world where typing is a luxury, and I just plan on using templates to render the recipes, so raw strings are fine for my use case, but I am sure there is a systematic way to convert my recipes into an even more structured format.
I also just learned about binary vector embeddings from a blogpost on HN yesterday, and got my search sped up by 100x. The algorithm gods are smiling down upon me.
Also, I saw your blog post about why recipe plugins don't just use the ld+json recipe schema, since most sites support it. I think the reason is because there are tons of smaller sites which don't use ld+json, or use it improperly. My Spider[2] Python class is a monstrosity because each website has slightly different markers for determining if a webpage contains a recipe or not. It's probably the ugliest code I have ever written because I just had to keep changing it and adding cases as I went.
[0] https://github.com/pickles976/OfflineRecipes/blob/main/READM...
-
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.