Executive Overview
Software projects rarely die a sudden, dramatic death. More often, they fade away slowly. A repository is abandoned, dependencies quietly drift into obsolescence, unfinished features remain entombed in comment blocks, and eventually, the institutional memory of how the system was supposed to function evaporates entirely. Developers are left staring at silent codebases—digital ghost towns populated by neglected commits, unresolved bugs, and unanswered questions.
Enter RELIC, an innovative digital archaeology platform designed to investigate forgotten codebases, diagnose their current state, and chart a strategic path back to life. Developed as a submission for Week 4 of the Hacktoberfest Open-Source AI Challenge (Ghost in the Machine), RELIC bridges the gap between historical code analysis and modern artificial intelligence. By combining deterministic repository parsing with local AI inference powered by Google’s open-weight Gemma 3 (4B) model, RELIC acts as a forensic investigator for software.
Rather than merely scanning a repository for static lint errors or throwing generic prompts at a cloud-hosted chatbot, RELIC performs a deep excavation. It analyzes project architecture, dependency manifests, and Git history, grounding its findings in concrete empirical evidence. It then empowers developers to interrogate their own code via natural language, culminating in an actionable, four-phase revival roadmap. For a tech industry drowning in technical debt and abandoned side projects, RELIC offers a philosophical and practical shift: what if forgotten code doesn’t have to stay forgotten?
Detailed Chronology: The Genesis and Architecture of RELIC
The Problem of Lost Context
Most software engineers harbor a graveyard of digital artifacts on GitHub: half-baked hackathon entries, ambitious side projects started during a burst of late-night inspiration, and sunsetted tools abandoned when real-world deadlines took over. The files remain intact, the commit histories are preserved, and the raw logic is still sitting there on disk. But the most crucial element is gone: context.
When a developer returns to an abandoned codebase months or years later, they face a wall of uncertainty. Where did the architecture break off? What did that lingering TODO marker actually mean? Which dependencies are fundamentally broken? Building RELIC required developer Ankit to address this psychological and technical barrier head-on. The goal was to build a system that could systematically sift through the wreckage of an old repository and reconstruct its history and current health without requiring days of manual triage.
Ingestion and Forensic Extraction
The engineering journey of RELIC began with safety and structural integrity. Because the platform deals with untrusted, potentially volatile legacy codebases, the ingestion pipeline had to be bulletproof.
When a user uploads a repository as a ZIP archive, RELIC initiates a strict validation and extraction sequence. The platform incorporates safeguards against malicious or malformed archives, including path traversal protections (defending against "zip slip" vulnerabilities), strict file-size limitations, and resource-exhaustion defenses. Crucially, RELIC never executes uploaded source code, ensuring absolute security during the investigative phase.
Once safely extracted, the core analysis engine gets to work, systematically dissecting the repository across multiple dimensions:
- Language Distribution: Calculating the percentage makeup of programming languages to understand the project’s technical footprint.
- Project Structure: Mapping out directories, configuration files, and architectural patterns.
- Dependency Manifests: Parsing package managers to identify outdated or vulnerable libraries.
- Git History: Mining commit logs to trace the project’s timeline and identify active versus stalled development tracks.
- Technical Debt Markers: Hunting down embedded developer breadcrumbs such as
TODO,FIXME, andHACKcomments.
These discoveries are not dumped into an unreadable log file. Instead, they are structured into rigorous "evidence records" within the platform’s Evidence Explorer, cross-referenced with exact file paths and line numbers.
Local AI Interrogation via Gemma 3
One of the most defining architectural decisions behind RELIC is its hybrid nature: it couples deterministic code analysis with localized AI inference. Rather than sending raw, unvetted source code to a closed, third-party API, RELIC leverages Ollama to run Google’s Gemma 3 (4B) model locally on the developer’s machine.
This approach solves a dual problem: privacy and context grounding. Sending sensitive or proprietary source code to external cloud providers often violates corporate compliance policies. Running Gemma 3 locally keeps data entirely on-device.
Furthermore, RELIC avoids the hallucination traps common to generic LLMs. When a developer asks a natural-language question about the codebase—such as, "Why was the authentication module left unfinished?"—the AI does not guess. RELIC dynamically compiles the empirical findings from the repository analysis and injects them directly into the model’s context window. Gemma 3 uses this verifiable evidence to construct its answer, citing exact file references and line numbers to back up its claims.
The Revival Roadmap and Forensic Dossier
Discovery without action is merely archaeology; RELIC aims to be engineering-focused. Once the investigation is complete, the platform translates its findings into a structured, four-phase recovery plan known as the Revival Roadmap:
- Stabilize: Assessing the immediate health of the repository, addressing critical vulnerabilities, and ensuring the environment can run without crashing.
- Repair: Prioritizing identified code anomalies, unresolved bugs, and lingering
TODOmarkers. - Modernize: Planning upgrades for outdated dependencies, deprecated libraries, and aging architectural components.
- Revive: Setting up a clear blueprint for ongoing feature development and team onboarding.
To wrap up the investigation, RELIC features a built-in Markdown report generator. This tool compiles the repository metadata, forensic findings, evidence logs, and the four-phase roadmap into a comprehensive, exportable Forensic Dossier—giving teams a professional audit report ready for project management tools or team handoffs.
Supporting Context & Metrics: Under the Hood of the Tech Stack
RELIC’s architecture is built on a modern, high-performance web development stack designed for speed, type-safety, and seamless local execution.
Technology Stack Breakdown
- Frontend: Built using TanStack Start, React, TypeScript, and Vite. This ensures a snappy, reactive user interface capable of handling heavy evidence trees and real-time chat interactions without UI lag.
- Backend: Powered by Node.js and Express written in TypeScript, providing a robust, structured API layer to handle archive extraction, parsing logic, and state management.
- Database: SQLite is utilized for lightweight, zero-configuration local data persistence, storing investigation states and evidence indexes efficiently.
- AI Engine: Ollama running Google’s Gemma 3 (4B) open-weight model. This compact yet powerful model strikes an ideal balance between low inference latency and high contextual comprehension, making it perfectly suited for local code interrogation.
Open-Source Philosophy and Local-First Metrics
The decision to build RELIC as an open-source project under the MIT License highlights a broader industry shift toward open innovation. By relying entirely on open-weight models and transparent tooling, the developer retained total control over system prompts, guardrails, and context injection mechanics.
By bypassing proprietary APIs, RELIC eliminates recurring subscription costs and external rate limits, making digital code archeology accessible to indie developers, open-source maintainers, and enterprise engineering teams alike. The entire source code, along with setup guides, is publicly available on GitHub under the repository ankit9241/Relic.
Official Statements & Project Insights
Reflecting on the motivations behind the project, creator Ankit emphasizes that RELIC was born out of a universal developer experience:
"Software projects don’t always die. Sometimes, they are simply forgotten. Most developers have at least one repository they started with excitement and never returned to. Maybe it was a hackathon project, a side project, an ambitious idea, or something that got lost between deadlines. The code is still there. The files are still there. The unfinished work is still there. But the context is gone."
Addressing the core engineering philosophy of combining deterministic systems with probabilistic AI, the project documentation notes:
"The important engineering decision was to keep repository analysis deterministic and use AI as an investigation layer on top of actual findings. RELIC doesn’t just scan a repository and display a list of issues. It connects discoveries to evidence, lets developers investigate them, and turns the results into a practical recovery plan."
Regarding the choice of Google’s Gemma 3 model for the Hacktoberfest Open-Source AI Challenge, the development team highlighted the value of local-first capabilities:
"Open innovation isn’t just about using an open model. It’s about having the freedom to inspect, adapt, run, and build on the technology powering your product. For a tool that investigates potentially sensitive source code, having the option to run AI locally is particularly valuable."
Future Outlook: The Horizon of Code Archaeology
As artificial intelligence continues to reshape software engineering, tools like RELIC point toward a sophisticated new category of development utilities: AI-driven codebase rehabilitation.
Historically, AI coding assistants have focused on forward motion—writing new code, auto-completing functions, and generating boilerplate. RELIC flips the lens backward, recognizing that understanding past decisions is often harder than writing new code from scratch. By turning legacy repositories into queryable, evidence-backed knowledge bases, platforms like RELIC could dramatically reduce the friction of reviving open-source libraries, auditing legacy corporate codebases, and rescuing orphaned microservices.
Not every abandoned project deserves to be brought back from the dead. Many side projects are best left as memories in the digital attic. But for the codebases that hold hidden potential, brilliant algorithms, or valuable historical logic, tools like RELIC ensure that developers no longer have to guess what their past selves were trying to build.
RELIC is available now on GitHub. Bring your forgotten code back to life.
