<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: FlexTeam26</title>
    <description>The latest articles on DEV Community by FlexTeam26 (@flexteam26).</description>
    <link>https://dev.to/flexteam26</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4232711%2Fc0e2e4a7-0a5d-4325-acca-fb822a0bd1e0.png</url>
      <title>DEV Community: FlexTeam26</title>
      <link>https://dev.to/flexteam26</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/flexteam26"/>
    <language>en</language>
    <item>
      <title>Building CocktailsABC: 652 normalized recipes and a 'what can I actually make' engine</title>
      <dc:creator>FlexTeam26</dc:creator>
      <pubDate>Sat, 07 Nov 2026 19:43:08 +0000</pubDate>
      <link>https://dev.to/flexteam26/building-cocktailsabc-652-normalized-recipes-and-a-what-can-i-actually-make-engine-5c48</link>
      <guid>https://dev.to/flexteam26/building-cocktailsabc-652-normalized-recipes-and-a-what-can-i-actually-make-engine-5c48</guid>
      <description>&lt;p&gt;I kept hitting the same wall with cocktail sites: a 1,400-word story about the Negroni before I find out whether I can actually make one. So I built &lt;a href="https://cocktailsabc.com" rel="noopener noreferrer"&gt;cocktailsabc.com&lt;/a&gt; around one question — &lt;em&gt;what can I make from the bottles on my shelf right now?&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The core feature: My Bar
&lt;/h2&gt;

&lt;p&gt;You pick the bottles you own. The site returns every recipe you can make, ranked by how few ingredients you're missing. Two missing items is a shopping list; zero missing is tonight's drink.&lt;/p&gt;

&lt;p&gt;Sounds trivial until you look at the data underneath it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The actual problem was ingredient normalization
&lt;/h2&gt;

&lt;p&gt;Recipe sources are a mess:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"sweet vermouth" vs "red vermouth" vs "Italian vermouth" — same thing&lt;/li&gt;
&lt;li&gt;"dry sherry" vs "fino" — same thing, different granularity&lt;/li&gt;
&lt;li&gt;garnishes counted as ingredients in some sources, not others&lt;/li&gt;
&lt;li&gt;"bar spoon", "barspoon", "1 dash" — units that mean nothing to a matching engine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the pipeline is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Collect&lt;/strong&gt; recipes from public sources, keep the original text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Normalize&lt;/strong&gt; ingredient strings into canonical IDs with an alias table (the alias table is 80% of the work).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classify&lt;/strong&gt; each line: ingredient, substitution, or garnish. Garnishes don't block a match.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Index&lt;/strong&gt; the result as a set of canonical ingredient IDs per recipe.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Match&lt;/strong&gt; against the user's inventory as a set-submission test, then rank by &lt;code&gt;|recipe_set - inventory|&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The ranking is boring on purpose — a missing-count sort beats any clever scoring once the ingredient IDs are clean. Garbage IDs make every algorithm downstream look bad.&lt;/p&gt;

&lt;h2&gt;
  
  
  Public dataset
&lt;/h2&gt;

&lt;p&gt;652 normalized recipes (tagged, with canonical ingredient IDs) are published as a dataset on Zenodo: DOI &lt;code&gt;10.5281/zenodo.24041819&lt;/code&gt;. CSV and JSONL. If you want to build on top of it, it's there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Indexing and AI discoverability
&lt;/h2&gt;

&lt;p&gt;Small site, so no ad budget — the play is being findable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;full sitemap + &lt;code&gt;llms.txt&lt;/code&gt; so AI assistants can cite the recipe pages&lt;/li&gt;
&lt;li&gt;IndexNow submissions on every publish (Bing/Yandex pick up within minutes)&lt;/li&gt;
&lt;li&gt;one clean URL per recipe, canonical tags, hreflang for the localized hubs&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I'd genuinely like feedback on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Is "missing ingredient count" the right ranking, or should it weight &lt;em&gt;how likely you are to already own it&lt;/em&gt; (bitters, simple syrup)?&lt;/li&gt;
&lt;li&gt;Substitution handling: should "replace Campari with Aperol" show as a match or a separate tier?&lt;/li&gt;
&lt;li&gt;What would make a recipe dataset trustworthy enough for you to build on?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stack: TypeScript front end, Python crawl/normalize pipeline, served on Kubernetes in my homelab.&lt;/p&gt;

&lt;p&gt;Try it: &lt;a href="https://cocktailsabc.com" rel="noopener noreferrer"&gt;cocktailsabc.com&lt;/a&gt; — dataset DOI &lt;code&gt;10.5281/zenodo.24041819&lt;/code&gt;.&lt;/p&gt;

</description>
      <category>softwaredevelopment</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
