<?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: Tripurala Spandana</title>
    <description>The latest articles on DEV Community by Tripurala Spandana (@spandanatripurala3).</description>
    <link>https://dev.to/spandanatripurala3</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%2F4155003%2Fa4047513-191d-4c9b-b703-dd02044799f7.jpeg</url>
      <title>DEV Community: Tripurala Spandana</title>
      <link>https://dev.to/spandanatripurala3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/spandanatripurala3"/>
    <language>en</language>
    <item>
      <title>I Built My Friend a Local AI Coding Buddy</title>
      <dc:creator>Tripurala Spandana</dc:creator>
      <pubDate>Sun, 04 Oct 2026 11:20:44 +0000</pubDate>
      <link>https://dev.to/spandanatripurala3/i-built-my-friend-a-local-ai-coding-buddy-4gjl</link>
      <guid>https://dev.to/spandanatripurala3/i-built-my-friend-a-local-ai-coding-buddy-4gjl</guid>
      <description>&lt;h1&gt;
  
  
  CodeBuddy: A Local AI Coding Companion I Built for a Friend 🤖
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;CodeBuddy&lt;/strong&gt;, a small AI coding companion for a friend who is learning programming.&lt;/p&gt;

&lt;p&gt;When you're learning to code, getting stuck is probably one of the most frustrating parts. Sometimes it's a syntax error, sometimes you understand the concept but don't know how to approach a problem, and sometimes you just need someone to explain it in a simpler way.&lt;/p&gt;

&lt;p&gt;I wanted to build something that could help with those situations without making the learning process more complicated.&lt;/p&gt;

&lt;p&gt;CodeBuddy currently has four main options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ask a Coding Question&lt;/strong&gt; — ask about a programming concept and get an explanation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debug My Code&lt;/strong&gt; — share code that isn't working and get help understanding the problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give Me a Hint&lt;/strong&gt; — get a small push in the right direction instead of immediately seeing the complete solution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Practice Question&lt;/strong&gt; — get programming questions to practice with.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last one was important to me because I don't want an AI assistant to only give answers. If someone is learning, sometimes a hint or a practice problem is more useful than a complete solution.&lt;/p&gt;

&lt;p&gt;I kept the application intentionally simple. My goal wasn't to build another huge coding platform. I wanted to build something my friend could open when they are stuck and immediately know how to use.&lt;/p&gt;

&lt;p&gt;The AI behind CodeBuddy runs locally using &lt;strong&gt;Ollama&lt;/strong&gt; with the &lt;strong&gt;Qwen2.5-Coder:3b&lt;/strong&gt; model.&lt;/p&gt;

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

&lt;p&gt;Here is the CodeBuddy demo:&lt;/p&gt;


&lt;div&gt;
  &lt;iframe src="https://loom.com/embed/6356811cf56e49fcadcf3413b4d71b62" width="100%" height="400"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;p&gt;In this demo, I show the main CodeBuddy features, including asking a coding question, debugging code, getting a hint, and generating a practice question.&lt;/p&gt;

&lt;p&gt;The demo also shows that CodeBuddy is running locally on my computer using Ollama and Qwen2.5-Coder:3b.&lt;/p&gt;

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

&lt;p&gt;The complete project is available on GitHub:&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/25A35A0530" rel="noopener noreferrer"&gt;
        25A35A0530
      &lt;/a&gt; / &lt;a href="https://github.com/25A35A0530/CodeBuddy" rel="noopener noreferrer"&gt;
        CodeBuddy
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;CodeBuddy 🤖&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;A local AI coding practice assistant powered by open-source AI.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;CodeBuddy is a beginner-friendly coding assistant built for learners who want help with programming questions, debugging, hints, and practice — while keeping their interactions local on their own computer.&lt;/p&gt;
&lt;p&gt;It uses &lt;strong&gt;Ollama&lt;/strong&gt; to run the open-source &lt;strong&gt;Qwen2.5-Coder&lt;/strong&gt; model locally.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;✨ Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;💡 &lt;strong&gt;Ask a Coding Question&lt;/strong&gt; — Get simple explanations of programming concepts.&lt;/li&gt;
&lt;li&gt;🐛 &lt;strong&gt;Debug My Code&lt;/strong&gt; — Understand errors and find possible fixes.&lt;/li&gt;
&lt;li&gt;🧩 &lt;strong&gt;Give Me a Hint&lt;/strong&gt; — Get guidance without immediately seeing the full solution.&lt;/li&gt;
&lt;li&gt;📝 &lt;strong&gt;Practice Question&lt;/strong&gt; — Generate programming questions for practice.&lt;/li&gt;
&lt;li&gt;🔒 &lt;strong&gt;Local AI&lt;/strong&gt; — Questions and code are processed locally through Ollama.&lt;/li&gt;
&lt;li&gt;🌐 &lt;strong&gt;Simple Web Interface&lt;/strong&gt; — Clean and beginner-friendly UI.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ How It 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;User
  ↓
CodeBuddy Web Interface
  ↓
Python Local Server
  ↓
Ollama
  ↓
Qwen2.5-Coder
  ↓
AI Response
  ↓
CodeBuddy Interface
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The application uses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTML&lt;/strong&gt; for the interface&lt;/li&gt;
&lt;li&gt;…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/25A35A0530/CodeBuddy" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The project is intentionally small and has only a few main files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CodeBuddy/
├── index.html
├── style.css
├── server.py
└── README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I wanted to keep it simple enough that I could understand every part of it rather than depending on a large number of frameworks or services.&lt;/p&gt;

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

&lt;p&gt;I started with the part I was most curious about: &lt;strong&gt;running a coding model locally&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I installed Ollama and downloaded Qwen2.5-Coder:3b. Before building the interface, I tested the model directly and tried a few programming questions to see how it responded.&lt;/p&gt;

&lt;p&gt;Once I knew that part was working, I connected it to Python.&lt;/p&gt;

&lt;p&gt;For the backend, I decided to keep things lightweight and use Python's built-in HTTP server functionality instead of adding another framework.&lt;/p&gt;

&lt;p&gt;Then I worked on the browser side using HTML, CSS and JavaScript.&lt;/p&gt;

&lt;p&gt;At first, I was mainly focused on getting the basic interaction working. I wanted to be able to type a question in the browser, send it to Python, have the local model process it, and display the answer back in the page.&lt;/p&gt;

&lt;p&gt;After that was working, I spent more time on the interface and on making the different learning options easy to use.&lt;/p&gt;

&lt;p&gt;The final setup uses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTML, CSS and JavaScript&lt;/strong&gt; for the frontend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; for the local server&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt; for running the AI model&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Qwen2.5-Coder:3b&lt;/strong&gt; for coding-related responses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing I liked about this setup was that I didn't need to build a large backend just to make a small AI learning tool.&lt;/p&gt;

&lt;p&gt;The application communicates with Ollama on the same computer, so after the model has been downloaded, the normal AI interaction can run locally.&lt;/p&gt;

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

&lt;p&gt;This is probably the part of the project that made me think the most.&lt;/p&gt;

&lt;p&gt;I've used AI through online APIs before, so using a model locally was a different experience for me.&lt;/p&gt;

&lt;p&gt;For CodeBuddy, I didn't really need a large cloud infrastructure. I wanted a coding assistant that could run on a personal computer and help with programming questions.&lt;/p&gt;

&lt;p&gt;Running the model locally gives me more control over that setup.&lt;/p&gt;

&lt;p&gt;For example, the user's coding questions don't have to be sent to a remote AI service just to get a response. That can be useful when someone is experimenting with their own code and wants to keep their work local.&lt;/p&gt;

&lt;p&gt;There is also no separate API request cost for every question once the model has been installed.&lt;/p&gt;

&lt;p&gt;Another thing I liked is the flexibility. Because I'm using Ollama, I can experiment with different compatible local models later without rebuilding the entire application around a particular hosted API.&lt;/p&gt;

&lt;p&gt;There are trade-offs, of course.&lt;/p&gt;

&lt;p&gt;Local AI needs the computer to have enough resources to run the model, and the initial model download requires an internet connection. A local model may also not perform the same way as a much larger cloud model.&lt;/p&gt;

&lt;p&gt;But for CodeBuddy, I think the trade-off makes sense.&lt;/p&gt;

&lt;p&gt;My friend doesn't need a huge AI system just to ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Why isn't this Python code working?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A local coding model is enough for what I wanted to build.&lt;/p&gt;

&lt;p&gt;That's what open innovation made possible for this project: &lt;strong&gt;I could experiment with AI locally, choose how it fits into my application, and build a small tool without making a cloud AI API the center of the project.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I did not use DevRelay for this project, so I am leaving this optional section out.&lt;/p&gt;

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

&lt;p&gt;I am not entering a partner-specific prize category for this project.&lt;/p&gt;

&lt;p&gt;Building CodeBuddy also taught me something outside of the technical side.&lt;/p&gt;

&lt;p&gt;When I started, it would have been easy to keep adding features just because they sounded interesting. But because I was building this for one person, I kept coming back to a much simpler question:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Would this actually help my friend when they are learning programming?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That helped me keep the project focused.&lt;/p&gt;

&lt;p&gt;I also learned that I don't always need a complicated stack to build something useful. A small Python server, a simple frontend, Ollama, and a local coding model were enough to turn the idea into a working application.&lt;/p&gt;

&lt;p&gt;CodeBuddy isn't meant to be the ultimate AI coding assistant.&lt;/p&gt;

&lt;p&gt;It's just something I built for a friend who is learning.&lt;/p&gt;

&lt;p&gt;And that's exactly what I liked about this challenge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I started with a person, found a problem, and then chose the technology that could help solve it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🤖 &lt;strong&gt;Built for a friend. Built to learn.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Intro</title>
      <dc:creator>Tripurala Spandana</dc:creator>
      <pubDate>Thu, 01 Oct 2026 14:03:44 +0000</pubDate>
      <link>https://dev.to/spandanatripurala3/intro-13no</link>
      <guid>https://dev.to/spandanatripurala3/intro-13no</guid>
      <description>&lt;p&gt;I am new to the community, happy to be the part of dev.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
