<?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: Sourodip Mahato</title>
    <description>The latest articles on DEV Community by Sourodip Mahato (@sourodipmahato762).</description>
    <link>https://dev.to/sourodipmahato762</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%2F4155234%2Fa18c0d69-ab24-4124-be24-38b9d00f6726.png</url>
      <title>DEV Community: Sourodip Mahato</title>
      <link>https://dev.to/sourodipmahato762</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sourodipmahato762"/>
    <language>en</language>
    <item>
      <title>👻 RepoGhost: Bringing Forgotten Codebases Back to Life with Local AI</title>
      <dc:creator>Sourodip Mahato</dc:creator>
      <pubDate>Sun, 01 Nov 2026 06:45:11 +0000</pubDate>
      <link>https://dev.to/sourodipmahato762/this-is-a-submission-for-the-hacktoberfest-open-source-ai-challenge-week-4-ghost-in-the-machine-k2</link>
      <guid>https://dev.to/sourodipmahato762/this-is-a-submission-for-the-hacktoberfest-open-source-ai-challenge-week-4-ghost-in-the-machine-k2</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;.&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;RepoGhost&lt;/strong&gt;, a local AI-powered repository analyzer designed to bring forgotten and abandoned codebases back to life.&lt;/p&gt;

&lt;p&gt;Every repository has a story, but understanding an unfamiliar project can sometimes feel like exploring a haunted house. There may be unfinished tasks, confusing file structures, undocumented functions, and code that nobody remembers writing.&lt;/p&gt;

&lt;p&gt;That's where RepoGhost comes in! 👻&lt;/p&gt;

&lt;p&gt;Users can upload a repository as a ZIP file, and RepoGhost scans it to discover:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repository Overview:&lt;/strong&gt; Detects source files, programming languages, and project structure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Forgotten Tasks:&lt;/strong&gt; Finds TODO, FIXME, and HACK comments that may have been left behind.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python Syntax Findings:&lt;/strong&gt; Identifies basic Python syntax issues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chat with the Ghost:&lt;/strong&gt; Ask questions about the repository and get AI-powered explanations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Haunted Project Report:&lt;/strong&gt; Generates an AI-assisted report to help developers understand their codebase.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I interpreted the theme &lt;em&gt;Ghost in the Machine&lt;/em&gt; as giving a voice to forgotten codebases. RepoGhost acts like a friendly ghost that helps developers understand what is happening inside a project, even when its original developers are no longer around.&lt;/p&gt;

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

&lt;p&gt;🎥 &lt;strong&gt;Video Demo:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: RepoGhost is designed primarily for local execution, so the demo can showcase the application running on your machine.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;💻 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/Sourodip1804/RepoGhost" rel="noopener noreferrer"&gt;https://github.com/Sourodip1804/RepoGhost&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Contributions, feedback, and suggestions are welcome!&lt;/p&gt;

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

&lt;p&gt;I built RepoGhost using a combination of open-source technologies and local AI inference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Model:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Qwen2.5:3B&lt;/strong&gt; – An open-weight language model used to understand repository context, answer questions, explain code, and generate reports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt; – Runs the model locally, allowing RepoGhost to communicate with the AI without depending on a hosted AI API.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;FastAPI&lt;/li&gt;
&lt;li&gt;Repository scanning and file analysis&lt;/li&gt;
&lt;li&gt;ZIP extraction and processing&lt;/li&gt;
&lt;li&gt;REST API endpoints for uploading repositories, chatting, and generating reports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React.js&lt;/li&gt;
&lt;li&gt;Vite&lt;/li&gt;
&lt;li&gt;CSS&lt;/li&gt;
&lt;li&gt;Lucide React icons&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How it works:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The developer uploads a repository ZIP file.&lt;/li&gt;
&lt;li&gt;The FastAPI backend safely extracts and scans the repository.&lt;/li&gt;
&lt;li&gt;RepoGhost identifies programming languages, source files, and unfinished task markers.&lt;/li&gt;
&lt;li&gt;Relevant repository context is prepared for the AI model.&lt;/li&gt;
&lt;li&gt;Qwen2.5:3B processes the context through Ollama and generates explanations or answers.&lt;/li&gt;
&lt;li&gt;The frontend displays scan results, AI conversations, and the generated project report.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One of my main goals was to keep the AI workflow local. The project does not need a paid cloud AI API to perform its core AI tasks.&lt;/p&gt;

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

&lt;p&gt;Open innovation made this project possible in a way that would have been difficult to achieve with a closed AI API alone.&lt;/p&gt;

&lt;p&gt;Using an open-weight model like Qwen2.5:3B with Ollama gave me the opportunity to experiment with local AI inference, understand how models interact with application backends, and build an AI-powered tool without depending on paid API access.&lt;/p&gt;

&lt;p&gt;It also offers some important advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; Repository source code can remain on the developer's machine when using the local setup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility:&lt;/strong&gt; Developers can experiment without needing a paid AI API subscription.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customization:&lt;/strong&gt; The model and AI workflow can be modified according to project requirements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transparency:&lt;/strong&gt; Developers have more control over the tools and infrastructure powering their AI applications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community:&lt;/strong&gt; Open-source models and frameworks make it easier for developers to learn, contribute, and build on existing work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For me, open innovation is not just about using free tools. It is about having the freedom to understand, experiment, modify, and build something useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;The most interesting part of building RepoGhost was thinking about how much knowledge gets trapped inside old repositories.&lt;/p&gt;

&lt;p&gt;A developer might leave a project unfinished, forget how a particular function works, or return to an old codebase after months or years.&lt;/p&gt;

&lt;p&gt;Instead of manually exploring every file, imagine asking:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Hey Ghost, what is this project actually doing?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And getting an explanation from the code itself.&lt;/p&gt;

&lt;p&gt;That is the idea behind RepoGhost: &lt;strong&gt;every codebase deserves a second life.&lt;/strong&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Open-Source AI Challenge – Ghost in the Machine (Week 4)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;Building RepoGhost has been a great learning experience. I explored local LLM integration, Ollama, FastAPI, React, repository analysis, and the practical challenges of connecting an AI model with a real application.&lt;/p&gt;

&lt;p&gt;There is still plenty of room to improve, and I would love to hear your feedback and suggestions!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let's bring forgotten codebases back to life. 👻&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Hacktoberfest #OpenSourceAI #Ollama #Qwen #React #Python #FastAPI #OpenSource #AI
&lt;/h1&gt;

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