<?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: Vlad</title>
    <description>The latest articles on DEV Community by Vlad (@glemiu6).</description>
    <link>https://dev.to/glemiu6</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%2F3906919%2Ff86c7f85-5475-4016-b22c-b21c826b55ba.jpeg</url>
      <title>DEV Community: Vlad</title>
      <link>https://dev.to/glemiu6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/glemiu6"/>
    <language>en</language>
    <item>
      <title>Stop Writing Boring Commit Messages. Let a Local AI Do It for You.</title>
      <dc:creator>Vlad</dc:creator>
      <pubDate>Sun, 31 May 2026 02:03:57 +0000</pubDate>
      <link>https://dev.to/glemiu6/stop-writing-boring-commit-messages-let-a-local-ai-do-it-for-you-j58</link>
      <guid>https://dev.to/glemiu6/stop-writing-boring-commit-messages-let-a-local-ai-do-it-for-you-j58</guid>
      <description>&lt;p&gt;How many times have you typed &lt;code&gt;git commit -m "fix stuff"&lt;/code&gt; or &lt;code&gt;git commit -m "wip"&lt;/code&gt; because you just wanted to push your code and grab a coffee?&lt;/p&gt;

&lt;p&gt;Writing great, meaningful commit messages is a hallmark of a good developer. It helps your team, makes code reviews easier, and keeps your project history clean. But let’s be honest: when you’re deep in the zone, writing a perfect &lt;a href="https://www.conventionalcommits.org/" rel="noopener noreferrer"&gt;Conventional Commit&lt;/a&gt; is the last thing you want to spend brainpower on.&lt;/p&gt;

&lt;p&gt;Enter &lt;strong&gt;komit&lt;/strong&gt; — an AI-powered git commit message generator that runs &lt;strong&gt;100% locally on your machine&lt;/strong&gt;. No API keys, no internet required, and completely private.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Why &lt;code&gt;komit&lt;/code&gt;?
&lt;/h2&gt;

&lt;p&gt;There are plenty of AI commit generators out there, but most of them send your proprietary diffs to external APIs (like OpenAI or Anthropic). If you are working on a closed-source enterprise project, that’s a massive security no-no.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;komit&lt;/code&gt; bridges the gap by leveraging &lt;strong&gt;Ollama&lt;/strong&gt; to run lightweight, powerful open-source LLMs right on your laptop.&lt;/p&gt;

&lt;h3&gt;
  
  
  ✨ Key Features:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;🔒 Pure Privacy:&lt;/strong&gt; Everything stays on your machine via Ollama. No data leaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🌿 Smart Branch Inference:&lt;/strong&gt; It automatically reads your active git branch (e.g., &lt;code&gt;feat/auth-login&lt;/code&gt;) to extract the exact Conventional Commit type (&lt;code&gt;feat&lt;/code&gt;) and scope (&lt;code&gt;auth&lt;/code&gt;) before the AI even starts writing!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;📝 Multiple Styles:&lt;/strong&gt; Choose between &lt;code&gt;conventional&lt;/code&gt;, &lt;code&gt;simple&lt;/code&gt;, or &lt;code&gt;detailed&lt;/code&gt; commit formats depending on your team's workflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;⚡ Safe &amp;amp; Interactive:&lt;/strong&gt; It previews the message, letting you accept it, reject it, regenerate a new one, or open your default terminal editor (&lt;code&gt;$EDITOR&lt;/code&gt;) to tweak it before finalizing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;🪟 Universal &amp;amp; Fast:&lt;/strong&gt; Works seamlessly across Linux, macOS (including Apple Silicon), and Windows.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ The Interactive Developer Experience
&lt;/h2&gt;

&lt;p&gt;When you run &lt;code&gt;komit&lt;/code&gt;, you get a beautiful, clean terminal interface:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┬──────────────────────── Staged files (3) ────────────────────────┬
│  • src/auth.py                                                   │
│  • tests/test_auth.py                                            │
│  • README.md                                                     │
┴──────────────────────────────────────────────────────────────────┴
Branch name: feature/auth-tokens
Model: qwen2.5:7b · Style: conventional

⠋ Generating commit message...

┬──────────────────── Suggested commit message ────────────────────┬
│ feat(auth): add JWT authentication token engine [feature/auth-t… │
┴──────────────────────────────────────────────────────────────────┴

» Choose an action: (y)es, (n)o, (e)dit, (r)egenerate [y]: 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  What do those options do?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;y&lt;/code&gt; (Yes) $\rightarrow$ Instantly runs &lt;code&gt;git commit -m "..."&lt;/code&gt; for you.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;n&lt;/code&gt; (No) $\rightarrow$ Aborts the mission without touching your code.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;e&lt;/code&gt; (Edit) $\rightarrow$ Launches your environment editor (&lt;code&gt;git commit -m ... -e&lt;/code&gt;) so you can perfect the AI's draft.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;r&lt;/code&gt; (Regenerate) $\rightarrow$ Feeds the diff back to Ollama for a fresh perspective.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Getting Started in 60 Seconds
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Prerequisites
&lt;/h3&gt;

&lt;p&gt;You just need &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; installed and a local model pulled down. We recommend any of these depending on your system specs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# High quality (Recommended)&lt;/span&gt;
ollama pull qwen2.5:7b

&lt;span class="c"&gt;# Great balance&lt;/span&gt;
ollama pull mistral:7b

&lt;span class="c"&gt;# Blazing fast / Resource friendly&lt;/span&gt;
ollama pull llama3.2:3b

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Installation
&lt;/h3&gt;

&lt;p&gt;You can install &lt;code&gt;komit&lt;/code&gt; using your preferred method:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Via pipx (Recommended for Python CLI tools):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pipx &lt;span class="nb"&gt;install &lt;/span&gt;komit

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Via Shell Script (Linux/macOS):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/glemiu6/komit/master/scripts/install.sh | bash

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Via PowerShell (Windows):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;irm&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://raw.githubusercontent.com/glemiu6/komit/master/scripts/install.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;iex&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Pro-Tip: Create a Git Alias
&lt;/h3&gt;

&lt;p&gt;Make your life even easier by aliasing it directly in git:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git config &lt;span class="nt"&gt;--global&lt;/span&gt; alias.ai &lt;span class="s1"&gt;'!komit'&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, your 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 ai

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  ⚙️ Customization &amp;amp; Styles
&lt;/h2&gt;

&lt;p&gt;By running &lt;code&gt;komit init&lt;/code&gt;, the tool sets up a global configuration file (&lt;code&gt;~/.config/komit/config.toml&lt;/code&gt;) where you can tweak your default model, timeout limits, and preferred output style.&lt;/p&gt;

&lt;p&gt;Here is what the different styles look like:&lt;/p&gt;

&lt;h3&gt;
  
  
  Conventional (Default)
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;feat(auth): add user authentication [feature/login]&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Simple
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;Add user authentication [feature/login]&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Detailed
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;feat(auth): add user authentication [feature/login]&lt;/code&gt;&lt;br&gt;
&lt;code&gt;- Add JWT token generation pipeline&lt;/code&gt;&lt;br&gt;
&lt;code&gt;- Implement password security layers using bcrypt primitives&lt;/code&gt;&lt;br&gt;
&lt;code&gt;- Append rotation verification routes&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  🛡️ Open Source &amp;amp; Contributing
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;komit&lt;/code&gt; is fully open-source under the Apache License 2.0. If you want to check out the code, report a bug, or add a feature, feel free to drop by the repository!&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://github.com/glemiu6/komit" rel="noopener noreferrer"&gt;Check out komit on GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Give it a spin, and let me know in the comments: &lt;strong&gt;Do you trust AI to write your commit messages, or are you a commit-message purist?&lt;/strong&gt; 👇&lt;/p&gt;

</description>
      <category>ai</category>
      <category>git</category>
      <category>productivity</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I published my first Python package — a reusable RAG core library</title>
      <dc:creator>Vlad</dc:creator>
      <pubDate>Fri, 01 May 2026 23:29:37 +0000</pubDate>
      <link>https://dev.to/glemiu6/i-published-my-first-python-package-a-reusable-rag-core-library-ogc</link>
      <guid>https://dev.to/glemiu6/i-published-my-first-python-package-a-reusable-rag-core-library-ogc</guid>
      <description>&lt;p&gt;If you've ever built a RAG (Retrieval-Augmented Generation) system, you know the pain: every new project means rewriting the same boilerplate — vector store setup, embeddings, chunking, LLM wiring. I got tired of it, so I packaged it up.&lt;br&gt;
pyragcore is a modular RAG library built on FAISS and Ollama. The idea is simple: give you a solid foundation so you can focus on your actual use case instead of reinventing the plumbing every time.&lt;br&gt;
What I'm most proud of is that it runs entirely locally — no external APIs, no data leaving your machine. Just Ollama for the LLM and SentenceTransformers for embeddings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's inside&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;FAISS vector store with persistence, deduplication, and metadata filtering&lt;/li&gt;
&lt;li&gt;Semantic search with MMR support&lt;/li&gt;
&lt;li&gt;Local LLM inference via Ollama&lt;/li&gt;
&lt;li&gt;Modular installs — grab only what you need&lt;/li&gt;
&lt;li&gt;Abstract base classes so you can extend it your way&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How to install it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;pip&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;pyragcore&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;all&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;pyragcore&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;BasePipeline&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;MyPipeline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;BasePipeline&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;ingest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="c1"&gt;# your ingestion logic here
&lt;/span&gt;        &lt;span class="bp"&gt;...&lt;/span&gt;

&lt;span class="n"&gt;pipeline&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;MyPipeline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;persist_dir&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;./memory&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;output_folder&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;./output&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;source_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pipeline&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ingest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;./my_document.pdf&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;answer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pipeline&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ask&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;What is this document about?&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;source_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;source_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's still early days (v0.1.11) and I'm actively working on it, but it's already powering a couple of projects I built — a document chat bot.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pypi.org/project/pyragcore/" rel="noopener noreferrer"&gt;PyPI Link&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/glemiu6/pyragcore" rel="noopener noreferrer"&gt;GitHub Repo&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;Would love any feedback, ideas, or contributions. If you build something with it, let me know! &lt;/p&gt;

</description>
      <category>ai</category>
      <category>rag</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
