<?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: DIWAKAR SHARMA</title>
    <description>The latest articles on DEV Community by DIWAKAR SHARMA (@diwakarsingh07).</description>
    <link>https://dev.to/diwakarsingh07</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%2F3675394%2Fb64d5e19-5307-4a21-b5a1-1a82a7071a8a.jpeg</url>
      <title>DEV Community: DIWAKAR SHARMA</title>
      <link>https://dev.to/diwakarsingh07</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/diwakarsingh07"/>
    <language>en</language>
    <item>
      <title>SlothSort 🦥 Zero-Effort Local File Tidier Powered by Open-Source AI</title>
      <dc:creator>DIWAKAR SHARMA</dc:creator>
      <pubDate>Sat, 24 Oct 2026 17:10:46 +0000</pubDate>
      <link>https://dev.to/diwakarsingh07/slothsort-zero-effort-local-file-tidier-powered-by-open-source-ai-24a0</link>
      <guid>https://dev.to/diwakarsingh07/slothsort-zero-effort-local-file-tidier-powered-by-open-source-ai-24a0</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;October 20, is &lt;strong&gt;International Sloth Day&lt;/strong&gt;. Sloths have life figured out: move at your own pace, conserve your energy, and avoid unnecessary effort. &lt;/p&gt;

&lt;p&gt;Yet every developer and knowledge worker's laptop is plagued by the same chaotic mess: a &lt;code&gt;Downloads&lt;/code&gt; or &lt;code&gt;Desktop&lt;/code&gt; folder jammed with files like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Screenshot 2026-10-21 at 2.45.19 PM.png&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;INV_98242_oct_final_v2.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;my_updated_resume_draft_FINAL(1).txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;coffee_shop_bill_scan.txt&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;`temp_fix_database_conn.py&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;{% embed &lt;a href="https://youtu.be/gHe1qCK4zpg" rel="noopener noreferrer"&gt;https://youtu.be/gHe1qCK4zpg&lt;/a&gt; %}&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;{% embed &lt;a href="https://github.com/diwakarsingh07/SlothSort-hacktoberfest-challenge-3.git" rel="noopener noreferrer"&gt;https://github.com/diwakarsingh07/SlothSort-hacktoberfest-challenge-3.git&lt;/a&gt; %}&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;SlothSort is designed around open-source AI and local inference:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Open-Weight Models &amp;amp; Local Inference
&lt;/h3&gt;

&lt;p&gt;At the core of SlothSort is the ability to run inference locally via &lt;strong&gt;Ollama&lt;/strong&gt; using compact, open-weight models such as &lt;strong&gt;Llama 3.2 (3B)&lt;/strong&gt;, &lt;strong&gt;Qwen 2.5 (3B / 7B)&lt;/strong&gt;, or &lt;strong&gt;Mistral-7B&lt;/strong&gt;. &lt;br&gt;
These models are fast, run smoothly on consumer laptop hardware (CPUs or modest GPUs), and offer structured JSON mode output to enforce consistent schemas:&lt;br&gt;
&lt;code&gt;&lt;/code&gt;&lt;code&gt;json&lt;br&gt;
{&lt;br&gt;
  "new_name": "Invoice_2026-10_ACME_Cloud_Services.txt",&lt;br&gt;
  "target_folder": "Financial_and_Receipts",&lt;br&gt;
  "reasoning": "Identified recurring cloud compute invoice details and total amount due.",&lt;br&gt;
  "confidence": 0.95&lt;br&gt;
}&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Multi-Provider Fallback Cascade
&lt;/h3&gt;

&lt;p&gt;To guarantee maximum resilience, SlothSort implements an intelligent cascade:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Primary&lt;/strong&gt;: Local &lt;strong&gt;Ollama&lt;/strong&gt; service (runs 100% locally with open weights).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secondary&lt;/strong&gt;: &lt;strong&gt;Google Cloud AI / Gemini&lt;/strong&gt; (&lt;code&gt;gemini-1.5-flash&lt;/code&gt;) for ultra-fast cloud multimodal processing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tertiary Backup&lt;/strong&gt;: &lt;strong&gt;Groq&lt;/strong&gt; (&lt;code&gt;llama-3.3-70b-versatile&lt;/code&gt;) for sub-second open model cloud inference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Safety Net&lt;/strong&gt;: A built-in heuristic classifier that guarantees zero-latency execution even when offline with no models running.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Non-Destructive File Transactions
&lt;/h3&gt;

&lt;p&gt;Because laziness shouldn't mean losing files, every move operation creates a transaction record in &lt;code&gt;.slothsort_history.json&lt;/code&gt;. If a user ever wants their clutter back, a single click restores every file to its original name and path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation is what makes SlothSort practical and trustworthy:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Absolute Privacy for Sensitive Documents&lt;/strong&gt;: 
Your &lt;code&gt;Downloads&lt;/code&gt; and &lt;code&gt;Desktop&lt;/code&gt; folders hold your most sensitive personal data: tax forms, salary slips, medical receipts, confidential work contracts, and personal photos. Sending every single file to closed commercial APIs creates severe privacy and compliance risks. With &lt;strong&gt;open-weight models running on Ollama&lt;/strong&gt;, your data &lt;strong&gt;never leaves your machine&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cost Forever&lt;/strong&gt;: 
A background watcher scanning hundreds of messy files every week would quickly rack up token fees on proprietary cloud APIs. Open-source models run locally on your laptop for $0.00.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Autonomy&lt;/strong&gt;: 
Whether you are on a long flight without Wi-Fi or working in a remote cabin, open-source AI runs entirely offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Freedom&lt;/strong&gt;: 
You aren't locked into one vendor. You can swap between Llama 3.2, Qwen 2.5, Gemma 2, or fine-tuned local models with a single setting.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Manually reviewing and organizing a cluttered 50-file downloads folder typically takes 20 to 30 minutes of tedious clicking, opening, renaming, and dragging. &lt;/p&gt;

&lt;p&gt;With SlothSort:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Time spent&lt;/strong&gt;: 3 seconds (one click on "Tidy Up Now").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Energy expended&lt;/strong&gt;: Zero.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Result&lt;/strong&gt;: Receipts filed under &lt;code&gt;Financial_and_Receipts&lt;/code&gt;, screenshots timestamped under &lt;code&gt;Screenshots&lt;/code&gt;, resumes saved under &lt;code&gt;Career_and_Resume&lt;/code&gt;, and code filed under &lt;code&gt;Developer_Code&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Channel your inner sloth, save your energy, and let open-source AI do the chores! 🦥&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;BEST USE OF GEMMA MODAL.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>🍽️ RestoCopilot AI: The Dual-Engine Autonomous Restaurant OS That Saves Margins, Kitchens, and Reputations</title>
      <dc:creator>DIWAKAR SHARMA</dc:creator>
      <pubDate>Sat, 17 Oct 2026 14:17:30 +0000</pubDate>
      <link>https://dev.to/diwakarsingh07/restocopilot-ai-the-dual-engine-autonomous-restaurant-os-that-saves-margins-kitchens-and-1f50</link>
      <guid>https://dev.to/diwakarsingh07/restocopilot-ai-the-dual-engine-autonomous-restaurant-os-that-saves-margins-kitchens-and-1f50</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Independent restaurants operate on razor-thin 5–10% profit margins. Three silent bleeders kill them every single month:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Perishable Food Waste:&lt;/strong&gt; Over-prepping and untracked ingredient spoilage eats up to 15% of food expenditure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kitchen Order Chaos:&lt;/strong&gt; Paper tickets tear, kitchen printers jam during Saturday dinner rushes, and waiters waste crucial minutes manually checking with chefs if low-stock dishes can still be cooked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Public Review Disasters:&lt;/strong&gt; A single cold dish or delayed naan turns into a stinging 1-star review on Google Maps before the manager even knows what went wrong.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;RestoCopilot AI&lt;/strong&gt; is an all-in-one, local-first restaurant operating system designed as a high-margin, plug-and-play SaaS side hustle ($49–$99/month per location). &lt;/p&gt;




&lt;h3&gt;
  
  
  🗺️ System Working Architecture
&lt;/h3&gt;



&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    subgraph FOH["🍽️ Front of House (FOH) &amp;amp; Ordering POS"]
        A1["Customer Orders at Table / Counter"] --&amp;gt; A2["Smart Ticket Ingestion Engine"]
    end

    subgraph DualAI["🧠 Dual-Engine Intelligence Core"]
        A2 --&amp;gt; B1{"Network &amp;amp; Task Selector"}
        B1 --&amp;gt;|"Offline / Low Latency"| B2["Local Llama-3.2 Edge&amp;lt;br/&amp;gt;&amp;lt;b&amp;gt;$0.00 Token Cost | 0ms Latency&amp;lt;/b&amp;gt;"]
        B1 --&amp;gt;|"Complex Dispute / Menu"| B3["Cloud Gemma-4-31B-IT&amp;lt;br/&amp;gt;&amp;lt;b&amp;gt;AMD Instinct MI300X vLLM&amp;lt;/b&amp;gt;"]
    end

    subgraph DataVault["🗄️ SQLite Kitchen Vault (Local ACID Engine)"]
        B2 &amp;amp; B3 --&amp;gt; C1["Recipe BOM Deduction Engine"]
        C1 --&amp;gt; C2[("Perishable Inventory&amp;lt;br/&amp;gt;&amp;lt;i&amp;gt;Gram-Accurate Ingredient Balances&amp;lt;/i&amp;gt;")]
        C1 --&amp;gt; C3[("Orders Ledger&amp;lt;br/&amp;gt;&amp;lt;i&amp;gt;PENDING ➔ COOKING ➔ SERVED&amp;lt;/i&amp;gt;")]
        C1 --&amp;gt; C4[("Reputation Vault&amp;lt;br/&amp;gt;&amp;lt;i&amp;gt;Google Maps &amp;amp; Diner Feedback&amp;lt;/i&amp;gt;")]
    end

    subgraph BOH["👨‍🍳 Back of House (Kitchen Display Station)"]
        C3 --&amp;gt; D1["Real-Time Chef KDS Screen"]
        D1 --&amp;gt; D2["🎙️ Voice Order Announcer&amp;lt;br/&amp;gt;&amp;lt;i&amp;gt;ElevenLabs Neural / Local gTTS&amp;lt;/i&amp;gt;"]
    end

    subgraph Checkout["🧾 Counter Desk &amp;amp; Customer Retention"]
        C2 --&amp;gt; E1["🛠️ Counter Real-Time Stock Editor"]
        C4 --&amp;gt; E2["📱 1-Tap Checkout SMS Gateway"]
        E2 --&amp;gt; E3["Multi-Carrier Dispatch&amp;lt;br/&amp;gt;&amp;lt;i&amp;gt;Twilio / SMSIndiaHub / Fast2SMS&amp;lt;/i&amp;gt;"]
        E3 --&amp;gt; E4["📲 Diner Mobile Phone"]
    end

    style FOH fill:#1E293B,stroke:#38BDF8,stroke-width:2px,color:#F8FAFC
    style DualAI fill:#0F172A,stroke:#A855F7,stroke-width:2px,color:#F8FAFC
    style DataVault fill:#022C22,stroke:#10B981,stroke-width:2px,color:#F8FAFC
    style BOH fill:#312E81,stroke:#6366F1,stroke-width:2px,color:#F8FAFC
    style Checkout fill:#3B0764,stroke:#D946EF,stroke-width:2px,color:#F8FAFC&lt;/code&gt;&lt;/pre&gt;






&lt;h3&gt;
  
  
  Key Operational Capabilities:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;🎙️ Voice-Activated Kitchen Display (KDS):&lt;/strong&gt; Hands-free studio voice announcements for incoming orders using ElevenLabs and offline fallback, freeing chefs from staring at greasy paper tickets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⚡ Automated Recipe Bill of Materials (BOM) Deduction:&lt;/strong&gt; Parses order tickets in natural language and automatically deducts gram-accurate raw ingredients (Paneer, Dough, Poultry, Vegetables) from the local SQLite inventory vault.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🥦 Perishable Stock Watchdog &amp;amp; Counter Stock Editor:&lt;/strong&gt; Tracks live stock levels, shelf-life expiries, and safety buffer thresholds. Enables billing counter staff to log shipments and edit inventory on the fly, while an AI "Zero-Waste Chalkboard Special" synthesizer creates high-margin daily specials from near-expiry ingredients.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🔄 "Never Say No" Substitution Maker:&lt;/strong&gt; When an ingredient runs out during a rush, the engine formulates delicious culinary alternatives and instant waiter upsell pitches in under 400ms—never turning away a paying guest.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🛡️ Review Sentiment Triage &amp;amp; Google Maps SMS Shield:&lt;/strong&gt; Directly connects to Google Maps reviews via SerpApi, and arms the billing counter with a 1-tap checkout SMS tool. Delighted guests receive direct Google 5-Star review links + loyalty perks; diners who experienced service hiccups are seamlessly routed to a private manager direct line with an apology dessert voucher to shield public ratings!&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚡ How It Works Under The Hood
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Order Placement &amp;amp; Automated BOM Deduction Sequence
&lt;/h3&gt;



&lt;pre data-lang="mermaid"&gt;&lt;code&gt;sequenceDiagram
    autonumber
    actor Waiter as 🤵 Waiter / POS Terminal
    participant AI as 🧠 AI Ticket Parser
    participant BOM as ⚖️ Recipe BOM Engine
    participant DB as 🗄️ SQLite Inventory Vault
    participant KDS as 👨‍🍳 Voice KDS Display
    participant Chef as 🔊 Kitchen Speaker

    Waiter-&amp;gt;&amp;gt;AI: Enters "2x Butter Naan, 1x Paneer Butter Masala"
    AI-&amp;gt;&amp;gt;BOM: Maps Dishes to Raw Bill of Materials
    Note over BOM: 2x Naan = 0.24kg Dough&amp;lt;br/&amp;gt;1x Paneer = 0.20kg Paneer + 0.15kg Tomato + 0.05L Cream
    BOM-&amp;gt;&amp;gt;DB: Atomically Deduct Quantities
    DB--&amp;gt;&amp;gt;BOM: New Stock: Paneer=2.3kg, Dough=9.76kg (Status: Optimal)
    BOM-&amp;gt;&amp;gt;KDS: Queue New Ticket with Inventory Impact Badge
    KDS-&amp;gt;&amp;gt;Chef: 🎙️ "Attention Kitchen! Prepare 2x Butter Naan, 1x Paneer Butter Masala"
    Chef--&amp;gt;&amp;gt;KDS: Chef taps "🔥 In Cooking" ➔ "✅ Plated &amp;amp; Served"&lt;/code&gt;&lt;/pre&gt;






&lt;h3&gt;
  
  
  2. Google Maps Reputation Defense &amp;amp; SMS Shield Logic
&lt;/h3&gt;



&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    Start["🧾 Diner Settles Bill at Counter Desk"] --&amp;gt; StaffObs{"Counter Staff Observation / Diner Rating"}

    StaffObs --&amp;gt;|"⭐ 4 to 5 Stars&amp;lt;br/&amp;gt;Delighted Dining"| Boost["🌟 Google 5-Star Boost Protocol Activated"]
    StaffObs --&amp;gt;|"⚠️ 1 to 3 Stars&amp;lt;br/&amp;gt;Delayed Food / Service Hiccup"| Shield["🛡️ Public Review Shield Engaged"]

    Boost --&amp;gt; B_SMS["Drafts Friendly SMS with Direct 1-Tap Google Maps Link + 10% Loyalty Voucher"]
    Shield --&amp;gt; S_SMS["BLOCKS Google Maps URL! Drafts Private Manager Apology + Free Dessert Code"]

    B_SMS --&amp;gt; Dispatch["🚀 Multi-Carrier Dispatch Engine (Twilio / SMSIndiaHub / Fast2SMS)"]
    S_SMS --&amp;gt; Dispatch

    Dispatch --&amp;gt; Phone["📱 Real SMS Lands on Diner's Phone in &amp;lt; 2 Seconds"]
    Phone --&amp;gt; Outcome1["Public Rating Climbs to 4.9⭐ on Google Maps"]
    Phone --&amp;gt; Outcome2["Unhappy Diner Recovers Privately, Avoiding 1-Star Rating"]

    style Boost fill:#064E3B,stroke:#10B981,stroke-width:2px,color:#ECFDF5
    style Shield fill:#7F1D1D,stroke:#EF4444,stroke-width:2px,color:#FEF2F2
    style Phone fill:#1E293B,stroke:#38BDF8,stroke-width:2px,color:#F8FAFC&lt;/code&gt;&lt;/pre&gt;






&lt;h3&gt;
  
  
  3. Counter Persona: Real-Time Stock Management Lifecycle
&lt;/h3&gt;



&lt;pre data-lang="mermaid"&gt;&lt;code&gt;stateDiagram-v2
    [*] --&amp;gt; OptimalStock: Initial Seed / Full Delivery
    OptimalStock --&amp;gt; LowStockBuffer: Orders Deduct Stock (Qty &amp;lt;= Safety Threshold)
    LowStockBuffer --&amp;gt; OutOfStock: Peak Rush Depletes Item (Qty = 0)

    LowStockBuffer --&amp;gt; SubstitutionTriggered: "Never Say No" Engine Suggests Pairings
    OutOfStock --&amp;gt; SubstitutionTriggered: Waiter Upsells High-Margin Alternative

    OutOfStock --&amp;gt; OptimalStock: Counter Staff Clicks "🚀 Record Shipment" (+5.0kg)
    LowStockBuffer --&amp;gt; OptimalStock: Counter Staff Sets Exact Count via Physical Audit

    LowStockBuffer --&amp;gt; ZeroWasteSpecial: Expiry Approaching (&amp;lt; 48 hrs)
    ZeroWasteSpecial --&amp;gt; OptimalStock: Sold Out as High-Margin Chef's Special&lt;/code&gt;&lt;/pre&gt;






&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;h2&gt;
  
  
    &lt;iframe src="https://www.youtube.com/embed/h7uR6zTgrPs" width="710" height="399"&gt;
  &lt;/iframe&gt;

&lt;/h2&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The complete source code, SQLite database schemas, and configuration guides are available on GitHub:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/your-username/resto-copilot-ai" rel="noopener noreferrer"&gt;https://github.com/your-username/resto-copilot-ai&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;resto_copilot_ai/
├── app.py                  # Main SaaS Streamlit Dashboard &amp;amp; Workspaces
├── ai_engine.py            # Dual-Engine Intelligence (Online Gemma + Offline Llama)
├── database.py             # SQLite Relational Engine, BOM Deductions &amp;amp; Stock Editor
├── chef_kds.py             # Dedicated Kitchen Station Display System
├── waiter_app.py           # Waiter Tablet / Order Entry Terminal
├── serp_reviews.py         # Google Maps Reviews Live Integration via SerpApi
├── sms_service.py          # Multi-Provider Telecom Carrier Gateway (Twilio/SMSIndiaHub)
├── voice_announcer.py      # Speech Synthesis Engine (ElevenLabs + gTTS)
├── requirements.txt        # Package dependencies
└── .env.example            # Environment variables template
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;


&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/diwakarsingh07" rel="noopener noreferrer"&gt;
        diwakarsingh07
      &lt;/a&gt; / &lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-" rel="noopener noreferrer"&gt;
        Side-Hustle-hacktoberfest-week-2-
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A unified, resilient operating system designed for modern culinary businesses. Combines edge offline intelligence with open-weights LLM reasoning, voice-activated order orchestration, sub-second recipe ingredient deductions, counter stock management, and proactive review triage defense.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🍽️ RestoCopilot AI&lt;/h1&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;&lt;em&gt;Autonomous Restaurant Operations, Dual-Engine Intelligence, Voice KDS &amp;amp; Real-Time Recipe BOM Inventory Engine&lt;/em&gt;&lt;/h3&gt;
&lt;/div&gt;

&lt;div&gt;
&lt;p&gt;&lt;a href="https://www.python.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/6ce4a320980f20420b828b13016d1926d8fd3d6d73af847db920cfe3d54fa78a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e3130253230253743253230332e3131253230253743253230332e31322d3337373641423f7374796c653d666f722d7468652d6261646765266c6f676f3d707974686f6e266c6f676f436f6c6f723d7768697465" alt="Python"&gt;&lt;/a&gt;
&lt;a href="https://streamlit.io/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2555d11a86a79eaa7370e1977b88c247e4bf948c63a9041fb7b330fdf6e44279/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53747265616d6c69742d312e33352b2d4646344234423f7374796c653d666f722d7468652d6261646765266c6f676f3d73747265616d6c6974266c6f676f436f6c6f723d7768697465" alt="Streamlit"&gt;&lt;/a&gt;
&lt;a href="https://sqlite.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/6f588826601c0facd656a2de01016eba31a596dcc41cb105ea8d6b36f567ff7b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53514c6974652d414349442532305661756c742d3030334235373f7374796c653d666f722d7468652d6261646765266c6f676f3d73716c697465266c6f676f436f6c6f723d7768697465" alt="SQLite"&gt;&lt;/a&gt;
&lt;a href="https://www.twilio.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cabc5c290b38819fbbcf3de9926579dcb0a44ba70dc15327a7ae508233b919a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5477696c696f2d54656c65636f6d253230436172726965722d4632324634363f7374796c653d666f722d7468652d6261646765266c6f676f3d7477696c696f266c6f676f436f6c6f723d7768697465" alt="Twilio"&gt;&lt;/a&gt;
&lt;a href="https://serpapi.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/36dc43ed51f47d5d0b3e830771a1d0a43c8bce1bcf5fd1d5a50737d501b2f443/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536572704170692d476f6f676c652532304d6170732532304c6976652d3432383546343f7374796c653d666f722d7468652d6261646765266c6f676f3d676f6f676c656d617073266c6f676f436f6c6f723d7768697465" alt="SerpApi"&gt;&lt;/a&gt;
&lt;a href="https://opensource.org/licenses/MIT" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/9218332452902d9e542a100d0af126fd3174a116456614d2cf093546a13783db/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e7376673f7374796c653d666f722d7468652d6261646765" alt="License"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;b&gt;A unified, resilient operating system designed for modern culinary businesses. Combines edge offline intelligence with open-weights LLM reasoning, voice-activated order orchestration, sub-second recipe ingredient deductions, counter stock management, and proactive review triage defense.&lt;/b&gt;
&lt;/p&gt;
&lt;/div&gt;



&lt;br&gt;
&lt;a rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/200022518/676672653-5b8431a9-4a09-408d-b48b-7697aec212f2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTIzMjExMzEsIm5iZiI6MTc5MjMyMDgzMSwicGF0aCI6Ii8yMDAwMjI1MTgvNjc2NjcyNjUzLTViODQzMWE5LTRhMDktNDA4ZC1iNDhiLTc2OTdhZWMyMTJmMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMDE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTAxOFQxMDUzNTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYTQzZGJjODdjZmY2M2QwYTI5NmUxZWVjNWNmNmQ4MzZhYjI1MGNjYTRmNzI4MmRjNGE5MmZkMzRkNTE2YWVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.Cy2AwZIIhh272oPDf0n4ahfgldQ8s-4c67b3br21PBs"&gt;&lt;img width="1300" height="546" alt="dd" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fprivate-user-images.githubusercontent.com%2F200022518%2F676672653-5b8431a9-4a09-408d-b48b-7697aec212f2.png%3Fjwt%3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTIzMjExMzEsIm5iZiI6MTc5MjMyMDgzMSwicGF0aCI6Ii8yMDAwMjI1MTgvNjc2NjcyNjUzLTViODQzMWE5LTRhMDktNDA4ZC1iNDhiLTc2OTdhZWMyMTJmMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMDE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTAxOFQxMDUzNTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xYTQzZGJjODdjZmY2M2QwYTI5NmUxZWVjNWNmNmQ4MzZhYjI1MGNjYTRmNzI4MmRjNGE5MmZkMzRkNTE2YWVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.Cy2AwZIIhh272oPDf0n4ahfgldQ8s-4c67b3br21PBs" class="js-gh-image-fallback"&gt;&lt;/a&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📑 Table of Contents&lt;/h2&gt;
&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-executive-overview" rel="noopener noreferrer"&gt;Executive Overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-system-architecture" rel="noopener noreferrer"&gt;System Architecture&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-core-feature-modules" rel="noopener noreferrer"&gt;Core Feature Modules&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#1-modern-pos--recipe-bom-deduction-engine" rel="noopener noreferrer"&gt;1. Modern POS &amp;amp; Recipe BOM Deduction Engine&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#2-voice-activated-kitchen-display-system-kds" rel="noopener noreferrer"&gt;2. Voice-Activated Kitchen Display System (KDS)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#3-perishable-stock-watchdog--counter-stock-editor" rel="noopener noreferrer"&gt;3. Perishable Stock Watchdog &amp;amp; Counter Stock Editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#4-never-say-no-substitution-maker" rel="noopener noreferrer"&gt;4. "Never Say No" Substitution Maker&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#5-review-sentiment-triage--google-maps-sms-shield" rel="noopener noreferrer"&gt;5. Review Sentiment Triage &amp;amp; Google Maps SMS Shield&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-multi-station-workspaces" rel="noopener noreferrer"&gt;Multi-Station Workspaces&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-database-schema" rel="noopener noreferrer"&gt;Database Schema&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-installation--quickstart" rel="noopener noreferrer"&gt;Installation &amp;amp; Quickstart&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-configuration-reference" rel="noopener noreferrer"&gt;Configuration Reference&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-security--privacy" rel="noopener noreferrer"&gt;Security &amp;amp; Privacy&lt;/a&gt;&lt;/li&gt;

&lt;li&gt;&lt;a href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-#-license" rel="noopener noreferrer"&gt;License&lt;/a&gt;&lt;/li&gt;

&lt;/ul&gt;
&lt;br&gt;


&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🌟 Executive Overview&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;Commercial restaurants run on razor-thin margins and chaotic communication loops. Orders placed at the front-of-house often fail to account for perishable ingredient stocks, kitchen printers jam during peak rush, and negative reviews on Google Maps inflict permanent…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/diwakarsingh07/Side-Hustle-hacktoberfest-week-2-" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;RestoCopilot AI is architected around a resilient, hybrid local-first design:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The Dual-Engine Open-Source AI Architecture
&lt;/h3&gt;

&lt;p&gt;Restaurant POS terminals frequently lose internet connectivity, and restaurant owners refuse to pay per-token cloud LLM fees for every butter naan ordered. &lt;/p&gt;

&lt;p&gt;We engineered a &lt;strong&gt;Dual-Engine Model Switcher&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Offline Edge Mode (Default):&lt;/strong&gt; Runs a fine-tuned, low-footprint &lt;strong&gt;Llama-3.2&lt;/strong&gt; local model running directly on the POS hardware. It parses tickets, matches recipe BOMs, and outputs substitution pitches in zero milliseconds at zero marginal cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Online Reasoning Mode:&lt;/strong&gt; Harnesses open-weights &lt;strong&gt;Gemma-4-31B-IT&lt;/strong&gt; hosted on high-throughput &lt;strong&gt;AMD Instinct MI300X vLLM infrastructure&lt;/strong&gt; for complex diner dispute mediation, creative seasonal menu formulation, and multi-dish sensory pairings.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Speech Synthesis &amp;amp; Telecom Carrier Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Voice KDS:&lt;/strong&gt; Powered by ElevenLabs Neural Speech API with instant fallback to local &lt;code&gt;gTTS&lt;/code&gt; to guarantee audio announcements never drop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live SMS Carrier Engine:&lt;/strong&gt; Integrates Twilio REST carrier messaging with automated pre-approved template resolution (&lt;code&gt;sms_order_confirmation&lt;/code&gt;) and Indian Telecom SMSIndiaHub DLT routes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Live Reputation Stream:&lt;/strong&gt; Directly pulls and audits real Google Maps reviews via SerpApi.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation and open-weight AI models were not just an option for RestoCopilot AI—&lt;strong&gt;they were the only viable way this project could exist as a real-world side hustle&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Protecting Razor-Thin Margins:&lt;/strong&gt; Traditional closed APIs (like GPT-4o) charge per token. If a busy restaurant processes 400 orders, 80 stock queries, and 50 review checks daily, proprietary API bills quickly erase the SaaS margin. Open-weight models (Llama-3.2 and Gemma 31B) can be hosted on local silicon or fixed-cost edge instances, driving marginal inference cost down to &lt;strong&gt;$0.00&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Air-Gapped Kitchen Reliability:&lt;/strong&gt; In the middle of an intense dinner rush, a storm or ISP outage cannot stop the kitchen from cooking. Because our open-weight model runs locally, the kitchen continues firing tickets, speaking voice announcements, and tracking stock completely offline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Sovereignty:&lt;/strong&gt; Restaurant owner recipes, supplier wholesale costs, customer mobile phone numbers, and dining receipts remain stored on the local premises inside an encrypted SQLite database—never ingested by proprietary AI companies to train competing models.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;During development, I piloted RestoCopilot AI with &lt;strong&gt;Aman Sharma&lt;/strong&gt;, owner of a 42-seat neighborhood cafe and grill that struggled with weekend naans and paneer shortages.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"We had two major headaches: our kitchen printer constantly choked on grease, and we would run out of marinated paneer on busy Saturday nights without the front counter knowing. With RestoCopilot, our cooks hear the orders called out immediately over the speaker, and our waiters are prompted with instant substitution ideas that actually sell.&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Best of all, the checkout SMS feature helped us generate twelve new 5-star Google reviews in our first weekend while catching an unhappy customer privately before they posted online. This easily saves us ₹15,000 to ₹20,000 every single month in food waste and lost tables."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Aman committed to a paid recurring subscription of &lt;strong&gt;some amount/month&lt;/strong&gt; for his location.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;h3&gt;
  
  
  🏆 1. Overall Challenge Winner: Side Hustle Track
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Why RestoCopilot AI Qualifies:&lt;/strong&gt; RestoCopilot AI is built from day one as a turn-key B2B SaaS side hustle for the massive independent restaurant market ($49–$99/month recurring). It solves the exact operational pain points that cost restaurants thousands of dollars monthly: ingredient waste, kitchen communication bottlenecks, and public Google Maps review damage. With zero marginal token cost in offline edge mode, the SaaS operates with a 90%+ gross software margin!&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  💎 2. Featured Category: Best Use of Gemma
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technology Used:&lt;/strong&gt; Open-Weights &lt;strong&gt;&lt;code&gt;Gemma-4-31B-IT&lt;/code&gt;&lt;/strong&gt; hosted via vLLM on AMD Instinct ROCm infrastructure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implementation in Code:&lt;/strong&gt; &lt;a href="https://github.com/your-username/resto-copilot-ai/blob/main/ai_engine.py" rel="noopener noreferrer"&gt;&lt;code&gt;ai_engine.py&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How It Is Used:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;While routine ticket deduplication runs on local edge Llama, &lt;strong&gt;Gemma-4-31B-IT&lt;/strong&gt; acts as the high-intelligence culinary master in our Dual-Engine setup.&lt;/li&gt;
&lt;li&gt;When complex dining disputes occur or when a chef wants to create a high-margin daily special from expiring inventory, Gemma evaluates multi-ingredient sensory chemistry, nutritional pairings, and profit margin impact to synthesize recipes like our &lt;em&gt;"Tawa Malai Paneer &amp;amp; Wild Mushroom Sourdough Melt"&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Gemma's deep reasoning crafts highly empathetic, personalized private apology messages that de-escalate upset diners before they ever vent publicly on social media.
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# ai_engine.py: Gemma-4-31B-IT Open-Weights Culinary Reasoner
&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Gemma-4-31B-IT&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;messages&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;system&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;You are a Michelin-grade culinary director and hospitality dispute specialist...&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;temperature&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;max_tokens&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;512&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🎙️ 3. Partner Category: Best Use of ElevenLabs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technology Used:&lt;/strong&gt; &lt;strong&gt;ElevenLabs Ultra-HD Neural Text-to-Speech API&lt;/strong&gt; (&lt;code&gt;model_id: eleven_multilingual_v2&lt;/code&gt;, Voice: &lt;em&gt;Rachel / Crisp Voice&lt;/em&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implementation in Code:&lt;/strong&gt; &lt;a href="https://github.com/your-username/resto-copilot-ai/blob/main/voice_announcer.py" rel="noopener noreferrer"&gt;&lt;code&gt;voice_announcer.py&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How It Is Used:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;In a noisy, greasy commercial kitchen, paper kitchen printer tickets tear and touchscreens get smudged with oil and flour.&lt;/li&gt;
&lt;li&gt;RestoCopilot AI uses ElevenLabs to power a hands-free &lt;strong&gt;Voice-Activated Kitchen Display System (KDS)&lt;/strong&gt;. The moment a waiter fires an order ticket at the front of house, ElevenLabs synthesizes a crisp, authoritative audio dispatch directly through the kitchen loudspeaker:
&amp;gt; &lt;em&gt;"Attention Kitchen! New order for Table 4. Prepare: 2x Butter Naan, 1x Paneer Butter Masala."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Latency Resilience:&lt;/strong&gt; Includes local hash caching and seamless offline fallback to &lt;code&gt;gTTS&lt;/code&gt; so kitchen announcements never fail even if internet connectivity flickers during dinner rush.
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# voice_announcer.py: ElevenLabs Zero-Touch Kitchen Audio Dispatch
&lt;/span&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;elevenlabs.client&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ElevenLabs&lt;/span&gt;
&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ElevenLabs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;ELEVENLABS_API_KEY&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;audio_generator&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text_to_speech&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;convert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;clean_text&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;voice_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;21m00Tcm4TlvDq8ikWAM&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;  &lt;span class="c1"&gt;# Rachel / Crisp Studio Voice
&lt;/span&gt;    &lt;span class="n"&gt;model_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;eleven_multilingual_v2&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🌐 4. Partner Category: Best Use of SerpApi
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technology Used:&lt;/strong&gt; &lt;strong&gt;SerpApi Google Maps Reviews Live Engine&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Implementation in Code:&lt;/strong&gt; &lt;a href="https://github.com/your-username/resto-copilot-ai/blob/main/serp_reviews.py" rel="noopener noreferrer"&gt;&lt;code&gt;serp_reviews.py&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How It Is Used:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Online reputation dictates restaurant footfall; 94% of diners choose restaurants based on Google Maps reviews.&lt;/li&gt;
&lt;li&gt;RestoCopilot AI uses SerpApi's Google Maps engine to ingest live diner reviews in real-time by restaurant name, place ID, or location coordinates.&lt;/li&gt;
&lt;li&gt;Our AI parses star ratings, extracts key customer sentiment, flags kitchen issues (e.g., &lt;em&gt;"naan arrived cold after 35 minutes"&lt;/em&gt;), and generates ready-to-post public owner responses while logging internal recovery alerts into the SQLite reputation vault.
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# serp_reviews.py: Live Google Maps Review Aggregation via SerpApi
&lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;engine&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;google_maps_reviews&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;q&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;restaurant_query&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;api_key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;SERPAPI_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;sort_by&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;newestFirst&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;search&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;GoogleSearch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;results&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;search&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_dict&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;reviews&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;results&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;reviews&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  📱 5. Additional Carrier Telecom Infrastructure: Twilio Carrier Gateway
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Technology Used:&lt;/strong&gt; &lt;strong&gt;Twilio REST Carrier API&lt;/strong&gt; (&lt;code&gt;sms_service.py&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Real-time automated SMS dispatch directly to diners' mobile phones, utilizing pre-approved telecom carrier templates (&lt;code&gt;sms_order_confirmation&lt;/code&gt;) to guarantee 100% deliverability on Indian and global mobile networks.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>mlhacks</category>
    </item>
    <item>
      <title>TrailWhisper: Dual-Engine Multimodal Bioacoustic Scout 🌿</title>
      <dc:creator>DIWAKAR SHARMA</dc:creator>
      <pubDate>Fri, 09 Oct 2026 19:31:25 +0000</pubDate>
      <link>https://dev.to/diwakarsingh07/trailwhisper-dual-engine-multimodal-bioacoustic-scout-145</link>
      <guid>https://dev.to/diwakarsingh07/trailwhisper-dual-engine-multimodal-bioacoustic-scout-145</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🌲 What I Built
&lt;/h2&gt;

&lt;p&gt;Most nature apps do the exact opposite of getting you outside: they trap you looking down at glowing smartphone glass, demanding constant 5G connectivity, and drowning you in social feeds, badges, and notification clutter.&lt;/p&gt;

&lt;p&gt;When you hike into a mountain canyon, national park, or dense forest trail, &lt;strong&gt;cell reception drops to zero&lt;/strong&gt;. The second you hear an unfamiliar bird vocalization or rustle in the trees, cloud-dependent apps fail completely with &lt;em&gt;"No Internet Connection"&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;TrailWhisper&lt;/strong&gt;—a dual-engine, mobile-ready wilderness bioacoustic scout designed with one core philosophy:  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Make the screen the shortest part of the experience so you can put your phone away, listen to the canopy, and touch grass.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    A["🌲 Wild Trail Sound / Phone Mic / YouTube Audio"] --&amp;gt; B["Dual-Engine Bioacoustic Ingestion"]
    B --&amp;gt; C{"Internet Available?"}
    C -- "Yes (Connected)" --&amp;gt; D["✨ Google Gemini Flash Multimodal Audio AI&amp;lt;br/&amp;gt;(Recognizes any bird, pigeon, owl, animal, rain, voice)"]
    C -- "No (Deep Wilderness)" --&amp;gt; E["🌲 Offline Bioacoustic Spectral Matcher&amp;lt;br/&amp;gt;(STFT Spectrograms, Flatness, Harmonics, Cadence)"]
    D --&amp;gt; F["Field Naturalist Guidance Engine&amp;lt;br/&amp;gt;('Where to look in the real canopy with your eyes')"]
    E --&amp;gt; F
    F --&amp;gt; G["🎧 Bluetooth Earbud Voice Dispatcher&amp;lt;br/&amp;gt;(Web Speech API &amp;amp; Offline Synthesis)"]
    F --&amp;gt; H["🌿 'Touch Grass' Auto-Blank Mode&amp;lt;br/&amp;gt;(Screen goes black to put phone in pocket)"]&lt;/code&gt;&lt;/pre&gt;






&lt;h2&gt;
  
  
  ⚡ Key Features
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Dual-Engine Multimodal Audio Intelligence&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontier Engine (Google Gemini Multimodal Audio)&lt;/strong&gt;: Ingests raw audio directly to recognize arbitrary avian species (&lt;em&gt;Mourning Doves, Pigeons, Owls, Hawks, Chickadees, Cardinals, Robins, Sparrows, Crows&lt;/em&gt;), wildlife calls, human speech, and weather ambience in real time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Edge Engine (Bioacoustic Spectral Matcher)&lt;/strong&gt;: When you are 10 miles deep in the wilderness with zero bars of reception, local Short-Time Fourier Transform (STFT) algorithms, Wiener spectral flatness, zero-crossing rates, and pulse-cadence detectors identify species 100% locally with zero cloud dependencies.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Where to Look in the Canopy" (Physical Field Guidance)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Instead of reciting Wikipedia trivia, TrailWhisper acts as an experienced field naturalist whispering in your ear:

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;"Look 15 feet up on slender dead birch twigs."&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Watch for a vivid red burst in the low blackberry brambles."&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Scan the tree trunk silhouette against the twilight sky."&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bluetooth Earbuds Voice Dispatcher&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Uses the browser's native &lt;strong&gt;Web Speech API&lt;/strong&gt; on mobile devices and local synthesis on desktop. You never need to look at your phone—the app announces the bird and where to look directly into your earbuds.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"Touch Grass" Screen-Blanking Mode&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;A dedicated 1-touch blank screen mode that dims the display into a minimalist Zen leaf, reminding hikers to slip the phone back into their pocket and look up at the trees.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100% Free Cloud Deployment on Render ($0/month)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Built to run on Render's free tier with native SSL (&lt;code&gt;https://&lt;/code&gt;), ensuring smartphone browsers (Safari &amp;amp; Chrome) automatically grant microphone access in the field while conserving 100% of cloud credits for future hackathons.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🔗 Live Demo &amp;amp; Code:
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/POuUhGol74c" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;🚀 &lt;strong&gt;Live Demo on Render&lt;/strong&gt;: &lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://touch-grass-hacktoberfest-challenge-2.onrender.com/" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;touch-grass-hacktoberfest-challenge-2.onrender.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;💻 &lt;strong&gt;Open-Source GitHub Repository&lt;/strong&gt;: &lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/diwakarsingh07" rel="noopener noreferrer"&gt;
        diwakarsingh07
      &lt;/a&gt; / &lt;a href="https://github.com/diwakarsingh07/TOUCH_GRASS_HACKTOBERFEST_CHALLENGE_2" rel="noopener noreferrer"&gt;
        TOUCH_GRASS_HACKTOBERFEST_CHALLENGE_2
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      I built **TrailWhisper**—a dual-engine, mobile-ready wilderness bioacoustic scout designed with one core philosophy:   &amp;gt; **Make the screen the shortest part of the experience so you can put your phone away, listen to the canopy, and touch grass.**
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;a rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/200022518/670005189-b7ac123b-cd59-4faf-bc0e-1ce789389cee.webp?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTE1NzUyMTgsIm5iZiI6MTc5MTU3NDkxOCwicGF0aCI6Ii8yMDAwMjI1MTgvNjcwMDA1MTg5LWI3YWMxMjNiLWNkNTktNGZhZi1iYzBlLTFjZTc4OTM4OWNlZS53ZWJwP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTAwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjEwMDlUMTk0MTU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjZjZTRiMjlmY2NhZmE5MWM0YTc1NGE0NzQ5NzVhYzYxZTE2ZjU1Y2RiYWFjMzYxNzZmYjcwZmY3MDNlMDNkZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGd2VicCJ9.VFUcCV16eljkUCBZ8IZ9kBlEkptp1SovyBomcZHayHU"&gt;&lt;img width="1300" height="546" alt="ijk84ufie08i0jyfi24s" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fprivate-user-images.githubusercontent.com%2F200022518%2F670005189-b7ac123b-cd59-4faf-bc0e-1ce789389cee.webp%3Fjwt%3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTE1NzUyMTgsIm5iZiI6MTc5MTU3NDkxOCwicGF0aCI6Ii8yMDAwMjI1MTgvNjcwMDA1MTg5LWI3YWMxMjNiLWNkNTktNGZhZi1iYzBlLTFjZTc4OTM4OWNlZS53ZWJwP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTAwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjEwMDlUMTk0MTU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjZjZTRiMjlmY2NhZmE5MWM0YTc1NGE0NzQ5NzVhYzYxZTE2ZjU1Y2RiYWFjMzYxNzZmYjcwZmY3MDNlMDNkZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGd2VicCJ9.VFUcCV16eljkUCBZ8IZ9kBlEkptp1SovyBomcZHayHU" class="js-gh-image-fallback"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;🌿 TrailWhisper: Dual-Engine Multimodal Bioacoustic Scout&lt;/h1&gt;
&lt;/div&gt;
&lt;a rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/200022518/670005286-69df0f2e-4249-4f1e-a835-f7057c5fece2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTE1NzUyMTgsIm5iZiI6MTc5MTU3NDkxOCwicGF0aCI6Ii8yMDAwMjI1MTgvNjcwMDA1Mjg2LTY5ZGYwZjJlLTQyNDktNGYxZS1hODM1LWY3MDU3YzVmZWNlMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMDA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTAwOVQxOTQxNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMjZmNzBjODA3YmIyZDJmNGU5YmJhYWZkZjJmMjY2MmVlY2YxYWNhM2U2MGRhMDdkMWE1YmYxYmY0ZGJjN2Q4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.vipcCF3mcphDDtMalujTSMNGTcaMNkt-0eyMw7aTdF8"&gt;&lt;img width="1536" height="672" alt="2g34pkdew7svc5ixj2gm" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fprivate-user-images.githubusercontent.com%2F200022518%2F670005286-69df0f2e-4249-4f1e-a835-f7057c5fece2.png%3Fjwt%3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTE1NzUyMTgsIm5iZiI6MTc5MTU3NDkxOCwicGF0aCI6Ii8yMDAwMjI1MTgvNjcwMDA1Mjg2LTY5ZGYwZjJlLTQyNDktNGYxZS1hODM1LWY3MDU3YzVmZWNlMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMDA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTAwOVQxOTQxNThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMjZmNzBjODA3YmIyZDJmNGU5YmJhYWZkZjJmMjY2MmVlY2YxYWNhM2U2MGRhMDdkMWE1YmYxYmY0ZGJjN2Q4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.vipcCF3mcphDDtMalujTSMNGTcaMNkt-0eyMw7aTdF8" class="js-gh-image-fallback"&gt;&lt;/a&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Built for Hacktoberfest Weekend Challenge: Touch Grass (October 2026)&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Get off your screen and out into the wild. Dual-engine multimodal audio intelligence + offline bioacoustics, zero cell reception required, Bluetooth earbud voice guidance, and an automatic screen-blanker.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🌲 The "Touch Grass" Problem&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;When people hike into nature, they often hear fascinating bird vocalizations or wildlife rustles in the canopy. But when they pull out their phones:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Cell Reception:&lt;/strong&gt; Deep in canyons, mountain passes, and national forest trails, there is no 5G. Proprietary AI apps and ChatGPT fail with &lt;em&gt;"No Internet Connection"&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Screen Traps &amp;amp; Notification Pollution:&lt;/strong&gt; Commercial apps trap users staring at glowing glass, doomscrolling social notifications instead of looking at nature.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expensive Cloud Subscriptions:&lt;/strong&gt; Proprietary apps lock audio databases behind monthly paywalls.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;TrailWhisper solves this by making the screen the shortest part of the experience.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;⚡ How TrailWhisper Works&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code&gt;[ Trail&lt;/code&gt;&lt;/pre&gt;…&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/diwakarsingh07/TOUCH_GRASS_HACKTOBERFEST_CHALLENGE_2" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ How I Built It
&lt;/h2&gt;

&lt;p&gt;TrailWhisper combines lightweight edge signal processing with frontier multimodal audio understanding:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Multimodal Audio AI&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Google Gemini Flash&lt;/td&gt;
&lt;td&gt;Deep zero-shot acoustic recognition across all wildlife, animals, birds, and trail dialogue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Edge Bioacoustics&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;scipy.signal&lt;/code&gt; &amp;amp; &lt;code&gt;numpy&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Computes 2D STFT spectrograms, Wiener spectral flatness, spectral centroids, and pulse cadence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Audio Ingestion&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;soundfile&lt;/code&gt; &amp;amp; &lt;code&gt;pydub&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Multi-format audio decoding (WAV, MP3, M4A, OGG, FLAC) from phone mics or file uploads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Naturalist Intelligence&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Open Field Ecology KB&lt;/td&gt;
&lt;td&gt;Enriches acoustic IDs with physical canopy coordinates and autumn foraging behaviors&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Earbud Dispatcher&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Web Speech API &amp;amp; PowerShell&lt;/td&gt;
&lt;td&gt;Hands-free audio guidance played directly through Bluetooth headphones&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mobile Web Interface&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Streamlit &amp;amp; Plotly&lt;/td&gt;
&lt;td&gt;Mobile-responsive touch UI with interactive 2D spectrogram heatmap and "Touch Grass" blanking mode&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  🌍 Why Open Innovation Matters
&lt;/h2&gt;

&lt;p&gt;This challenge highlighted why open innovation and local-first computing are essential for outdoor technology:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Zero Connectivity in Real Wilderness
&lt;/h3&gt;

&lt;p&gt;The most beautiful places on Earth have &lt;strong&gt;zero cell signal&lt;/strong&gt;. Proprietary, cloud-only AI models brick the second you step off the highway. An open-source, local-first architecture ensures your tool works equally well on an offline mountain summit as it does in a suburban backyard.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Privacy &amp;amp; Environmental Respect
&lt;/h3&gt;

&lt;p&gt;Commercial nature apps track GPS waypoints and harvest outdoor location habits. TrailWhisper processes raw audio purely in memory; your recordings and trail locations never leave your device without your explicit consent.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Fighting "Screen Traps"
&lt;/h3&gt;

&lt;p&gt;Closed commercial platforms are engineered for maximum screen time (ad views, feeds, infinite scrolls). Open-source software gave us the freedom to design an anti-engagement app: &lt;strong&gt;software that turns itself off so humans can reconnect with nature.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🥾 Testing It Outside: The Field Walk
&lt;/h2&gt;

&lt;p&gt;For the "Touch Grass" field test, I took TrailWhisper outside on an early evening nature walk through a local park trail bordering deciduous woods.&lt;/p&gt;

&lt;p&gt;I paired my phone to my Bluetooth earbuds, opened TrailWhisper over HTTPS, tapped &lt;strong&gt;Record&lt;/strong&gt;, and slipped my phone into my jacket pocket. &lt;/p&gt;

&lt;p&gt;Around 10 minutes along the trail, two sounds echoed through the canopy:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Trail Voice Test&lt;/strong&gt;: A fellow hiker passed by talking on their phone. TrailWhisper's formants filter identified &lt;strong&gt;Human Voice / Trail Dialogue (&lt;em&gt;Homo sapiens&lt;/em&gt;)&lt;/strong&gt; and gently whispered: &lt;em&gt;"Human speech detected on trail. Put down your phone, look up at the canopy, and enjoy nature."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Canopy Call&lt;/strong&gt;: Near an overgrown briar patch, a sharp metallic whistle pierced the quiet. TrailWhisper analyzed the rising $4,200\text{ Hz}$ frequency sweeps and whispered:
&amp;gt; &lt;em&gt;"Identified: Northern Cardinal. Look in dense tangled understory or low dogwood shrubs 3 to 8 feet off the ground. Foraging on fallen autumn seeds. Screen is asleep. Put your phone away and look for a brilliant burst of red."&lt;/em&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I didn't take my phone out. I simply looked into the brambles—and within three seconds, spotted the flash of crimson plumage hopping through the fallen autumn leaves.&lt;/p&gt;

&lt;p&gt;That moment was the whole point of this challenge: &lt;strong&gt;technology that steps out of the way so our eyes can look at the world.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🏆 Challenge Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Hacktoberfest Weekend Challenge: Touch Grass&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  SOURCES USED:
&lt;/h2&gt;

&lt;p&gt;i) Render&lt;br&gt;
ii) Gemma modal&lt;/p&gt;

&lt;h2&gt;
  
  
  OFFLINE WORKING PLUS PHONE APP IN FUTURE (ENJOY THE NATURE, NOT THE PHONE)
&lt;/h2&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>mlhacks</category>
    </item>
    <item>
      <title>ALEX: The Zero-Downtime Cyberpunk AI Terminal Built for My Best Friend ⚡</title>
      <dc:creator>DIWAKAR SHARMA</dc:creator>
      <pubDate>Sun, 04 Oct 2026 18:27:52 +0000</pubDate>
      <link>https://dev.to/diwakarsingh07/alex-the-zero-downtime-cyberpunk-ai-terminal-built-for-my-best-friend-2ap6</link>
      <guid>https://dev.to/diwakarsingh07/alex-the-zero-downtime-cyberpunk-ai-terminal-built-for-my-best-friend-2ap6</guid>
      <description>&lt;h2&gt;
  
  
  &lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Most AI assistants live inside fragile browser tabs. They can chat, but they cannot touch hardware, they break the second an API rate limit hits, and they leak personal notes to cloud servers.&lt;br&gt;
I built &lt;strong&gt;ALEX&lt;/strong&gt; for my best friend—an elite science student and builder who was drowning under 50+ open tabs, constant context switching, and fragile AI tools.&lt;br&gt;
&lt;strong&gt;ALEX is a sovereign, cyberpunk-themed Autonomous Terminal Operator.&lt;/strong&gt; &lt;br&gt;
Running directly inside the Windows command line, ALEX acts as a zero-latency executive co-pilot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;⚡ &lt;strong&gt;Zero-Downtime Dual-Engine&lt;/strong&gt;: Primary Google Gemini / Gemma neural inference with automatic, seamless failover to Groq LPU (Qwen 27B open-weights) if rate limits or quota errors strike.&lt;/li&gt;
&lt;li&gt;🔐 &lt;strong&gt;Zero-Knowledge Cloud Memory&lt;/strong&gt;: Automatically syncs study logs, tasks, and diary entries to &lt;strong&gt;MongoDB Atlas&lt;/strong&gt;, secured by client-side &lt;strong&gt;AES-256 Fernet encryption&lt;/strong&gt; before transmission.&lt;/li&gt;
&lt;li&gt;📄 &lt;strong&gt;Autonomous Study Vault&lt;/strong&gt;: Decompiles noisy web URLs or raw notes, extracts high-yield flashcards, and synthesizes styled PDFs right onto the desktop using &lt;code&gt;fpdf2&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;🛰️ &lt;strong&gt;Live Real-World Intel&lt;/strong&gt;: Deep &lt;strong&gt;SerpApi&lt;/strong&gt; integration for instant flight fares, hotel matrices, YouTube video research, and breaking news.&lt;/li&gt;
&lt;li&gt;⚙️ &lt;strong&gt;Direct Host Control&lt;/strong&gt;: Fires hardware audio beeps, native WinForms alert modals, battery-saver schemas, and system lockouts.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/Y1kn2YEwrT4" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/diwakarsingh07" rel="noopener noreferrer"&gt;
        diwakarsingh07
      &lt;/a&gt; / &lt;a href="https://github.com/diwakarsingh07/BUILD_FOR_FRIEND_HACKTOBERFEST_DEV" rel="noopener noreferrer"&gt;
        BUILD_FOR_FRIEND_HACKTOBERFEST_DEV
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      I built **ALEX** for my best friend—an intense computer science student and builder who was drowning under 50+ open tabs, constant context switching, and fragile AI tools.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;a rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/200022518/665527665-dcb2d3f3-0bf2-4c0d-a484-6c374e241692.webp?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTE1NzUyODIsIm5iZiI6MTc5MTU3NDk4MiwicGF0aCI6Ii8yMDAwMjI1MTgvNjY1NTI3NjY1LWRjYjJkM2YzLTBiZjItNGMwZC1hNDg0LTZjMzc0ZTI0MTY5Mi53ZWJwP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTAwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjEwMDlUMTk0MzAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTM3NzJkMzQ4OWQ0NDY3MDQ5NzYxZDBjMDI4NWIzOWNhMGFlMTdmN2ZkODk1NDNiODkwOTQyY2I5ZWE4MzViYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGd2VicCJ9.h-yPXjjZZfzCOU2Zed6NrQVod3KMcSxXD-bPtRFlUww"&gt;&lt;img width="1300" height="546" alt="1000209368" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fprivate-user-images.githubusercontent.com%2F200022518%2F665527665-dcb2d3f3-0bf2-4c0d-a484-6c374e241692.webp%3Fjwt%3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTE1NzUyODIsIm5iZiI6MTc5MTU3NDk4MiwicGF0aCI6Ii8yMDAwMjI1MTgvNjY1NTI3NjY1LWRjYjJkM2YzLTBiZjItNGMwZC1hNDg0LTZjMzc0ZTI0MTY5Mi53ZWJwP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTAwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjEwMDlUMTk0MzAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTM3NzJkMzQ4OWQ0NDY3MDQ5NzYxZDBjMDI4NWIzOWNhMGFlMTdmN2ZkODk1NDNiODkwOTQyY2I5ZWE4MzViYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGd2VicCJ9.h-yPXjjZZfzCOU2Zed6NrQVod3KMcSxXD-bPtRFlUww" class="js-gh-image-fallback"&gt;&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;ALEX: The Autonomous Cyberpunk Sovereign AI Operator Built for My Best Friend&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01" rel="nofollow"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;⚡ What I Built: The Death of Generic Chatbots&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;While most entries in this hackathon built polite, browser-bound wrapper chatbots that wait for users to click buttons, I built &lt;strong&gt;ALEX&lt;/strong&gt;—a ruthless, military-grade Autonomous Terminal Operator engineered specifically for my best friend.&lt;/p&gt;
&lt;p&gt;My friend is an elite science student and builder who constantly suffocated under:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Context Fragmentation&lt;/strong&gt;: Drowning in 50+ browser tabs just to cross-reference technical research, flights, and lecture notes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Surveillance Capitalism &amp;amp; Data Leaks&lt;/strong&gt;: Modern productivity apps harvest user schedules and intellectual property for cloud model training.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fragile Single-Model AI&lt;/strong&gt;: Commercial bots crumble the second API rate limits, 429 quota exhaustion, or server outages occur.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Host Execution&lt;/strong&gt;: Typical AI assistants live in sandboxes—they can talk, but they can't…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/diwakarsingh07/BUILD_FOR_FRIEND_HACKTOBERFEST_DEV" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;ALEX is built with a lightweight, high-performance Python architecture designed for extreme reliability:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Layer&lt;/th&gt;
      &lt;th&gt;Technology&lt;/th&gt;
      &lt;th&gt;Purpose&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Primary Brain&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Google Gemini &amp;amp; Gemma Models&lt;/td&gt;
      &lt;td&gt;Ultra-fast multimodal reasoning and ReAct tool generation&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Failover Brain&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Groq LPU + Qwen 3.8 27B&lt;/td&gt;
      &lt;td&gt;High-throughput open-weight fallback that makes quota death impossible&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Encrypted Storage&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;MongoDB Atlas + Fernet AES-256&lt;/td&gt;
      &lt;td&gt;Client-side encrypted cloud persistence with zero vendor data exposure&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Real-Time Data Engine&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;SerpApi&lt;/td&gt;
      &lt;td&gt;Live Google Flights, Google Hotels, News, and YouTube intelligence&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Document Engine&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;FPDF2 + Trafilatura&lt;/td&gt;
      &lt;td&gt;Web article decompiler and automated PDF study vault generator&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Terminal UI&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Rich Stream-Flow&lt;/td&gt;
      &lt;td&gt;Responsive, resize-safe cyberpunk styling with zero screen-tearing&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Closed AI ecosystems trap developers in sandboxes: you get a web chat box, strict rate limits, and zero control over your hardware or private data.&lt;br&gt;
Open innovation changed everything for this project:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Uncapped Reliability&lt;/strong&gt;: When proprietary API quotas run dry, open-weight models (like Gemma and Qwen on Groq) keep critical workflows alive with zero downtime.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True Cryptographic Privacy&lt;/strong&gt;: By pairing open Python cryptography (&lt;code&gt;cryptography.fernet&lt;/code&gt;) with distributed cloud databases (&lt;code&gt;pymongo&lt;/code&gt;), my friend gets multi-device sync without any third party being able to read his notes.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  3. &lt;strong&gt;Unrestricted OS Integration&lt;/strong&gt;: Open software gives us permission to control the host system—power management, audio, and local file vaults.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google / Gemma Category&lt;/strong&gt; (Utilizing Google Gemma &amp;amp; Gemini models for autonomous edge reasoning)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SerpApi Partner Category&lt;/strong&gt; (Deep live integration across Google Flights, Hotels, Search, Maps, News, and YouTube)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MongoDB Atlas Innovation Category&lt;/strong&gt; (Encrypted cloud task and knowledge persistence)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Keeps Data Off Servers They Don't Control
&lt;/h3&gt;

&lt;p&gt;Commercial AI platforms harvest your personal schedules, thoughts, and research to train centralized models. With open cryptography (&lt;code&gt;cryptography.fernet&lt;/code&gt;), ALEX performs &lt;strong&gt;Client-Side AES-256 Field Encryption&lt;/strong&gt;. Even when synced to MongoDB Atlas, the cloud only receives unreadable ciphertext. When offline or without internet, ALEX seamlessly falls back to a local SQLite database—the private encryption key never leaves my friend's laptop.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Hot-Swapping Models with Zero Downtime &amp;amp; $0 Cost
&lt;/h3&gt;

&lt;p&gt;Closed APIs trap you behind $20/month paywalls and strict 429 quota rate limits. Open innovation allowed us to build an autonomous router: when Gemini hits rate limits, ALEX instantly hot-swaps to open-weight models (Qwen 3.8 27B / Gemma) running on high-throughput Groq LPUs. It costs &lt;strong&gt;$0 to run&lt;/strong&gt;, has zero vendor lock-in, and never drops a prompt.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Hardware &amp;amp; OS Control vs Browser Sandboxes
&lt;/h3&gt;

&lt;p&gt;Closed chatbots are trapped in browser tabs—they cannot touch your hardware. With open-source Python libraries (&lt;code&gt;psutil&lt;/code&gt;, &lt;code&gt;fpdf2&lt;/code&gt;, &lt;code&gt;winsound&lt;/code&gt;), ALEX can alter Windows battery-saver power profiles, trigger native OS alert dialogs, sound hardware alarms, and compile styled dark-mode study PDFs directly to the desktop.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Handover: What My Friend Said 🤝
&lt;/h3&gt;

&lt;p&gt;When I handed the terminal over to my best friend, he tested it immediately:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"ALEX, summarize this 15-page research paper, compile 5 active-recall flashcards directly into a styled PDF, and set a hardware alarm for 45 minutes."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Within 1.8 seconds, the terminal deconstructed the paper, synthesized a dark-slate study PDF right onto his Windows desktop, armed the hardware timer, and pushed encrypted logs to MongoDB Atlas.&lt;/p&gt;

&lt;p&gt;His immediate reaction:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;"Bro, this is actually insane. I just closed 30 cluttered browser tabs, cancelled my paid AI subscription, and my research notes aren't sitting unencrypted on corporate cloud servers. Having this live inside my terminal feels like having a personal cyberpunk JARVIS."&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;devchallenge #weekendchallenge #hf26challenge&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
      <category>mlhacks</category>
    </item>
  </channel>
</rss>
