<?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: Yuva Kunaal</title>
    <description>The latest articles on DEV Community by Yuva Kunaal (@yuva_kunaal).</description>
    <link>https://dev.to/yuva_kunaal</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3920570%2F784c7f4b-9f9b-46a9-90bc-4fde7f65dde7.jpg</url>
      <title>DEV Community: Yuva Kunaal</title>
      <link>https://dev.to/yuva_kunaal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yuva_kunaal"/>
    <language>en</language>
    <item>
      <title>CommitAI — Local AI-Powered Git Assistant Using Gemma 4</title>
      <dc:creator>Yuva Kunaal</dc:creator>
      <pubDate>Fri, 08 May 2026 20:56:09 +0000</pubDate>
      <link>https://dev.to/yuva_kunaal/commitai-local-ai-powered-git-assistant-using-gemma-4-5027</link>
      <guid>https://dev.to/yuva_kunaal/commitai-local-ai-powered-git-assistant-using-gemma-4-5027</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Build with Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;As developers, we repeatedly write commit messages, maintain changelogs, and switch context during development. I wanted to build a lightweight developer tool that could automate this workflow completely offline without relying on cloud APIs or external AI services.&lt;/p&gt;

&lt;p&gt;So I built CommitAI — a local AI-powered Git assistant using Gemma 4 + Ollama.&lt;/p&gt;

&lt;p&gt;The workflow is simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Read staged Git diff&lt;/li&gt;
&lt;li&gt;Send it to a local Gemma 4 model&lt;/li&gt;
&lt;li&gt;Generate a clean Conventional Commit message&lt;/li&gt;
&lt;li&gt;Update changelog automatically&lt;/li&gt;
&lt;li&gt;Execute the Git commit&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also added Git hook integration so the workflow becomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git add &lt;span class="nb"&gt;.&lt;/span&gt;
git commit
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and the AI handles the rest.&lt;/p&gt;

&lt;p&gt;The project is built entirely in Python and runs locally on my MacBook Air M2 (8GB RAM).&lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;AI-generated Conventional Commit messages&lt;/li&gt;
&lt;li&gt;Automatic changelog generation&lt;/li&gt;
&lt;li&gt;Git hook integration&lt;/li&gt;
&lt;li&gt;Fully local/offline workflow&lt;/li&gt;
&lt;li&gt;Rich CLI interface using the Rich library&lt;/li&gt;
&lt;li&gt;No external APIs&lt;/li&gt;
&lt;li&gt;Privacy-friendly local inference&lt;/li&gt;
&lt;li&gt;Uses staged Git diffs as context&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1-vuOSi-TYU3a_f5aVssizppuhXGfzslf/view?usp=sharing" rel="noopener noreferrer"&gt;Demo Video&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://github.com/Yuvakunaal/CommitAI" rel="noopener noreferrer"&gt;CommitAI Repo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Gemma 4
&lt;/h2&gt;

&lt;p&gt;I used the gemma4:e2b model through Ollama for all AI-powered functionality inside CommitAI.&lt;/p&gt;

&lt;p&gt;I specifically chose the E2B model because:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it runs efficiently on local hardware&lt;/li&gt;
&lt;li&gt;lightweight enough for my MacBook Air M2 with 8GB RAM&lt;/li&gt;
&lt;li&gt;low-latency responses for CLI workflows&lt;/li&gt;
&lt;li&gt;strong enough reasoning for summarizing Git diffs&lt;/li&gt;
&lt;li&gt;ideal for privacy-focused offline tooling&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Gemma 4 powers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;commit message generation&lt;/li&gt;
&lt;li&gt;changelog summarization&lt;/li&gt;
&lt;li&gt;Git workflow automation&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Git Diff
   ↓
CommitAI
   ↓
Ollama API
   ↓
Gemma 4 (E2B)
   ↓
AI-generated commit/changelog
   ↓
Git commit execution
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Ollama&lt;/li&gt;
&lt;li&gt;Gemma 4 (gemma4:e2b)&lt;/li&gt;
&lt;li&gt;Rich&lt;/li&gt;
&lt;li&gt;Git Hooks&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Future Improvements
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;PR description generation&lt;/li&gt;
&lt;li&gt;Multi-model support&lt;/li&gt;
&lt;li&gt;Better diff summarization&lt;/li&gt;
&lt;li&gt;VSCode extension&lt;/li&gt;
&lt;li&gt;Team changelog modes&lt;/li&gt;
&lt;li&gt;Interactive commit editing&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;One of my biggest goals with this project was proving that useful AI developer tooling can run fully locally without depending on cloud APIs.&lt;/p&gt;

&lt;p&gt;Thanks for reading 🚀&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
      <category>python</category>
    </item>
    <item>
      <title>I built a free AI Flowchart Studio — just launched today! 🚀</title>
      <dc:creator>Yuva Kunaal</dc:creator>
      <pubDate>Fri, 08 May 2026 18:27:40 +0000</pubDate>
      <link>https://dev.to/yuva_kunaal/i-built-a-free-ai-flowchart-studio-just-launched-today-46bl</link>
      <guid>https://dev.to/yuva_kunaal/i-built-a-free-ai-flowchart-studio-just-launched-today-46bl</guid>
      <description>&lt;p&gt;Hey DEV community! 👋&lt;/p&gt;

&lt;p&gt;Just launched AI Flowchart Studio today — a tool that converts &lt;br&gt;
plain English into professional flowcharts using a Multi-Agent &lt;br&gt;
Gemini AI pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Existing tools like Lucidchart are too heavy for quick diagrams.&lt;br&gt;
I wanted something where you just DESCRIBE and it builds.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the AI Works (4-Stage Pipeline)
&lt;/h2&gt;

&lt;p&gt;This is the part I'm most proud of:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Orchestrator Agent&lt;/strong&gt; — Validates if the prompt can 
logically become a flowchart&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logic Parser Agent&lt;/strong&gt; — Breaks text into a structured 
JSON graph (nodes + edges)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generator Agent&lt;/strong&gt; — Converts the graph into Mermaid.js 
syntax&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Syntax Validator&lt;/strong&gt; — Final check to guarantee perfect 
visual output&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This pipeline ensures "Garbage In" never becomes "Garbage Out" 🎯&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt; Vanilla JS, Mermaid.js, html2canvas, CSS3 &lt;br&gt;
Glassmorphism — deployed on Vercel&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt; FastAPI (Python), Google GenAI SDK, &lt;br&gt;
Server-Sent Events for real-time streaming — deployed on Render&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;🤖 Multi-Agent AI generation&lt;/li&gt;
&lt;li&gt;✏️ Manual builder (click &amp;amp; type, no coding)&lt;/li&gt;
&lt;li&gt;🔄 Undo/Redo engine with memory buffer&lt;/li&gt;
&lt;li&gt;📤 Export PNG (3x super-scaled), SVG, or Mermaid code&lt;/li&gt;
&lt;li&gt;💾 5 concurrent saved projects&lt;/li&gt;
&lt;li&gt;📱 Mobile-responsive with bottom-sheet menus&lt;/li&gt;
&lt;li&gt;🔍 Hardware-accelerated canvas zoom (+/- 300%)&lt;/li&gt;
&lt;li&gt;🔑 BYOK — your API key never leaves your browser&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Privacy First (BYOK)
&lt;/h2&gt;

&lt;p&gt;Your Gemini API key is stored only in your browser's &lt;br&gt;
LocalStorage. Our backend acts purely as a secure proxy — &lt;br&gt;
zero data retention.&lt;/p&gt;

&lt;p&gt;🔗 Try it: &lt;a href="https://ai-flowchart-studio.vercel.app/" rel="noopener noreferrer"&gt;AI Flowchart Studio&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🚀 Also live on Product Hunt today — support appreciated!&lt;br&gt;
&lt;a href="https://www.producthunt.com/products/ai-flowchart-studio?utm_source=other&amp;amp;utm_medium=social" rel="noopener noreferrer"&gt;Product Hunt Launch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback from devs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What would make you use this daily?&lt;/li&gt;
&lt;li&gt;Any architecture improvements you'd suggest?&lt;/li&gt;
&lt;li&gt;Would you pay for a hosted version (no API key needed)?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading! 🙏&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>ai</category>
      <category>buildinpublic</category>
    </item>
  </channel>
</rss>
