<?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: Vansh Dixit</title>
    <description>The latest articles on DEV Community by Vansh Dixit (@vadix79).</description>
    <link>https://dev.to/vadix79</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%2F3957259%2F46f2c383-d1e9-4fed-97b5-e0891b72857b.png</url>
      <title>DEV Community: Vansh Dixit</title>
      <link>https://dev.to/vadix79</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vadix79"/>
    <language>en</language>
    <item>
      <title>The Margin Leak You Can’t See: MenuMargin AI Turns Supplier Invoices into Better Menu Prices</title>
      <dc:creator>Vansh Dixit</dc:creator>
      <pubDate>Sun, 18 Oct 2026 17:48:38 +0000</pubDate>
      <link>https://dev.to/vadix79/the-margin-leak-you-cant-see-menumargin-ai-turns-supplier-invoices-into-better-menu-prices-je7</link>
      <guid>https://dev.to/vadix79/the-margin-leak-you-cant-see-menumargin-ai-turns-supplier-invoices-into-better-menu-prices-je7</guid>
      <description>&lt;p&gt;&lt;strong&gt;What I Built&lt;/strong&gt;&lt;br&gt;
Restaurant owners usually discover margin problems after the money is already gone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MenuMargin AI&lt;/strong&gt; is a real-time food-costing and inflation-protection dashboard for restaurants, bakeries, cafés, food trucks, and other small food businesses.&lt;/p&gt;

&lt;p&gt;Demo link:&lt;br&gt;
&lt;a href="https://menumargin-ai.onrender.com/" rel="noopener noreferrer"&gt;https://menumargin-ai.onrender.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A business owner can:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create a free business workspace.&lt;/strong&gt;&lt;br&gt;
Add ingredients, packaging, labor, recipes, selling prices, portions, and monthly sales volume.&lt;br&gt;
&lt;strong&gt;Upload or paste supplier invoices.&lt;/strong&gt;&lt;br&gt;
Convert commercial case quantities into usable culinary units such as cost per ounce, egg, gram, or fluid ounce.&lt;br&gt;
&lt;strong&gt;Track wholesale inflation across the pantry.&lt;/strong&gt;&lt;br&gt;
Calculate plate cost, food-cost percentage, gross margin, and monthly margin leakage.&lt;br&gt;
&lt;strong&gt;Identify dishes that are above their target food-cost threshold.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Ask Gemma for recommended actions such as:&lt;/strong&gt;&lt;br&gt;
Raising a menu price.&lt;br&gt;
Switching suppliers.&lt;br&gt;
Adjusting portions.&lt;br&gt;
Rebalancing recipe ingredients.&lt;br&gt;
Apply recommendations back to the business workspace.&lt;br&gt;
Generate a one-page profit audit.&lt;br&gt;
&lt;strong&gt;The product is designed for owners who need an answer in three seconds:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Am I losing money, where am I losing it, and what should I do next?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The people most likely to pay for this are independent restaurant owners, bakery owners, café operators, food-truck owners, and hospitality consultants who cannot justify expensive enterprise food-costing software.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The demo includes seeded bakery data so you can immediately explore:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dashboard and margin alerts.&lt;br&gt;
Invoice Scanner.&lt;br&gt;
Recipe Studio and COGS.&lt;br&gt;
Inflation Radar.&lt;br&gt;
One-page profit audit.&lt;br&gt;
Gemma optimization suggestions.&lt;br&gt;
First-user traction tracking.&lt;br&gt;
&lt;strong&gt;Code&lt;/strong&gt;&lt;br&gt;
The project is built as a CommonJS Node.js and Express application with a vanilla HTML, CSS, and JavaScript frontend.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The main areas are:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The application includes:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Authenticated business workspaces.&lt;br&gt;
Session cookies and bearer-token support.&lt;br&gt;
Password hashing with Node.js crypto.scrypt.&lt;br&gt;
SQLite-backed users, sessions, workspaces, and memberships.&lt;br&gt;
Workspace-level authorization.&lt;br&gt;
Isolated business inventory and recipe data.&lt;br&gt;
CSV inventory import.&lt;br&gt;
Invoice extraction and pantry updates.&lt;br&gt;
Recipe recalculation after supplier-price changes.&lt;br&gt;
Gemma-powered optimization workflows.&lt;br&gt;
Responsive and reduced-motion-friendly UI behavior.&lt;br&gt;
A public GitHub repository and deployed demo still need to be added before publishing this submission publicly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How I Built It&lt;/strong&gt;&lt;br&gt;
MenuMargin AI is built around Gemma as the reasoning layer for culinary cost analysis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The invoice workflow accepts supplier invoice text or uploaded files, then:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Extracts vendor and invoice metadata.&lt;br&gt;
Identifies product lines and quantities.&lt;br&gt;
Interprets commercial packaging such as cases, pounds, quarts, dozens, and cartons.&lt;br&gt;
Converts those packages into culinary preparation units.&lt;br&gt;
Calculates normalized unit cost.&lt;br&gt;
Compares the new price with the existing pantry price.&lt;br&gt;
Flags meaningful inflation changes.&lt;br&gt;
Recalculates recipe plate costs.&lt;br&gt;
Sends the resulting business context to the Gemma optimization workflow.&lt;br&gt;
The frontend intentionally remains framework-free:&lt;/p&gt;

&lt;p&gt;Vanilla HTML, CSS, and JavaScript.&lt;br&gt;
Express backend.&lt;br&gt;
Native CSS motion and requestAnimationFrame.&lt;br&gt;
IntersectionObserver for progressive reveal effects.&lt;br&gt;
Inline SVG visualizations.&lt;br&gt;
Responsive layouts without forcing a framework migration.&lt;br&gt;
&lt;strong&gt;The interface includes:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dashboard KPI hierarchy.&lt;br&gt;
Margin leakage hero card.&lt;br&gt;
Food-cost target gauge.&lt;br&gt;
Inflation sparklines.&lt;br&gt;
Invoice scan-line feedback.&lt;br&gt;
Staggered extraction results.&lt;br&gt;
Gemma optimizer drawer.&lt;br&gt;
Command palette.&lt;br&gt;
Keyboard navigation.&lt;br&gt;
Reduced-motion support.&lt;br&gt;
Accessible live-region announcements.&lt;br&gt;
Responsive mobile navigation.&lt;br&gt;
&lt;strong&gt;Why Does Open Innovation Matter?&lt;/strong&gt;&lt;br&gt;
Food businesses deal with sensitive supplier information, negotiated prices, recipes, and margins.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A closed AI API can make owners uncomfortable because their invoices and commercial data may leave their environment. It can also introduce:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Vendor lock-in.&lt;br&gt;
Unpredictable pricing.&lt;br&gt;
Usage limits.&lt;br&gt;
Data-retention concerns.&lt;br&gt;
Less control over how recommendations are generated.&lt;br&gt;
Open-weight AI makes a different model possible.&lt;/p&gt;

&lt;p&gt;**With Gemma, MenuMargin AI can move toward a workflow where businesses can run inference locally or through an infrastructure provider they control. That means an independent bakery could eventually analyze invoices and recipes without sending confidential supplier data to a closed third-party system.&lt;/p&gt;

&lt;p&gt;Open innovation also makes the product more adaptable. Culinary unit conversion, margin rules, supplier mappings, and optimization prompts can be inspected, tested, customized, and improved by the community.**&lt;/p&gt;

&lt;p&gt;The goal is not just to make AI answer a question. The goal is to make the entire business decision system more transparent, affordable, and controllable.&lt;/p&gt;

&lt;p&gt;My First User&lt;br&gt;
No paid customer has been acquired yet.&lt;/p&gt;

&lt;p&gt;The prototype is designed around the workflow of an independent bakery or restaurant owner who wants to understand supplier inflation and menu profitability without paying for enterprise software.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The most important validation question is:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Would a small food business pay a predictable monthly price to automatically detect margin leakage and receive actionable menu recommendations?&lt;/p&gt;

&lt;p&gt;The current product direction is focused on proving that value before introducing paid plans.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
